[AArch64] Fix libc internal asm profiling code
[glibc.git] / ChangeLog
blob8e230e978007488f2bbd29df77d10a6b619071a3
1 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3         [BZ #18707]
4         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9         * sysdeps/unix/sysv/linux/sysdep.h
10         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11         guards.
12         * misc/tst-preadvwritev-common.c: New file.
13         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15         a check for files larger than 2GB.
17         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19         * sysdeps/unix/sysv/linux/pread.c
20         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
21         __OFF_T_MATCHES_OFF64_T.
22         * sysdeps/unix/sysv/linux/pread64.c
23         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
24         * sysdeps/unix/sysv/linux/preadv.c
25         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
26         * sysdeps/unix/sysv/linux/preadv64.c
27         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
28         * sysdeps/unix/sysv/linux/pwrite.c
29         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
30         * sysdeps/unix/sysv/linux/pwrite64.c
31         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
32         * sysdeps/unix/sysv/linux/pwritev.c
33         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
34         * sysdeps/unix/sysv/linux/pwritev64.c
35         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
37 2016-07-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
39         * Makeconfig (build-hardcoded-path-in-tests): Set to 'yes'
40         for shared builds if tests-need-hardcoded-path is defined.
41         (all-subdirs): Add pretty-printers.
42         * Makerules ($(py-const)): New rule.
43         * Rules (others): Add $(py-const), if defined.
44         * nptl/Makefile (gen-py-const-headers): Define.
45         * nptl/nptl-printers.py: New file.
46         * nptl/nptl_lock_constants.pysym: Likewise.
47         * pretty-printers/Makefile: Likewise.
48         * pretty-printers/README: Likewise.
49         * pretty-printers/test-condvar-attributes.c: Likewise.
50         * pretty-printers/test-condvar-attributes.p: Likewise.
51         * pretty-printers/test-condvar-printer.c: Likewise.
52         * pretty-printers/test-condvar-printer.py: Likewise.
53         * pretty-printers/test-mutex-attributes.c: Likewise.
54         * pretty-printers/test-mutex-attributes.py: Likewise.
55         * pretty-printers/test-mutex-printer.c: Likewise.
56         * pretty-printers/test-mutex-printer.py: Likewise.
57         * pretty-printers/test-rwlock-attributes.c: Likewise.
58         * pretty-printers/test-rwlock-attributes.py: Likewise.
59         * pretty-printers/test-rwlock-printer.c: Likewise.
60         * pretty-printers/test-rwlock-printer.py: Likewise.
61         * pretty-printers/test_common.py: Likewise.
62         * scripts/gen-py-const.awk: Likewise.
64 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
66         * sysdeps/unix/sysv/linux/tile/kernel-features.h
67         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
69 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
71         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
73 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
75         [BZ #20240]
76         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
77         (CFLAGS-s_modf-ppc32.c): New variable.
78         (CFLAGS-s_modff-ppc32.c): Likewise.
79         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
80         (CFLAGS-s_modf-ppc64.c): Likewise.
81         (CFLAGS-s_modff-ppc64.c): Likewise.
83 2016-07-07  Andreas Schwab  <schwab@suse.de>
85         [BZ #20263]
86         * nptl/tst-robust10.c: New test.
87         * nptl/Makefile (tests): Add tst-robust10.
89 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
91         [BZ #20263]
92         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
94 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
96         * sysdeps/s390/linkmap.h (struct link_map_machine):
97         Remove member gotplt and add member jmprel.
98         * sysdeps/s390/s390-32/dl-machine.h
99         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
100         instead of gotplt with &got[3].
101         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
102         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
104 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
106         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
108 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
110         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
111         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
112         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
113         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
114         * libio/vtables.c (_IO_vtable_check)
115         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
116         * libio/libioP.h (IO_set_accept_foreign_vtables)
117         [!PTR_MANGLE]: Do not call PTR_MANGLE.
119 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
121         [BZ #20314]
122         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
123         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
124         $(common-objpfx)cmath.
125         ($(common-objpfx)cstdlib): New target.
126         ($(common-objpfx)cmath): Likewise.
128 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
130         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
132 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
134         [BZ #20327]
135         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
136         are not part of the string.
138 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
140         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
141         * nptl/tst-cancel4-common.h (fifoname): New variable.
142         (fifofd): Likewise.
143         (cl_fifo): New function.
144         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
145         SIGINT.
146         (tf_open): Add early cancel test.
148 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
150         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
152 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
154         * sysdeps/generic/ldsodefs.h
155         (dl_symbol_visibility_binds_local_p): New inline function.
156         * elf/dl-addr.c (determine_info): Treat hidden and internal
157         symbols as local.
158         * elf/dl-lookup.c (do_lookup_x): Likewise.
159         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
161 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
163         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
164         invalid exception for a sNaN input.
165         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
166         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
167         (__nearbyint_vis3): Likewise
168         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
169         (__nearbyintf_vis3): Likewise
170         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
171         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
172         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
173         Likewise.
174         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
175         Likewise.
177 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
179         [BZ #20139]
180         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
181         (HAVE_AVX512DQ_ASM_SUPPORT): This.
182         * sysdeps/x86_64/configure.ac: Require assembler from binutils
183         2.24 or above.
184         (HAVE_AVX512_ASM_SUPPORT): Removed.
185         (HAVE_AVX512DQ_ASM_SUPPORT): New.
186         * sysdeps/x86_64/configure: Regenerated.
187         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
188         check unconditional.
189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
190         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
191         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
192         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
193         Likewise.
194         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
195         Likewise.
196         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
197         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
198         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
199         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
200         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
201         Likewise.
202         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
203         Likewise.
204         * sysdeps/x86_64/multiarch/memset.S: Likewise.
205         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
207         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
208         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
209         Likewise.
210         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
211         Likewise.
212         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
213         Likewise.
214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
215         Likewise.
216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
217         Likewise.
218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
219         Likewise.
220         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
221         Likewise.
222         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
223         Likewise.
224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
225         Likewise.
226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
227         Likewise.
228         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
229         Likewise.
231 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
233         [BZ #20024]
234         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
236         of this implementation of vector function.
237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
238         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
239         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
240         Likewise.
241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
243         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
244         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
245         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
246         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
247         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
248         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
249         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
250         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
251         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
252         for testing vector sincos with fixed ABI.
253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
254         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
255         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
256         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
257         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
259         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
260         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
261         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
262         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
263         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
264         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
265         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
266         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
267         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
268         * sysdeps/x86_64/fpu/Makefile: Added new tests.
270 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
272         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
274 2016-06-30  Anton Blanchard  <anton@samba.org>
276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
277         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
278         s_sinf-ppc64.
279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
282         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
284 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
288         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
289         e_expf-ppc64.
290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
292         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
293         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
295 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
297         [BZ #20277]
298         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
299         when SHARED is defined.
301 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
303         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
304         (index_arch_Prefer_ERMS): Likewise.
305         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
306         __memcpy_erms for Prefer_ERMS.
307         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
308         (__memmove_erms): Enabled for libc.a.
309         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
310         __memmove_erms or Prefer_ERMS.
311         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
312         __mempcpy_erms for Prefer_ERMS.
313         * sysdeps/x86_64/multiarch/memset.S (memset): Return
314         __memset_erms for Prefer_ERMS.
316 2016-06-30  Andreas Schwab  <schwab@suse.de>
318         [BZ #20262]
319         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
320         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
321         of memory.
323 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
325         [BZ #18645]
326         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
327         (test-extras): Add tst-cleanupx4aux.
328         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
329         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
330         tst-cleanupx4aux.o.
331         * nptl/tst-cleanupx4aux.c: New file.
333 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
335         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
337 2016-06-29  Andreas Schwab  <schwab@suse.de>
339         [BZ #20260]
340         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
341         address before the beginning of the string as an integer to avoid
342         array-bounds warning.
344 2016-06-28  Richard Henderson  <rth@redhat.com>
346         * elf/elf.h (EM_BPF): New.
347         (EM_NUM): Update.
348         (R_BPF_NONE, R_BPF_MAP_FD): New.
350         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
351         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
352         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
353         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
354         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
355         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
356         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
357         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
358         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
359         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
360         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
361         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
362         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
363         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
364         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
365         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
366         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
367         (EM_NUM): Update.
369 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
371         [BZ #18960]
372         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
373         Set _nl_current_LC_CATEGORY_used to two instead of one.
375 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
377         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
378         (do_test): ... this.
379         (TEST_FUNCTION): New macro.
380          Include test-skeleton.c.
381         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
382         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
384 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
386         [BZ #15479]
387         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
388         floating-point environment rather than just control word.
389         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
390         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
391         floating-point environment, with "invalid" exceptions merged in,
392         rather than just control word.
393         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
394         * math/libm-test.inc (trunc_test_data): Do not allow spurious
395         "inexact" exceptions.
397         [BZ #15479]
398         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
399         floating-point environment rather than just control word.
400         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
401         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
402         floating-point environment, with "invalid" exceptions merged in,
403         rather than just control word.
404         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
405         * math/libm-test.inc (floor_test_data): Do not allow spurious
406         "inexact" exceptions.
408         [BZ #15479]
409         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
410         floating-point environment rather than just control word.
411         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
412         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
413         floating-point environment, with "invalid" exceptions merged in,
414         rather than just control word.
415         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
416         * math/libm-test.inc (ceil_test_data): Do not allow spurious
417         "inexact" exceptions.
419 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
421         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
422         __libc_vfork.
423         (__vfork) [IS_IN (libc)]: Remove alias.
424         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
425         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
426         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
428 2016-06-24  Torvald Riegel  <triegel@redhat.com>
430         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
431         of atomic_compare_and_exchange_bool_rel.
432         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
433         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
434         catomic_compare_and_exchange_bool_rel): Remove.
435         * sysdeps/aarch64/atomic-machine.h
436         (atomic_compare_and_exchange_bool_rel): Likewise.
437         * sysdeps/alpha/atomic-machine.h
438         (atomic_compare_and_exchange_bool_rel): Likewise.
439         * sysdeps/arm/atomic-machine.h
440         (atomic_compare_and_exchange_bool_rel): Likewise.
441         * sysdeps/mips/atomic-machine.h
442         (atomic_compare_and_exchange_bool_rel): Likewise.
443         * sysdeps/microblaze/atomic-machine.h
444         ( __arch_compare_and_exchange_bool_8_rel,
445         __arch_compare_and_exchange_bool_16_rel): Likewise.
446         * sysdeps/powerpc/atomic-machine.h
447         ( __arch_compare_and_exchange_bool_8_rel,
448         __arch_compare_and_exchange_bool_16_rel): Likewise.
449         * sysdeps/powerpc/powerpc32/atomic-machine.h
450         ( __arch_compare_and_exchange_bool_32_rel,
451         __arch_compare_and_exchange_bool_64_rel): Likewise.
452         * sysdeps/powerpc/powerpc64/atomic-machine.h
453         ( __arch_compare_and_exchange_bool_32_rel,
454         __arch_compare_and_exchange_bool_64_rel): Likewise.
455         * sysdeps/tile/atomic-machine.h
456         (atomic_compare_and_exchange_bool_rel): Likewise.
458 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
460         [BZ #20296]
461         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
462         when either argument is a NaN.
463         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
464         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
466         * math/libm-test.inc (snan_value_ld): New macro.
467         (isgreater_test_data): Add sNaN tests.
468         (isgreaterequal_test_data): Likewise.
469         (isless_test_data): Likewise.
470         (islessequal_test_data): Likewise.
471         (islessgreater_test_data): Likewise.
472         (isunordered_test_data): Likewise.
473         (nextafter_test_data): Likewise.
474         (nexttoward_test_data): Likewise.
475         (remainder_test_data): Likewise.
476         (remquo_test_data): Likewise.
477         (significand_test_data): Likewise.
478         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
480 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
482         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
483         environment macros are defined.
484         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
486 2016-06-23  Florian Weimer  <fweimer@redhat.com>
488         [BZ #20191]
489         Implement vtable verification in libio.
490         * Makerules (shlib.lds): Place __libc_IO_vtables section.
491         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
492         * debug/vdprintf_chk.c (__vdprintf_chk): Call
493         _IO_new_file_init_internal instead of _IO_file_init.
494         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
495         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
496         * libio/Makefile (routines): Add vtables.
497         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
498         (_IO_init): Remove, not for internal use.
499         (_IO_init_internal): Declare, internal replacement for _IO_init.
500         (_IO_file_init): Remove, not for internal use.
501         (_IO_new_file_init): Remove, not for internal use.
502         (_IO_new_file_init_internal): Declare, internal replacement for
503         _IO_new_file_init.
504         (_IO_old_file_init): Remove, not for internal use.
505         (_IO_old_file_init_internal): Declare, internal replacement for
506         _IO_old_file_init.
507         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
508         internal use.
509         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
510         Declare.
511         (libio_vtable): New macro.
512         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
513         functions.
514         * libio/fileops.c (_IO_new_file_init_internal): Rename from
515         _IO_new_file_init.
516         (_IO_new_file_init): New externally visible wrapper which disables
517         vtable verification.
518         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
519         Define as vtables.
520         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
521         (_IO_init): New externally visible wrapper which disables
522         vtable verification.
523         * libio/iofdopen.c (_IO_new_fdopen): Call
524         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
525         comment.
526         * libio/iofopen.c (__fopen_internal): Call
527         _IO_new_file_init_internal instead of _IO_file_init.
528         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
529         Define as vtables.
530         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
531         _IO_new_file_init_internal instead of _IO_file_init.
532         * libio/iopopen.c (_IO_new_popen): Likewise.
533         (_IO_proc_jumps): Define as vtable.
534         * libio/iovdprintf.c (_IO_vdprintf): Call
535         _IO_new_file_init_internal instead of _IO_file_init.
536         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
537         (__open_memstream): Call _IO_init_internal instead of _IO_init.
538         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
539         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
540         _IO_old_file_init.
541         (_IO_old_file_init): New externally visible wrapper which disables
542         vtable verification.
543         (_IO_old_file_jumps): Define as vtable.
544         * libio/oldiofdopen.c (_IO_old_fdopen): Call
545         _IO_old_file_init_internal instead of _IO_old_file_init.
546         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
547         * libio/oldiopopen.c (_IO_old_popen): Likewise.
548         (_IO_old_proc_jumps): Define as vtable.
549         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
550         Define as vtables.
551         * libio/vtables.c: New file.
552         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
553         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
554         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
555         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
556         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
557         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
558         instead of _IO_init.
560 2016-06-23  Florian Weimer  <fweimer@redhat.com>
562         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
564 2016-06-23  Florian Weimer  <fweimer@redhat.com>
566         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
567         potentially unused.
569 2016-06-22  Florian Weimer  <fweimer@redhat.com>
571         * test-skeleton.c (write_message): New function.
572         * malloc/tst-mallocfork2.c (write_message): Remove.
573         * debug/tst-longjmp_chk2.c (write_indented): New function.
574         (write_message): Remove.
575         (stackoverflow_handler): Call write_indented.
577 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
579         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
580         "inexact" exceptions after fnstenv.
581         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
582         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
583         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
585 2015-06-22  Zack Weinberg  <zackw@panix.com>
587         * sysdeps/generic/bits/hwcap.h: Moved to ...
588         * bits/hwcap.h: Here.
590 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
592         * sysdeps/aarch64/memcpy.S (memcpy):
593         Further tuning for performance.
595 2016-06-21  Florian Weimer  <fweimer@redhat.com>
597         [BZ #20284]
598         * malloc/arena.c (reused_arena): Do not return NULL if we start
599         out with a non-corrupted arena.
601 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
603         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
604         * misc/tst-preadvwritev.c: New file.
605         * misc/tst-preadvwritev64.c: Likewise.
606         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
607         usage.
608         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
609         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
610         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
611         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
613 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
615         [BZ #19654]
616         * sysdeps/x86_64/fpu/Makefile: Added new tests.
617         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
618         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
619         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
620         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
621         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
622         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
623         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
624         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
625         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
626         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
627         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
628         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
629         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
630         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
631         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
632         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
633         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
634         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
635         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
636         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
637         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
638         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
639         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
640         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
641         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
643 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
645         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
646         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
648 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
650         * sysdeps/aarch64/memcpy.S (memcpy):
651         Rewrite of optimized memcpy and memmove.
652         * sysdeps/aarch64/memmove.S (memmove): Remove
653         memmove code (merged into memcpy.S).
655 2016-06-20  Florian Weimer  <fweimer@redhat.com>
657         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
658         * sysdeps/generic/dl-dtv.h: New file.
659         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
660         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
661         (dtv_t): Remove.
662         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
663         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
664         (dtv_t): Remove.
665         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
666         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
667         (dtv_t): Remove.
668         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
669         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
670         (dtv_t): Remove.
671         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
672         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
673         (dtv_t): Remove.
674         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
675         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
676         (dtv_t): Remove.
677         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
678         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
679         (dtv_t): Remove.
680         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
681         (dtv_t): Remove.
682         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
683         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
684         (dtv_t): Remove.
685         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
686         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
687         (dtv_t): Remove.
688         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
689         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
690         (dtv_t): Remove.
691         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
692         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
693         (dtv_t): Remove.
694         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
695         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
696         (dtv_t): Remove.
697         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
698         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
699         (dtv_t): Remove.
700         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
701         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
702         (dtv_t): Remove.
703         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
704         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
705         (dtv_t): Remove.
707 2016-06-20  Florian Weimer  <fweimer@redhat.com>
709         Revert symbol poisoning of  __malloc_initialize_hook.
710         * include/stdc-predef.h (__malloc_initialize_hook): Remove
711         poisoning.
712         * malloc/Makefile: Remove un-poisoning.
713         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
714         instead of old__malloc_initialize_hook.
715         * malloc/malloc-hooks.h: Likewise.
716         * malloc/malloc.c: Likewise.
717         * malloc/mcheck-init.c: Likewise.
719 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
721         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
723 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
725         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
726         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
727         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
728         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
730 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
732         * NEWS: Mention addition of nextup and nextdown.
733         * manual/arith.texi: Document nextup and nextdown.
734         * manual/libm-err-tab.pl: Add nextup and nextdown.
735         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
736         * math/Versions (libm): Add GLIBC_2.24.
737         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
738         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
739         Add new test.
740         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
741         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
742         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
743         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
744         (nextup_test_data): Likewise.
745         (nextdown_test_data): Likewise.
746         * math/s_nextdown.c: New file.
747         * math/s_nextdownf.c: Likewise.
748         * math/s_nextdownl.c: Likewise.
749         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
750         F(nextup): New function.
751         F(nextdown): Likewise.
752         * math/tgmath.h: Add nextup and nextdown.
753         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
754         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
755         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
756         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
757         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
758         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
759         Add nextup and nextdown.
760         (CFLAGS-nldbl-nextup.c): New variable.
761         (CFLAGS-nldbl-nextdown.c): Likewise.
762         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
763         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
764         * sysdeps/nacl/libm.abilist: Update.
765         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
766         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
779         Likewise.
780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
782         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
783         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
790         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
794 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
796         * manual/pattern.texi: Fix typos & grammar errors.
798 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
800         * manual/search.texi: Fix typos & grammar errors.
802 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
804         * manual/message.texi: Fix typos & grammar errors.
806 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
808         * manual/contrib.texi: Fix spelling typos.
809         * manual/crypt.texi: Likewise.
810         * manual/filesys.texi: Likewise.
811         * manual/locale.texi: Likewise.
812         * manual/message.texi: Likewise.
813         * manual/nss.texi: Likewise.
814         * manual/string.texi: Likewise.
816 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
818         * manual/locale.texi: Fix typos & grammar errors.
820 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
822         * manual/charset.texi: Fix typos & grammar errors.
824 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
826         * manual/string.texi: Fix typos.
828 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
830         * manual/ctype.texi: Fix typos.
832 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
834         * manual/memory.texi: Fix various typos & grammar errors.
836 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
838         [BZ #20255]
839         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
840         * math/libm-test.inc (fdim_test_data): Add another test.
842         [BZ #6796]
843         [BZ #20255]
844         [BZ #20256]
845         * math/s_fdim.c: Include <math_private.h>.
846         (__fdim): Use math_narrow_eval on result.
847         * math/s_fdimf.c: Include <math_private.h>.
848         (__fdimf): Use math_narrow_eval on result.
849         * sysdeps/i386/fpu/s_fdim.S: Remove file.
850         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
851         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
852         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
853         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
854         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
855         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
856         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
857         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
858         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
859         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
860         * math/libm-test.inc (fdim_test_data): Expect errno setting on
861         overflow.  Add sNaN tests.
863         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
864         fpclassify.
865         * math/s_fdimf.c (__fdimf): Likewise.
866         * math/s_fdiml.c (__fdiml): Likewise.
868 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
870         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
871         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
873         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
874         ifunc'ed strcasecmp/strncasecmp.
875         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
876         [EALIGN]: Removed.
877         [END]: Likewise.
878         [__strcasecmp]: Define instead of the above to control symbol name.
879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
880         for __strcasecmp_power8.
881         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
882         for __strncasecmp_power8.
883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
885         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
886         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
887         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
888         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
890 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
892         [BZ #20252]
893         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
894         arguments when second argument is a NaN.
895         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
896         qNaN tests.
898         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
899         (conj_test_data): Likewise.
900         (copysign_test_data): Likewise.
901         (creal_test_data): Likewise.
902         (fma_test_data): Likewise.
903         (fmod_test_data): Likewise.
905         [BZ #20250]
906         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
907         itself.
908         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
909         zero input to itself.
910         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
911         Likewise.
912         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
913         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
914         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
915         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
916         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
918 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
920         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
921         * nptl/tst-cancel4-common.c: New file.
922         * nptl/tst-cancel4-common.h: Likewise.
923         * nptl/tst-cancel4.c: Move common definitions to
924         tst-cancel4-common.{c,h} file.
925         * nptl/tst-cancel4_1.c: New test.
926         * nptl/tst-cancel4_2.c: New test.
928 2016-06-13  Florian Weimer  <fweimer@redhat.com>
930         [BZ #20248]
931         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
932         (write_message): New function.
933         (stackoverflow_handler): Call it instead of printf, to avoid
934         excessive stack usage by printf.
935         (do_test): Restore SIGSEGV, SIGBUS default handlers.
937 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
939         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
940         (prio_inherit_missing): Remove define.
941         * sysdeps/unix/sysv/linux/arm/kernel-features.h
942         (__ASSUME_FUTEX_LOCK_PI): Likewise.
943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
944         Likewise.
945         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
946         (__ASSUME_FUTEX_LOCK_PI): Likewise.
947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
948         (__ASSUME_FUTEX_LOCK_PI): Likewise.
949         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
950         (__ASSUME_FUTEX_LOCK_PI): Likewise.
952 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
954         [BZ #19670]
955         [BZ #19672]
957         * io/test-lfs.c (do_prepare): Use xmalloc.
958         * io/tst-fcntl.c (do_prepare): Likewise.
959         * libio/tst-fopenloc.c (do_bz17916): Likewise.
960         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
961         * login/tst-utmp.c (do_prepare): Likewise.
962         * posix/tst-exec.c (do_prepare): Likewise.
963         * posix/tst-pathconf.c (prepare): Likewise.
964         * posix/tst-spawn.c (do_prepare): Likewise.
965         * posix/tst-truncate.c (do_prepare): Likewise.
966         * rt/tst-aio.c (do_prepare): Likewise.
967         * rt/tst-aio64.c (do_prepare): Likewise.
969 2016-06-11  Florian Weimer  <fweimer@redhat.com>
971         [BZ #20237]
972         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
973         (get*ent): Set entidx to NULL during initialization.  If entidx is
974         NULL, start iteration from the beginning.
976 2016-06-11  Florian Weimer  <fweimer@redhat.com>
978         * malloc/malloc.c (musable): Return correct size for dumped fake
979         mmapped chunk.
981 2016-06-11  Florian Weimer  <fweimer@redhat.com>
983         [BZ #20222]
984         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
985         (_IO_cookie_write): Likewise.
986         (_IO_cookie_seek): Likewise.
987         (_IO_cookie_close): Likewise.
988         (_IO_old_cookie_seek): Likewise.
989         (set_callbacks): New function.
990         (_IO_cookie_init): Call set_callbacks to copy callbacks.
992 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
994         * locale/programs/localedef.c (oldstyle_tables): Remove.
995         * locale/programs/localedef.h (oldstyle_tables): Likewise.
997 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
999         [BZ #20240]
1000         * math/Makefile (CFLAGS-s_modf.c): New variable.
1001         (CFLAGS-s_modff.c): Likewise.
1002         (CFLAGS-s_modfl.c): Likewise.
1003         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1005 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1007         [BZ #20215]
1008         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1009         [!__GNUC_PREREQ (3,2)]: Likewise.
1011 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1013         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1014         (msghdr.msg_controllen): Likewise.
1015         (cmsghdr.cmsg_len): Likewise.
1016         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1017         ptw-oldsendmsg.
1018         (CFLAGS-oldrecvmsg.c): Remove rule.
1019         (CFLAGS-oldsendmsg.c): Likewise.
1020         (CFLAGS-recvmsg.c): Add rule.
1021         (CFLAGS-sendmsg.c): Likewise.
1022         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1023         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1024         (CFLAGS-recvmsg.c): Remove rule.
1025         (CFLAGS-sendmsg.c): Likewise.
1026         (CFLAGS-oldrecvmsg.c): Likewise.
1027         (CFLAGS-oldsendmsg.c): Likewise.
1028         (CFLAGS-recvmmsg.c): Likewise.
1029         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1030         to kernel defined interfaces.
1031         (msghdr.msg_controllen): Likewise.
1032         (cmsghdr.cmsg_len): Likewise.
1033         (msghdr.__glibc_reserved1): Remove member.
1034         (msghdr.__glibc_reserved2): Likewise.
1035         (cmsghdr.__glibc_reserved1): Likewise.
1036         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1037         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1038         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1039         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1040         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1041         version.
1042         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1043         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1044         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1045         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1046         Remove recvmsg and sendmsg.
1047         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1048         Likewise.
1049         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1050         Likewise.
1051         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1052         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1053         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1054         Likewise.
1055         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1056         Likewise.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1058         [libc] (GLIBC_2.24): Likewise.
1059         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1064         [libc] (GLIBC_2.24): Likewise.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1070         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1071         Likewise.
1072         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1079         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1080         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1081         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1082         version for {recv,send,recm,sendm}msg.
1083         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1084         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1085         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1088         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1090         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1093         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1094         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1096         Likewise.
1097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1098         Likewise.
1099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1101         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1104         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1105         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1113 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1115         [BZ #19564]
1116         Remove __malloc_initialize_hook from the API.
1117         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1118         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1119         #pragma GCC poison.
1120         * malloc/malloc-hooks.h: New file.
1121         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1122         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1123         (old__malloc_initialize_hook): Rename from
1124         __malloc_initialize_hook to evade poisoning.  Turn into compat
1125         symbol.
1126         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1127         __malloc_initialize_hook.
1128         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1129         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1130         * manual/memory.texi (Hooks for Malloc): Remove
1131         __malloc_initialize_hook.  Adjust hook example.
1133 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1135         [BZ #20235]
1136         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1137         itself.
1138         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1139         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1141         [BZ #20234]
1142         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1143         infinity or NaN input to itself.
1145         [BZ #20233]
1146         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1147         to itself.
1149         [BZ #20232]
1150         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1151         itself.
1153 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1155         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1156         __libc_start_main via GOT.
1158 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1160         * sysdeps/x86_64/memcopy.h: New file.
1161         * sysdeps/x86_64/wordcopy.c: Likewise.
1163 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1165         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1166         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1167         <cstdlib>.
1168         (optimization_barrier): New.
1169         (do_test): Use it.  Call quick_exit in the global namespace.
1170         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1171         instead of <cstdlib>, <thread>.
1172         (optimization_barrier): New.
1173         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1174         Call quick_exit in the global namespace.
1175         (do_test): Call optimization_barrier.  Use pthread_create,
1176         pthread_join instead of std::thread.
1178 2016-06-09  Andreas Schwab  <schwab@suse.de>
1180         [BZ #19755]
1181         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1182         new entries in auto-propagate mode.
1183         * nscd/grpcache.c (cache_addgr): Likewise.
1185 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1187         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1188         New functions.
1189         (add_temp_file): Use them.
1191 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1193         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1195 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1197         [BZ #20229]
1198         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1199         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1200         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1202         [BZ #20228]
1203         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1204         itself.
1205         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1206         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1208         [BZ #20227]
1209         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1210         itself.
1211         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1212         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1213         * math/libm-test.inc (log_test_data): Add sNaN tests.
1215         [BZ #20226]
1216         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1217         itself.
1218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1219         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1220         (exp10_test_data): Likewise.
1221         (expm1_test_data): Likewise.
1223         [BZ #20225]
1224         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1225         itself.
1226         * math/s_ldexpf.c (__ldexpf): Likewise.
1227         * math/s_ldexpl.c (__ldexpl): Likewise.
1228         * math/w_scalbln.c (__w_scalbln): Likewise.
1229         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1230         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1231         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1232         (scalbln_test_data): Likewise.
1234         [BZ #20224]
1235         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1236         argument to itself.
1237         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1239 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1241         [BZ #19776]
1242         * sysdeps/x86_64/memcpy.S: Make it dummy.
1243         * sysdeps/x86_64/mempcpy.S: Likewise.
1244         * sysdeps/x86_64/memmove.S: New file.
1245         * sysdeps/x86_64/memmove_chk.S: Likewise.
1246         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1247         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1248         * sysdeps/x86_64/memmove.c: Removed.
1249         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1250         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1251         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1252         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1253         Likewise.
1254         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1255         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1257         memcpy-sse2-unaligned, memmove-avx-unaligned,
1258         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1260         (__libc_ifunc_impl_list): Replace
1261         __memmove_chk_avx512_unaligned_2 with
1262         __memmove_chk_avx512_unaligned.  Remove
1263         __memmove_chk_avx_unaligned_2.  Replace
1264         __memmove_chk_sse2_unaligned_2 with
1265         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1266         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1267         with __memmove_avx512_unaligned.  Replace
1268         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1269         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1270         with __memcpy_chk_avx512_unaligned.  Remove
1271         __memcpy_chk_avx_unaligned_2.  Replace
1272         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1273         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1274         Replace __memcpy_avx512_unaligned_2 with
1275         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1276         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1277         with __mempcpy_chk_avx512_unaligned.  Remove
1278         __mempcpy_chk_avx_unaligned_2.  Replace
1279         __mempcpy_chk_sse2_unaligned_2 with
1280         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1281         Replace __mempcpy_avx512_unaligned_2 with
1282         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1283         Replace __mempcpy_sse2_unaligned_2 with
1284         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1285         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1286         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1287         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1288         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1289         (ENTRY): Removed.
1290         (END): Likewise.
1291         (ENTRY_CHK): Likewise.
1292         (libc_hidden_builtin_def): Likewise.
1293         Don't include ../memcpy.S.
1294         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1295         __memcpy_chk_avx512_unaligned_erms and
1296         __memcpy_chk_avx512_unaligned.  Use
1297         __memcpy_chk_avx_unaligned_erms and
1298         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1299         Default to __memcpy_chk_sse2_unaligned.
1300         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1301         Change function suffix from unaligned_2 to unaligned.
1302         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1303         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1304         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1305         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1306         (ENTRY): Removed.
1307         (END): Likewise.
1308         (ENTRY_CHK): Likewise.
1309         (libc_hidden_builtin_def): Likewise.
1310         Don't include ../mempcpy.S.
1311         (mempcpy): New.  Add a weak alias.
1312         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1313         __mempcpy_chk_avx512_unaligned_erms and
1314         __mempcpy_chk_avx512_unaligned.  Use
1315         __mempcpy_chk_avx_unaligned_erms and
1316         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1317         Default to __mempcpy_chk_sse2_unaligned.
1319 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1321         [BZ #19881]
1322         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1323         into ...
1324         * sysdeps/x86_64/memset.S: This.
1325         (__bzero): Removed.
1326         (__memset_tail): Likewise.
1327         (__memset_chk): Likewise.
1328         (memset): Likewise.
1329         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1330         defined.
1331         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1332         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1333         (__memset_zero_constant_len_parameter): Check SHARED instead of
1334         PIC.
1335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1336         memset-avx2 and memset-sse2-unaligned-erms.
1337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1338         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1339         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1340         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1341         (__bzero): Enabled.
1342         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1343         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1344         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1345         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1346         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1347         (memset): Removed.
1348         (__memset_chk): Likewise.
1349         (MEMSET_SYMBOL): New.
1350         (libc_hidden_builtin_def): Replace __memset_sse2 with
1351         __memset_sse2_unaligned.
1352         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1353         __memset_chk_sse2 and __memset_chk_avx2 with
1354         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1355         Use __memset_chk_sse2_unaligned_erms or
1356         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1357         __memset_chk_avx512_unaligned_erms and
1358         __memset_chk_avx512_unaligned.
1360 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1362         * math/gen-auto-libm-test.c (fp_format_desc): remove
1363         suffix member.
1364         (output_generic_value): Remove usage of suffix member,
1365         and the resulting unuse of the fp_format argument.
1366         (output_for_one_input_case): Remove unused fp_format
1367         parameter.
1369         * math/auto-libm-test-out: Regenerate.
1371         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1372         usage with TEST_COND_ibm128.
1373         (TEST_COND_flt_32): Remove.
1374         (TEST_COND_dbl_64): Remove.
1375         (TEST_COND_ldbl_96_intel): Remove.
1376         (TEST_COND_ldbl_96_m68k): Remove.
1377         (TEST_COND_ldbl_128): Remove.
1379 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1381         * auto-libm-test-in:
1382         Replace flt-32 usage with binary32.
1383         Replace dbl-64 usage with binary64.
1384         Replace ldbl-intel-96 usage with intel96.
1385         Replace ldbl-m68k-96 usage with m68k96.
1386         Replace ldbl-128ibm usage with ibm128.
1387         Replace ldbl-128 usage with binary128.
1389         * auto-libm-test-out: Regenerate.
1391 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1393         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1394         (parse_ulps): Dynamically generate type name matching
1395         string from all_floats.
1396         (get_ulps): Generate the ulps as an array instead.
1397         (output_ulps): Dynamically compose the type based
1398         on the number of supported formats, and print
1399         the indices as type specific helper macros.
1401         * math/libm-test.inc: Remove comment about CHOOSE.
1402         (ulp_data): Generate the type in libm-test-ulps.h.
1403         (ULP_IDX): New macro.
1404         (find_ulps): Update usage of max_ulp.
1406         * math/test-double-vlen2.h (CHOOSE): Remove.
1407         * math/test-double-vlen4.h (CHOOSE): Likewise.
1408         * math/test-double-vlen8.h (CHOOSE): Likewise.
1409         * math/test-float.c (CHOOSE): Likewise.
1410         * math/test-float-finite.c (CHOOSE): Likewise.
1411         * math/test-double.c (CHOOSE): Likewise.
1412         * math/test-double-finite.c (CHOOSE): Likewise.
1413         * math/test-idouble.c (CHOOSE): Likewise.
1414         * math/test-ifloat.c (CHOOSE): Likewise.
1415         * math/test-ildoubl.c (CHOOSE): Likewise.
1416         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1417         * math/test-ldouble.c (CHOOSE): Likewise.
1419         * math/test-float.h (TEST_FLOAT): Remove.
1420         * math/test-double.h (TEST_DOUBLE): Likewise.
1421         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1423 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1425         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1426         (parse_args): Strip C suffix from floating point literals
1427         typed with 'f' and wrap them with LIT().
1429         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1430         (test_ff_f_data_nexttoward): Rename to
1431         (test_fj_f_data): New struct.
1432         (nexttoward_test_data): Relabel tests as
1433         TEST_fj_f instead of TEST_ff_f.
1435 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1437         Emacs bug 23726.
1438         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1439         (__libc_realloc): Correct size computation for dumped fake mmapped
1440         chunks.
1442 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1444         [BZ #20219]
1445         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1446         to itself.
1447         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1449         [BZ #20218]
1450         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1451         to itself.
1452         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1454 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1456         [BZ #20195]
1457         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1458         check to ...
1459         (init_cpu_features): Here.
1461 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1463         [BZ #20214]
1464         * sysdeps/unix/sysv/linux/bits/in.h
1465         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1466          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1467         Define to 1.
1468         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1469          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1470         Define to 0.
1471         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1472         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1474 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1476         [BZ #20198]
1477         * stdlib/Makefile (tests): Add tst-quick_exit, and
1478         tst-thread-quick_exit.
1479         [ifeq ($(have-cxx-thread_local),yes)]
1480         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1481         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1482         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1483         (LDLIBS-tst-thread-quick_exit): Likewise.
1484         [ifneq ($(have-cxx-thread_local),yes)]
1485         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1486         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1487         If run_dtors is true call __call_tls_dtors.
1488         (exit): Call __run_exit_handlers with run_dtors set to true.
1489         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1490         definition.
1491         * stdlib/quick_exit.c (quick_exit): Remove function.
1492         (__new_quick_exit): New function.
1493         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1494         function.
1495         * stdlib/tst-quick_exit.cc: New file.
1496         * stdlib/tst-thread-quick_exit.cc: New file.
1497         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1498         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1499         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1500         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1501         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1502         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1503         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1504         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1505         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1506         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1507         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1509         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1510         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1511         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1512         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1517         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1518         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1519         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1520         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1521         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1524         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1525         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1526         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1528 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1530         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1531         a typo in comments.
1533 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1535         [BZ #20213]
1536         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1537         argument to itself.
1538         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1540 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1542         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1543         required flags.
1544         (CFLAGS-pwritev64.c): Likewise.
1545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1547         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1548         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1549         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1550         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1551         syscall from auto-generation.
1552         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1553         [WORDSIZE == 64] (pwritev64): Remove macro.
1554         [!PWRITEV] (PWRITEV): Likewise.
1555         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1556         [!PWRITEV] (PWRITE): Likewise.
1557         [!PWRITEV] (OFF_T): Likewise.
1558         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1559         (LO_HI_LONG): Remove macro.
1560         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1561         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1562         (PWRITEV): Remove macro.
1563         (PWRITEV_REPLACEMENTE): Likewise.
1564         (PWRITE): Likewise.
1565         (OFF_T): Likewise.
1566         (pwritev64): New function.
1567         * nptl/tst-cancel4.c (tf_writev): Add test.
1569         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1570         required flags.
1571         (CFLAGS-preadv64.c): Likewise.
1572         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1573         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1574         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1575         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1576         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1577         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1578         syscall from auto-generation.
1579         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1580         [WORDSIZE == 64] (preadv64): Remove macro.
1581         [!PREADV] (PREADV): Likewise.
1582         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1583         [!PREADV] (PREAD): Likewise.
1584         [!PREADV] (OFF_T): Likewise.
1585         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1586         (LO_HI_LONG): Remove macro.
1587         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1588         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1589         (PREADV): Remove macro.
1590         (PREADV_REPLACEMENTE): Likewise.
1591         (PREAD): Likewise.
1592         (OFF_T): Likewise.
1593         (preadv64): New function.
1594         * nptl/tst-cancel4.c (tf_preadv): Add test.
1596 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1598         [BZ #20212]
1599         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1600         argument to itself.
1601         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1603 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1605         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1606         New symbol defined as libc_hidden_def.
1607         (strcasestr): Became a weak alias to __strcasestr.
1608         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1609         according to multi-arch support.  Move __stpncpy hidden
1610         definition from here to...
1611         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1612         symbol stpncpy.
1613         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1614         libc_hidden_builtin_def.
1615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1616         memset symbol to use when multi-arch support is available.
1618 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1620         * dlfcn/tst-rec-dlopen.c: Include string.h.
1622 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1624         * manual/install.texi: Remove mention of --without-tls
1625         * INSTALL: Regenerate.
1627 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1629         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1630         Remove.
1631         (call_function, interposed_malloc_called): New variables.
1632         (malloc): New function.
1633         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1634         and clear call_function as needed.
1636 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1638         * include/wchar.h (__wmemset): Use __typeof.
1640 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1642         * include/wchar.h (__wmemset): Declare function without typeof.
1644 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1646         [BZ #20205]
1647         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1648         exponent when incrementing negative subnormal with low mantissa
1649         word zero.
1650         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1651         Add another test.
1653 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1655         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1656         __wmemset instead of wmemset.
1658 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1660         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1661         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1662         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1663         __USE_KERNEL_IPV6_DEFS to 0.
1664         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1665         Update comment.
1667 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1669         [BZ #19861]
1670         Do not use IFUNC resolver with potentially unrelocated symbol.
1671         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1672         (DEFINE_FORK): Remove macro and inline definition.
1673         (fork_alias): Renamed from fork_ifunc.
1674         (__fork_alias): Renamed from __fork_ifunc.
1676 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1678         [BZ 19653]
1679         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1680         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1682 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1684         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1685         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1686         i386-linux-gnu).
1687         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1688         Set to no.
1689         * sysdeps/mach/hurd/configure: Refresh.
1691 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1693         [BZ #20178]
1694         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1695         on failure instead of exit.
1697 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1699         [BZ #3629]
1700         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1701         of POSIX.1-2008.
1703 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1705         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1706           Use PLT entry for calling _hurd_self_sigstate.
1708 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1710         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1711         available logical processors with SMT level type sharing L2
1712         cache for Intel processors.
1714 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1716         [BZ #20160]
1717         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1718         argument to itself before returning the result.
1719         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1720         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1721         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1722         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1723         Likewise.
1724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1725         Likewise.
1726         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1727         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1728         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1729         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1730         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1731         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1733         [BZ #20160]
1734         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1735         argument to itself before returning the result.
1736         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1737         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1738         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1740         Likewise.
1741         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1742         Likewise.
1743         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1744         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1745         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1746         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1747         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1748         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1750 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1752         * libm-test.inc: Replace usage of M_El with
1753         (lit_e): New macro.
1755 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1757         * libm-test.inc: Replace usage of M_PI_4l with
1758         (lit_pi_4_d): New macro.
1760 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1762         * libm-test.inc: Replace usage of M_PIl with
1763         (lit_pi): New macro.
1765 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1767         * libm-test.inc: Replace usage of M_PI2l with
1768         (lit_pi_2_d): New macro.
1770         * math/test-double.h (LITM): New macro.
1771         * math/test-float.h (LITM): Likewise.
1772         * math/test-ldouble.h (LITM): Likewise.
1774 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1776         * libm-test.inc (M_PI_34l): Rename to
1777         (lit_pi_3_m_4_d): New Macro.
1778         (M_PI_34_LOG10El): Rename to
1779         (lit_pi_3_m_4_ln10_m_d): New Macro.
1780         (M_PI2_LOG10El): Rename to
1781         (lit_pi_2_ln10_m_d):  New Macro.
1782         (M_PI4_LOG10El): Rename to
1783         (lit_pi_4_ln10_m_d):  New Macro.
1784         (M_PI_LOG10El): Rename to
1785         (lit_pi_ln10_d):  New Macro.
1787 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #20157]
1790         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1791         determine whether to negate low half if [_ARCH_PPCGR], and integer
1792         comparison otherwise.
1793         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1794         determine whether to negate low half.
1796         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1797         (NO_TEST_INLINE_DOUBLE): Likewise.
1798         (TEST_COND_x86_64): Likewise.
1799         (TEST_COND_x86): Likewise.
1800         (M_PI_6l): Likewise.
1802 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1804         * math/libm-test.inc:
1805         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1806         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1807         (TEST_LDOUBLE): Update usage to evaluate as true if
1808         the guarded tests match the property being tested.
1809         (LDBL_MAX_EXP): Change to MAX_EXP.
1810         (LDBL_MIN_EXP): Change to MIN_EXP.
1811         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1812         nexttoward tests.
1814 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1816         * math/libm-test.inc:
1817         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1818         (TYPE_MIN): Likewise.
1819         (TYPE_TRUE_MIN): Likewise.
1820         (TYPE_MAX): Likewise.
1821         (MIN_EXP): Likewise.
1822         (MAX_EXP): Likewise.
1823         (MANT_DIG): Likewise.
1825         (FSTR_MAX): New macro.
1826         (__CONCATX): Likewise.
1827         (QTYPE_STR): Likewise.
1828         (TEST_COND_binary32): Likewise.
1829         (TEST_COND_binary64): Likewise.
1830         (TEST_COND_binary128): Likewise.
1831         (TEST_COND_ibm128): Likewise.
1832         (TEST_COND_intel96): Likewise.
1833         (TEST_COND_m68k96): Likewise.
1835         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1836         (TEST_COND_dbl_64): Likewise.
1837         (TEST_COND_ldbl_96_intel): Likewise.
1838         (TEST_COND_ldbl_96_m68k): Likewise.
1839         (TEST_COND_ldbl_128): Likewise.
1840         (TEST_COND_ldbl_128ibm): Likewise.
1842         (plus_zero): Redefine using LIT macro.
1843         (minus_zero): Likewise.
1844         (plus_infty): Redefine as (INF).
1845         (minux_infty): Redefine as (-INF).
1846         (max_value): Redefine as TYPE_MAX.
1847         (min_value): Redefine as TYPE_MIN.
1848         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1850         (print_float): Refactor to use snprintf to convert FLOAT values
1851         to string. This brings it closer to dropin replacement of strtof
1852         for the TS 18661 defined types.
1853         (update_stats): Likewise.
1854         (print_complex_function_ulps): Likewise.
1855         (print_max_error): Likewise.
1856         (print_complex_max_error): Likewise.
1857         (check_float_internal): Likewise.
1859         * math/test-float.h (PREFIX): New macro.
1860         (LIT): Likewise.
1861         (TYPE_STR): Likewise.
1862         (FTOSTR): Likewise.
1864         * math/test-double.h (PREFIX): New macro.
1865         (LIT): Likewise.
1866         (TYPE_STR): Likewise.
1867         (FTOSTR): Likewise.
1869         * math/test-ldouble.h (PREFIX): New macro.
1870         (LIT): Likewise.
1871         (TYPE_STR): Likewise.
1872         (FTOSTR): Likewise.
1874 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1876         [BZ #20156]
1877         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1878         to itself when zero or not finite.
1879         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1880         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1881         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1882         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1884 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1886         [BZ #20153]
1887         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1888         x * x + x for infinities and NaNs.
1890         [BZ #20151]
1891         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1892         argument to itself before returning result.
1893         (__ieee754_y0l): Likewise.
1894         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1895         (__ieee754_y1l).
1897         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1898         (atan_test_data): Likewise.
1899         (ceil_test_data): Likewise.
1900         (cos_test_data): Likewise.
1901         (cosh_test_data): Likewise.
1902         (erf_test_data): Likewise.
1903         (exp2_test_data): Likewise.
1904         (fabs_test_data): Likewise.
1905         (floor_test_data): Likewise.
1906         (ilogb_test_data): Likewise.
1907         (j0_test_data): Likewise.
1908         (j1_test_data): Likewise.
1909         (jn_test_data): Likewise.
1910         (lgamma_test_data): Likewise.
1911         (lrint_test_data): Likewise.
1912         (llrint_test_data): Likewise.
1913         (logb_test_data): Likewise.
1914         (lround_test_data): Likewise.
1915         (llround_test_data): Likewise.
1916         (nearbyint_test_data): Likewise.
1917         (rint_test_data): Likewise.
1918         (round_test_data): Likewise.
1919         (sin_test_data): Likewise.
1920         (sincos_test_data): Likewise.
1921         (sinh_test_data): Likewise.
1922         (sqrt_test_data): Likewise.
1923         (tan_test_data): Likewise.
1924         (tanh_test_data): Likewise.
1925         (tgamma_test_data): Likewise.
1926         (trunc_test_data): Likewise.
1927         (y0_test_data): Likewise.
1928         (y1_test_data): Likewise.
1929         (yn_test_data): Likewise.
1931         * math/libm-test.inc: Update comment about NaN testing.
1932         (TEST_SNAN): New macro.
1933         (snan_value): Likewise.
1934         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1935         (fpclassify_test_data): Add sNaN tests.
1936         (isfinite_test_data): Likewise.
1937         (isinf_test_data): Likewise.
1938         (isnan_test_data): Likewise.
1939         (isnormal_test_data): Likewise.
1940         (issignaling_test_data): Likewise.
1941         (signbit_test_data): Likewise.
1942         * math/gen-libm-test.pl (%beautify): Add snan_value.
1943         (show_exceptions): Add argument $test_snan.
1944         (parse_args): Handle snan_value as non-finite.  Update call to
1945         show_exceptions.
1946         * math/Makefile (libm-test-no-inline-cflags): Add
1947         -fsignaling-nans.
1949 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1951         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1952         (CFLAGS-oldsendmsg.c): Add rule.
1953         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1954         Correct recvmsg symbol name.
1955         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1956         Likewise.
1958 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1960         * sysdeps/unix/sysv/linux/Makefile
1961         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1962         oldsendmmsg.
1963         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1964         sendmmsg.
1965         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1968         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1973         Likewise.
1974         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1976         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1977         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1978         iovlen and controllen fields to adjust to POSIX specification.
1979         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1981         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1982         and change to correct expected type.
1983         (msghdr.msg_controllen): Likewise.
1984         (cmsghdr.cmsg_len): Likewise.
1985         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1986         expected POSIX assumption about the size.
1987         (msghdr.msg_controllen): Likewise.
1988         (msghdr.__glibc_reserved1): Likewise.
1989         (msghdr.__glibc_reserved2): Likewise.
1990         (cmsghdr.cmsg_len): Likewise.
1991         (cmsghdr.__glibc_reserved1): Likewise.
1992         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1993         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1994         (CFLAGS-sendmsg.c): Remove rule.
1995         (CFLAGS-recvmsg.c): Likewise.
1996         (CFLAGS-oldsendmsg.c): Add rule.
1997         (CFLAGS-oldrecvmsg.c): Likewise.
1998         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1999         recvmsg and sendmsg.
2000         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2001         Likewise.
2002         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2003         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2004         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2005         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2006         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2007         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2008         Likewise.
2009         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2010         Likewise.
2011         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2012         Likewise.
2013         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2014         Likewise.
2015         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2016         Likewise.
2017         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2020         (GLIBC_2.24): Likewise.
2021         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2024         Likewise.
2025         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2026         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2027         Likewise.
2028         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2029         Likewise.
2030         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2031         Likewise.
2032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2033         (GLIBC_2.24): Likewise.
2034         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2035         Likewise.
2036         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2037         Likewise.
2038         * sysdeps/unix/sysv/linux/Makefile
2039         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2040         (CFLAGS-sendmsg.c): Add rule.
2041         (CFLAGS-recvmsg.c): Likewise.
2042         (CFLAGS-oldsendmsg.c): Likewise.
2043         (CFLAGS-oldrecvmsg.c): Likewise.
2044         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2045         initialization.
2046         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2047         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2048         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2049         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2050         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2051         iovlen and controllen fields to adjust to POSIX specification.
2052         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2053         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2054         added recvmsg and sendmsg.
2055         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2056         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2057         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2058         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2059         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2060         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2061         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2062         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2065         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2066         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2068         Likewise.
2069         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2071         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2072         Likewise.
2073         Likewise.
2074         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2075         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2076         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2077         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2078         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2079         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2083         Likewise.
2084         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2088         from auto-generation.
2089         (sendmsg): Likewise.
2090         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2091         (sendmsg): Likewise.
2092         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2093         (sendmsg): Likewise.
2094         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2095         (sendmsg): Likewise.
2096         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2097         (sendmsg): Likewise.
2098         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2099         (sendmsg): Likewise.
2100         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2101         Likewise.
2102         (sendmsg): Likewise.
2103         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2104         (sendmsg): Likewise.
2105         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2106         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2107         Remove.
2108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2109         Likewise.
2110         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2111         Undefine.
2112         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2113         Likewise.
2114         * sysdeps/unix/sysv/linux/kernel-features.h
2115         (__ASSUME_SENDMSG_SYSCALL): Define.
2116         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2117         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2118         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2119         Remove.
2120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2121         Likewise.
2122         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2123         Undefine.
2124         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2125         Likewise.
2126         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2128         Remove.
2129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2130         Likewise.
2131         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2132         Undefine.
2133         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2134         Likewise.
2135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2136         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2137         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2138         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2139         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2140         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2141         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2142         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2143         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2145 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2147         * stdlib/gen-tst-strtod-round.c: Add backslash to
2148         compile command in comment.
2149         (printfp): Remove the literal suffix, and define an infinite
2150         value as INF to avoid expansion clash with INFINITY.
2151         (round_str): Remove the literal suffix.
2152         (round_for_all): Likewise, remove the now duplicate ldbl-64
2153         entry, and remove some magic constants.
2155         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2156         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2157         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2158         (_CONCAT): New macro.
2159         (CONCAT): Likewise.
2160         (CHOOSE_ld): Likewise.
2161         (CHOOSE_f): Likewise.
2162         (CHOOSE_d): Likewise.
2163         (FTYPE_MEMBER): Likewise.
2164         (BOOL_MEMBER): Likewise.
2165         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2166         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2167         (_XNTRY): Likewise.
2168         (XNTRY): Likewise.
2169         (_ENTRY): Likewise.
2170         (ENTRY): Likewise.
2171         (test_exactness): Generate members via macro.
2172         (test_results): Likewise.
2173         (test): Update members.
2174         (TEST): Redefine using new macros.
2175         (INF): New macro.
2176         (fetestmodes): New structure.
2177         (do_test): Refactor to be type generic.
2178         (test_in_one_mode): Refactor duplicate code into
2179         (GEN_ONE_TEST): New macro.
2181         * stdlib/tst-strtod-round-data.h: Regenerate.
2183         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2184         Extend to pass additional arbitrary parameters to
2185         generators.
2187 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2189         [BZ #15479]
2190         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2191         floating-point state after first floating-point operation on
2192         input.  Restore full floating-point state instead of just rounding
2193         mode.
2194         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2195         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2196         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2197         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2198         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2200         [BZ #15479]
2201         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2202         floating-point state after first floating-point operation on
2203         input.  Restore full floating-point state instead of just rounding
2204         mode.
2205         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2206         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2207         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2208         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2209         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2211 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2213         [BZ #19727]
2214         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2215         valid high surrogate.
2216         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2217         of an utf16 surrogate.
2218         * iconv/gconv_simple.c (BODY): Likewise.
2219         * iconvdata/bug-iconv12.c: New file.
2220         * iconvdata/Makefile (tests): Add bug-iconv12.
2222 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2224         [BZ #19726]
2225         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2226         outptrp in case of an illegal input.
2227         * iconv/tst-iconv6.c: New file.
2228         * iconv/Makefile (tests): Add tst-iconv6.
2230 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2232         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2233         an error in case of a value in range of an utf16 low surrogate.
2235 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2237         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2238         an error in case of a value in range of an utf16 low surrogate.
2240 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2242         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2243         Move to ...
2244         * sysdeps/s390/Makefile: ... here.
2245         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2246         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2247         (BRANCH_ON_COUNT): New define.
2248         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2249         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2250         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2251         run on s390-32, too.
2252         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2253         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2254         run on s390-32, too.
2255         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2256         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2257         run on s390-32, too.
2259 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2261         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2262         etf3eh or new vector loop-variant.
2264 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2266         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2267         etf3eh or new vector loop-variant.
2269 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2271         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2272         or new vector loop-variant.
2274 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2276         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2277         Rename to TR_LOOP and usage of tr instead of troo instruction.
2279 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2281         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2284 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2286         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2287         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2288         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2289         New override define.
2290         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2292 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2294         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2295         * sysdeps/s390/configure.ac: Add test for S390 vector register
2296         support in gcc.
2297         * sysdeps/s390/configure: Regenerated.
2299 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2301         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2302         Install file from $(objpfx)gconv-modules.
2303         ($(objpfx)gconv-modules): Concatenate architecture specific file
2304         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2305         * sysdeps/s390/gconv-modules: New file.
2306         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2307         Deleted.
2308         ($(objpfx)gconv-modules-s390): Deleted.
2309         (sysdeps-gconv-modules): New variable.
2311 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2313         [BZ #15479]
2314         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2315         of immediate operand to rounding instruction.
2316         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2317         Likewise.
2318         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2319         Likewise.
2320         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2321         Likewise.
2323 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2325         * math/libm-test.inc (MIN_EXP): Directly define as
2326         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2328 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2330         * math/libm-test.inc (MANT_DIG): Directly define as
2331         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2333 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2335         * stdlib/gen-tst-strtod-round.c (main):
2336           Change usage to more closely match the generated
2337           output.  Add usage and compilation instructions.
2338           (string_to_fp): Add and use FILE* parameter as
2339           output target.
2340           (print_fp): Likewise.
2341           (round_str): Likewise.
2342           (round_for_all): Likewise.
2343         * stdlib/tst-strtod-round.c (tests): Move into
2344         * stdlib/tst-strtod-round-data.h: New file.
2346 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2348         [BZ #15479]
2349         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2350         (__round): Do not force "inexact" exception.
2351         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2352         variable.
2353         (__round): Do not force "inexact" exception.
2354         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2355         (__roundf): Do not force "inexact" exception.
2356         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2357         (__roundl): Do not force "inexact" exception.
2358         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2359         (__roundl): Do not force "inexact" exception.
2360         * math/libm-test.inc (round_test_data): Do not allow spurious
2361         "inexact" exceptions.
2363         [BZ #15479]
2364         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2365         exception in comment.
2366         (huge): Remove variable.
2367         (__floor): Do not force "inexact" exception.
2368         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2369         "inexact" exception in comment.
2370         (huge): Remove variable.
2371         (__floor): Do not force "inexact" exception.
2372         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2373         exception in comment.
2374         (huge): Remove variable.
2375         (__floorf): Do not force "inexact" exception.
2376         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2377         exception in comment.
2378         (huge): Remove variable.
2379         (__floorl): Do not force "inexact" exception.
2381         [BZ #15479]
2382         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2383         exception in comment.
2384         (huge): Remove variable.
2385         (__ceil): Do not force "inexact" exception.
2386         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2387         "inexact" exception in comment.
2388         (huge): Remove variable.
2389         (__ceil): Do not force "inexact" exception.
2390         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2391         (__ceilf): Do not force "inexact" exception.
2392         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2393         exception in comment.
2394         (huge): Remove variable.
2395         (__ceill): Do not force "inexact" exception.
2397 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2399         * config.h.in (BIND_NOW): New.
2400         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2401         * configure: Regenerated.
2402         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2403         indirect branch via the GOT slot.
2405 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2407         [BZ #19765]
2408         * sysdeps/s390/mempcpy.S: New File.
2409         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2411         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2412         Add mempcpy variants.
2413         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2414         (memcpy): Adjust to be usable from mempcpy entry point.
2415         (__memcpy_mvcle): Likewise.
2416         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2417         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2418         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2419         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2420         (__memcpy_z10): Likewise.
2421         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2423 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2425         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2426         Remove __GI_ symbol.
2427         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2428         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2429         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2430         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2431         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2432         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2434 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2436         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2437         Use cghi instead of chi to compare 64bit value.
2439 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2441         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2442         Jump to 1MB check before executing mvc-loop.
2444 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2446         [BZ #6527]
2447         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2448         unconditionally.
2449         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2451 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2453         * stdlib/tst-strtod6.c (do_test): Use new type generic
2454         invocation of the test function.
2455         (test): Refactor into ...
2456         (TEST_STRTOD): New macro base function.
2458 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2460         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2461         (TEST_STRTOD): New macro.
2462         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2464 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2466         * stdlib/tst-strtod6.c (do_test): Use new type generic
2467         invocation of the test function.
2468         (test): Refactor into ...
2469         (TEST_STRTOD): New macro base function.
2471 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2473         CVE-2016-4429
2474         [BZ #20112]
2475         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2476         payload.
2478 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2480         [BZ #20111]
2481         * bits/sockaddr.h (_SS_SIZE): Define.
2482         * bits/socket.h (_SS_SIZE): Remove.
2483         (_SS_PADSIZE): Adjust to account for all padding.
2484         (struct sockaddr_storage): Update comment.  Avoid implicit
2485         padding.
2486         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2487         (_SS_PADSIZE): Adjust to account for all padding.
2488         (struct sockaddr_storage): Update comment.  Avoid implicit
2489         padding.
2490         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2491         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2492         (_SS_PADSIZE): Adjust to account for all padding.
2493         (struct sockaddr_storage): Update comment.  Avoid implicit
2494         padding.
2495         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2496         __SS_SIZE is 126 in this version.
2497         * inet/tst-sockaddr.c: New file.
2498         * inet/Makefile (tests): Add tst-sockaddr.c
2499         (tst-sockaddr.c): Compile with non-strict aliasing.
2501 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2503         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2504         [XPG3 || XPG4].
2505         (NL_ARGMAX): Also expect for [XPG3].
2506         (NL_LANGMAX): Likewise.
2507         (NL_MSGMAX): Likewise.
2508         (NL_NMAX): Likewise.
2509         (NL_SETMAX): Likewise.
2510         (NL_TEXTMAX): Likewise.
2511         (NZERO): Likewise.
2512         (TMP_MAX): Likewise.
2513         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2514         variable.
2516         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2517         (PF_MAX): Update value.
2518         (AF_KCM): New macro.
2519         (SOL_NETBEUI): Likewise.
2520         (SOL_LLC): Likewise.
2521         (SOL_DCCP): Likewise.
2522         (SOL_NETLINK): Likewise.
2523         (SOL_TIPC): Likewise.
2524         (SOL_RXRPC): Likewise.
2525         (SOL_PPPOL2TP): Likewise.
2526         (SOL_BLUETOOTH): Likewise.
2527         (SOL_PNPIPE): Likewise.
2528         (SOL_RDS): Likewise.
2529         (SOL_IUCV): Likewise.
2530         (SOL_CAIF): Likewise.
2531         (SOL_ALG): Likewise.
2532         (SOL_NFC): Likewise.
2533         (SOL_KCM): Likewise.
2534         (MSG_BATCH): New enum value and macro.
2536 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2538         [BZ #18185]
2539         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2540         sharing L2 cache to 2 for Knights Landing.
2542 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2544         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2545         (FTW_DP): Do not expect for [XPG3 || XPG4].
2546         (FTW_SL): Do not expect for [XPG3].
2547         (FTW_SLN): Likewise.
2548         (FTW_PHYS): Likewise.
2549         (FTW_MOUNT): Likewise.
2550         (FTW_DEPTH): Likewise.
2551         (FTW_CHDIR): Likewise.
2552         (nftw): Likewise.
2553         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2554         variable.
2556 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2558         * manual/errno.texi: Fix various typos & grammar errors.
2560 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2562         * manual/intro.texi: Fix duplicated typo.
2564 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2566         [BZ #13304]
2567         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2568         <float.h>, <math_private.h> and <stdlib.h>.
2569         (add_split): New function.
2570         (mul_split): Likewise.
2571         (ext_val): New typedef.
2572         (store_ext_val): New function.
2573         (mul_ext_val): New function.
2574         (compare): New function.
2575         (add_split_ext): New function.
2576         (__fmal): After checking for Inf, NaN and zero, compute result as
2577         an exact sum of scaled double values in round-to-nearest before
2578         adding those up and adjusting for other rounding modes.
2579         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2580         tests of fma.
2581         * math/auto-libm-test-out: Regenerated.
2583 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2585         [BZ #20119]
2586         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2587         processor level type mask for CPUID with EAX == 11.
2589 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2591         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2592         logical threads if the HTT bit is 0.
2593         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2594         (index_cpu_HTT): Likewise.
2595         (reg_HTT): Likewise.
2597 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2599         [BZ #20115]
2600         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2601         Remove alignments on jump targets.
2603 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2605         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2606         (getpwent): Likewise.
2607         (setpwent): Likewise.
2608         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2609         variable.
2611         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2612         (remque): Likewise.
2613         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2614         variable.
2616 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2618         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2619         not being tested.
2621 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2623         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2624         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2625         call.
2626         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2627         (__condvar_cleanup1): Likewise.
2629 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2631         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2632         New
2633         (__pthread_unwind): Renamed to ...
2634         (PTHREAD_UNWIND): This.
2635         (__pthread_enable_asynccancel): Replace
2636         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2638 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2640         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2641         (CLONE_NEWCGROUP): New macro.
2643         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2644         (Q_GETNEXTQUOTA): New macro.
2646 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2648         [BZ #19907]
2649         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2650         buffer updated by the previous run.
2651         * string/test-memcpy.c (do_one_test): Likewise.
2652         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2653         * string/test-memmove.c (do_one_test): Likewise.
2655 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2657         [BZ #20094]
2658         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2659         not [__USE_XOPEN].
2660         (unlockpt): Likewise.
2661         (ptsname): Likewise.
2662         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2663         variable.
2665         [BZ #20076]
2666         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2667         instead of [__USE_UNIX98].
2668         (S_ISSOCK): Likewise.
2669         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2670         variable.
2672         [BZ #20074]
2673         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2674         [__USE_POSIX].
2675         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2676         variable.
2678         [BZ #20051]
2679         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2680         (ttyslot): Do not declare.
2681         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2682         (ttyslot): New prototype.
2683         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2684         variable.
2685         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2687 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2689         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2691 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2693         Fix race condition in tst-mallocfork2, use fewer resources.
2694         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2695         to current process group.
2696         (signal_sender): Yield in the non-sleeping case.
2698 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2700         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2701         (ecvt): Likewise.
2702         (fcvt): Likewise.
2703         (gcvt): Likewise.
2704         (getsubopt): Likewise.
2705         (grantpt): Likewise.
2706         (initstate): Likewise.
2707         (l64a): Likewise.
2708         (mktemp): Likewise.
2709         (mkstemp): Likewise.
2710         (ptsname): Likewise.
2711         (random): Likewise.
2712         (realpath): Likewise.
2713         (setstate): Likewise.
2714         (srandom): Likewise.
2715         (ttyslot): Likewise.
2716         (unlockpt): Likewise.
2717         (valloc): Likewise.
2719         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2720         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2721         variable.
2723 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2725         [BZ #20072]
2726         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2727         init_cpu_features only if SHARED is defined.
2728         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2730 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2732         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2733         non-inclusive caches on Intel processors.
2735 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2737         * malloc/malloc.c (dumped_main_arena_start)
2738         (dumped_main_arena_end): New variables.
2739         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2740         (do_check_chunk): Skip dumped fake mmapped chunks.
2741         (munmap_chunk): Likewise.
2742         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2743         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2744         mmapped chunks.
2745         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2746         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2747         and dumped_main_arena_end to cover the dumped heap.
2749 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2751         * conform/data/time.h-data (getdate_err): Do not expect for
2752         [XPG3].
2753         (getdate): Likewise.
2754         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2755         variable.
2757         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2758         (F_ULOCK): Likewise.
2759         (F_TEST): Likewise.
2760         (F_TLOCK): Likewise.
2761         (useconds_t): Likewise.
2762         (intptr_t): Do not expect for [XPG3] or [XPG4].
2763         (brk): Do not expect for [XPG3]
2764         (fchown): Likewise.
2765         (fchdir): Likewise.
2766         (ftruncate): Likewise.
2767         (getdtablesize): Likewise.
2768         (gethostid): Likewise.
2769         (getpagesize): Likewise.
2770         (getpgid): Likewise.
2771         (getsid): Likewise.
2772         (getwd): Likewise.
2773         (lchown): Likewise.
2774         (lockf): Likewise.
2775         (readlink): Likewise.
2776         (sbrk): Likewise.
2777         (setpgrp): Likewise.
2778         (setregid): Likewise.
2779         (setreuid): Likewise.
2780         (symlink): Likewise.
2781         (sync): Likewise.
2782         (truncate): Likewise.
2783         (ualarm): Likewise.
2784         (usleep): Likewise.
2785         (vfork): Likewise.
2786         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2787         variable.
2789         [BZ #20054]
2790         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2791         not [__USE_UNIX98].
2792         * conform/data/unistd.h-data (gethostname): Do not expect for
2793         [XPG3].
2795         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2796         [!POSIX] (S_IFBLK): Likewise.
2797         [!POSIX] (S_IFCHR): Likewise.
2798         [!POSIX] (S_IFIFO): Likewise.
2799         [!POSIX] (S_IFREG): Likewise.
2800         [!POSIX] (S_IFDIR): Likewise.
2801         [!POSIX] (S_IFLNK): Likewise.
2802         [!POSIX] (S_IFSOCK): Likewise.
2803         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2804         variable.
2805         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2807 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2809         * sysdeps/aarch64/memset.S (__memset):
2810         Rewrite of optimized memset.
2812 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2814         [BZ #19703]
2815         Partially async-signal-safe fork for single-threaded processes.
2816         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2817         variable.  Do not acquire and reset/release malloc and libio locks
2818         in single-threaded processes.
2819         * malloc/tst-mallocfork2.c: New file.
2820         * malloc/Makefile (tests): Add it.
2822 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2824         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2825         argument.  Use scratch buffer instead of extend_alloca.
2826         (gethosts): Use scratch buffer instead of extend_alloca.
2827         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2828         extend_alloca.
2829         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2831 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2833         [BZ #20055]
2834         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2835         instead of [__USE_UNIX98].
2836         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2837         [__USE_UNIX98].
2838         * conform/data/termios.h-data (tcgetsid): Do not expect for
2839         [XPG3].
2840         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2841         variable.
2842         (test-xfail-XPG4/termios.h/conform): Likewise.
2844 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2846         Do not use mcheck in localedef.
2847         * locale/programs/localedef.c (turn_on_mcheck)
2848         (__malloc_initialize_hook): Remove.
2850 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2852         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2853         * sysdeps/s390/s390-64/Makefile: Likewise.
2855 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2857         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2858         Remove ifunc-defines.sym.
2859         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2860         Likewise.
2861         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2862         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2863         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2864         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2865         rtld-global-offsets.sym.
2866         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2867         * sysdeps/x86/cpu-features-offsets.sym: This.
2868         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2869         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2871 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2873         [BZ #20073]
2874         * io/sys/stat.h (fchmod): Declare for
2875         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2876         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2877         variable.
2879         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2880         [XPG3] (S_IFSOCK): Likewise.
2881         [XPG3] (S_ISVTX): Likewise.
2882         [XPG3] (S_ISLNK): Likewise.
2883         [XPG3] (S_ISSOCK): Likewise.
2884         [XPG3] (fchmod): Likewise.
2885         [XPG3] (lstat): Likewise.
2886         [XPG3] (mknod): Likewise.
2888         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2889         [XPG3].  Expect type long and XFAIL for [XPG4].
2890         (st_blocks): Likewise.
2892         [BZ #20044]
2893         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2894         (pthread_atfork): New prototype.
2895         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2896         variable.
2898         [BZ #20043]
2899         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2900         prototype.
2902 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2904         [BZ #20017]
2905         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2906         gmtime.
2908 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2910         [BZ #19994]
2911         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2912         flag in _res.options.
2914 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2916         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2917         [XPG3 || XPG4].
2918         (blksize_t): Likewise.
2919         (clockid_t): Likewise.
2920         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2921         variable.
2922         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2924 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2926         * sysdeps/unix/sysv/linux/s390/init-first.c:
2927         Add VDSO_SYMBOL(getcpu).
2928         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2929         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2930         Add VDSO_SYMBOL(getcpu).
2931         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2932         New define HAVE_GETCPU_VSYSCALL.
2933         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2935 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2937         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2938         instead of <sysdeps/x86_64/cacheinfo.c>.
2939         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2940         * sysdeps/x86/cacheinfo.c: Here.
2942 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2944         * malloc/malloc-internal.h: Adjust header file guard.
2946 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2948         [BZ #19787]
2949         * inet/getnameinfo.c (check_sprintf_result): New function.
2950         (CHECKED_SNPRINTF): New macro.
2951         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2952         to the host buffer.
2953         (gni_host_local): Use checked_copy to copy the host name.
2954         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2955         (gni_serv_local): Use checked_copy to copy the service name.
2956         (getnameinfo): Remove unnecessary truncation of result buffers.
2958 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2960         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2961         in case of inet_ntop failure.
2963 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2965         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2966         avoid long lines.
2967         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2968         variables.
2969         (gni_host_inet, gni_host_local): Add comment.
2970         (gni_host): Add comment.  Use temporary to avoid long lines.
2972 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2974         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2975         registers specifiers where general purpose registers specifiers should
2976         have been used.
2978 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2980         [BZ #19779]
2981         CVE-2016-1234
2982         Avoid copying names of directory entries.
2983         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2984         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2985         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2986         (struct readdir_result): New type.
2987         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2988         (GL_READDIR): New macros.
2989         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2990         (convert_dirent, convert_dirent64): New functions.
2991         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2992         convert_dirent64.  Adjust references to the readdir result.
2993         * sysdeps/unix/sysv/linux/i386/glob64.c:
2994         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2995         * posix/bug-glob2.c (LONG_NAME): Define.
2996         (filesystem): Add LONG_NAME.
2997         (my_DIR): Increase the size of room_for_dirent.
2999 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3001         [BZ #20041]
3002         * misc/sys/select.h (__need_timespec): Only define if
3003         [__USE_XOPEN2K].
3004         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3005         variable.
3006         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3007         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3008         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3010 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3011             Segher Boessenkool  <segher@gcc.gnu.org>
3013         [BZ #20004]
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3015         (__novec_swapcontext): Add missing load.
3017 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3019         [BZ #20023]
3020         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3021         <time.h>.
3022         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3023         variable.
3024         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3026 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3029         flags CLONE_VM compare.
3031 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3033         [BZ #20031]
3034         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3035         completely empty.
3037 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3039         [BZ #19573]
3040         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3041         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3042         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3043         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3044         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3045         (hesiod_free_list): Mark as hidden.
3046         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3047         res_set, res_get.
3048         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3049         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3050         (hesiod_init): Remove obsolete res_ninit call.
3051         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3052         (hesiod_bind): Do not call init.
3053         (get_txt_records): Use res_mkquery, res_send instead of
3054         res_nmkquery, res_nsend.
3055         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3056         instead of _nss_hesiod_init.
3057         (_nss_hesiod_initgroups_dyn): Likewise.
3058         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3059         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3060         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3062 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3064         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3065         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3067 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3069         * hesiod/hesiod.h: Remove RCS keyword.
3070         * hesiod/hesiod_p.h: Likewise.
3072         * hesiod/hesiod.c: Likewise.
3074 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3076         [BZ #12450]
3077         * locale/iso-639.def: Add Samogitian/sgs.
3079 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3081         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3083         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3085 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3086             Carlos O'Donell  <carlos@redhat.com>
3088         [BZ #19072]
3089         * grp/Makefile (headers): Add grp-merge.h
3090         (routines): Add grp-merge.
3091         * grp/getgrgid_r.c: Include grp-merge.h.
3092         (DEEPCOPY_FN): Define.
3093         (MERGE_FN): Define.
3094         * grp/getgrname_r.c: Include grp-merge.h.
3095         (DEEPCOPY_FN): Define.
3096         (MERGE_FN): Define.
3097         * grp/grp-merge.c: New file.
3098         * grp/grp-merge.h: New file.
3099         * include/grp-merge.h: New file.
3100         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3101         __copy_grp@GLIBC_PRIVATE.
3102         * manual/nss.texi (Actions in the NSS configuration): Describe
3103         return, continue, and merge.
3104         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3105         (DEEPCOPY_FN): Define.
3106         (MERGE_FN): Define.
3107         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3108         (DEEPCOPY_FN): Define.
3109         (MERGE_FN): Define.
3110         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3111         [!MERGE_FN]: Define __merge_einval.
3112         (CHECK_MERGE): Define.
3113         (REENTRANT_NAME): Process merge if do_merge is true.
3114         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3115         (__nss_getent_r): Likewise.
3116         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3117         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3119 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3121         [BZ #20012]
3122         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3123         length to calculate the buffer to read.
3124         (fmemopen_write): Set the buffer position based on bytes written.
3125         (fmemopen_seek): Return EINVAL for invalid whence modes.
3127         [BZ #19957]
3128         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3129         tst-getpid2.
3130         (test): Add tst-clone2.
3131         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3132         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3133         pid/tid fields for CLONE_VM.
3134         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3135         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3136         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3137         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3138         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3139         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3140         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3141         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3143         Likewise.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3145         Likewise.
3146         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3147         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3148         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3149         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3150         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3151         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3152         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3153         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3155 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3157         [BZ #19642]
3158         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3159         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3160         (gni_serv_local, gni_serv): New functions extracted from
3161         getnameinfo.
3162         (getnameinfo): Call gni_host and gni_serv to perform the
3163         processing.  Always free scratch buffer.
3165 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3167         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3168         remaining bytes in the dest string, with zeros.
3170 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3172         [BZ #20010]
3173         CVE-2016-3706
3174         * sysdeps/posix/getaddrinfo.c
3175         (convert_hostent_to_gaih_addrtuple): New function.
3176         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3177         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3178         AF_INET data.
3180 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3182         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3183         callback function gl_readdir.
3184         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3185         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3186         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3187         memcpy to copy the name.
3188         * manual/pattern.texi (Calling Glob): Document requirements for
3189         implementations of the gl_readdir callback function.
3190         * manual/examples/mkdirent.c: New example.
3191         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3192         per the manual guidance.
3193         * posix/tst-gnuglob.c (my_readdir): Likewise.
3195 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3197         [BZ #20014]
3198         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3199         not [__USE_POSIX].
3200         (getchar_unlocked): Likewise.
3201         (putc_unlocked): Likewise.
3202         (putchar_unlocked): Likewise.
3203         (flockfile): Likewise.
3204         (ftrylockfile): Likewise.
3205         (funlockfile): Likewise.
3206         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3207         variable.
3208         (test-xfail-XPG4/stdio.h/conform): Likewise.
3210         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3211         Expect constant.
3212         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3213         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3214         variable.
3215         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3216         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3218         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3219         [__USE_LARGEFILE64] (off64_t): Likewise.
3220         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3221         variable.
3223 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3225         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3227 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3229         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3230         * resolv/res_init.c: Likewise.
3231         * resolv/res_mkquery.c: Likewise.
3233 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3235         * resolv/res_init.c (isascii): Do not define.  Use definition in
3236         <ctype.h>.
3237         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3238         (LOG_AUTH): Remove.
3239         (SPRINTF): Remove, adjust caller.
3240         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3242 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3244         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3245         SUNSECURITY conditional.
3246         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3248 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3250         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3251         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3252         Remove BSD-related preprocessor conditionals.
3253         * conf/portability.h: Remove.
3255 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3257         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3258         * resolv/res_data.c: Likewise.
3260 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3262         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3263         * resolv/res_data.c: Remove code conditional on ultrix.
3265 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3267         * resolv/res_init.c (RFC1535): Do not define.  Remove
3268         RFC1535 preprocessor conditionals.
3269         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3270         because there configuration options which make the resolver
3271         behavior different.
3273 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3275         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3276         RESOLVSORT preprocessor conditionals.
3277         * resolv/nss_dns/dns-host.c: Likewise.
3278         * resolv/res_init.c: Likewise.
3280 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3282         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3283         is never defined.
3285 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3287         * inet/inet_lnaof.c: Remove SCSS keyword.
3288         * inet/inet_mkadr.c: Likewise.
3289         * inet/inet_net.c: Likewise.
3290         * inet/inet_netof.c: Likewise.
3291         * inet/rcmd.c: Likewise.
3292         * inet/rexec.c: Likewise.
3293         * inet/ruserpass.c: Likewise.
3295 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3297         * resolv/inet_addr.c: Remove _LIBC conditionals.
3298         * resolv/res_data.c: Likewise.
3299         * resolv/res_init.c: Likewise.
3300         * resolv/res_mkquery.c: Likewise.
3301         * resolv/res_libc.c: Update comment.
3302         * resolv/README: Update.
3304 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3306         * resolv/gethnamaddr.c: Remove SCSS keyword.
3307         * resolv/herror.c: Likewise.
3308         * resolv/inet_addr.c: Likewise.
3309         * resolv/inet_net_ntop.c: Likewise.
3310         * resolv/inet_net_pton.c: Likewise.
3311         * resolv/inet_neta.c: Likewise.
3312         * resolv/inet_ntop.c: Likewise.
3313         * resolv/inet_pton.c: Likewise.
3314         * resolv/ns_date.c: Remove RCS keyword.
3315         * resolv/ns_name.c: Likewise.
3316         * resolv/ns_netint.c: Likewise.
3317         * resolv/ns_parse.c: Likewise.
3318         * resolv/ns_print.c: Likewise.
3319         * resolv/ns_samedomain.c: Likewise.
3320         * resolv/ns_ttl.c: Likewise.
3321         * resolv/nsap_addr.c: Likewise.
3322         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3323         * resolv/res_data.c: Remove RCS keyword.
3324         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3325         * resolv/res_init.c: Likewise.
3326         * resolv/res_mkquery.c: Likewise.
3327         * resolv/res_query.c: Likewise.
3328         * resolv/res_send.c: Likewise.
3330 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3332         * conform/data/stdio.h-data (fdopen): Expect also for
3333         [XPG3 || XPG4].
3335         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3336         (fseeko): Likewise.
3337         (ftello): Likewise.
3338         (ftrylockfile): Likewise.
3339         (funlockfile): Likewise.
3340         (getc_unlocked): Likewise.
3341         (getchar_unlocked): Likewise.
3342         (putc_unlocked): Likewise.
3343         (putchar_unlocked): Likewise.
3345 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3347         [BZ #19868]
3348         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3349         DNS packet syntax checks (which were not needed before).  Skip
3350         over non-PTR records.
3352 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3354         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3355         definition.  Include <stddef.h> instead.
3357 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3359         [BZ #19831]
3360         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3361         function.
3362         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3363         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3365 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3367         [BZ #19862]
3368         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3369         (getanswer_r): Do not call syslog.
3370         (gaih_getanswer_slice): Likewise.
3371         * resolv/gethnamaddr.c (AskedForGot): Remove.
3372         (getanswer): Do not call syslog.
3373         (gethostbyaddr): Likewise.
3375 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3377         * conform/data/signal.h-data (union sigval): Expect also if
3378         [XOPEN2K].
3379         (struct sigevent): Likewise.
3380         (SIGEV_NONE): Likewise.
3381         (SIGEV_SIGNAL): Likewise.
3382         (SIGEV_THREAD): Likewise.
3383         (SIGRTMIN): Likewise.
3384         (SIGRTMAX): Likewise.
3385         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3386         variable.
3387         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3389 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3391         [BZ #19830]
3392         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3393         (gaih_getanswer_slice): Likewise.
3394         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3395         Also check for availability of RR metadata.
3397 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3399         [BZ #19825]
3400         * resolv/res_send.c (send_vc): Remove early *resplen2
3401         initialization.  Set *resplen2 on socket error.  Call
3402         close_and_return_error for other errors.
3404 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3406         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3407         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3408         (SCM_IUCV_TRGCLS): New define.
3410 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3412         [BZ #20005]
3413         * libio/fmemopen.c (fmemopen_write): Update internal position after
3414         write.
3415         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3416         * stdio-common/tst-fmemopen4.c: New file..
3418 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #19996]
3421         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3422         not [__USE_XOPEN2K].
3423         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3424         variable.
3426         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3427         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3428         variable.
3430         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3431         [__USE_XOPEN2K8].
3432         [__USE_LARGEFILE64] (off64_t): Likewise.
3433         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3434         variable.
3436 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3438         [BZ #19989]
3439         * libio/stdio.h (cuserid): Do not declare if
3440         [__USE_XOPEN2K && !__USE_GNU].
3441         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3442         variable.
3444 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3446         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3447         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3449         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3450         ifunc'ed strcspn.
3451         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3452         [EALIGN]: Removed.
3453         [END]: Likewise
3454         [STRSPN]: Define instead of the above to control symbol name.
3455         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3456         New file.
3457         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3458         Likewise.
3459         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3460         Likewise.
3461         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3462         Likewise.
3463         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3464         [INITIAL_MASK]: New macro.
3465         [STRCSPN]: Likewise.
3466         [UPDATE_MASK]: Likewise.
3467         [USE_AS_STRCSPN]: Lisewise.
3469 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3471         [BZ #19931]
3472         * stdio-common/tst-vfprintf-width-prec.c: New file.
3473         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3474         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3475         (generated): Add mtrace-related files.
3476         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3477         (tst-%-mem.out): New pattern rule, replaces
3478         tst-printf-bz18872-mem.out.
3479         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3480         specifier, deallocate any previously allocated work buffer.
3482 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3484         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3485         Add nop before __startcontext, add explaining comments.
3487 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3489         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3490         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3491         completely different API.
3493         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3494         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3495         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3496         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3497         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3498         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3499         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3500         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3501         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3502         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3504 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3506         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3508 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3510         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3511         when it is the default of 0.
3513 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3515         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3516         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3517         (sysdep_routines): Add new strcasestr targets.
3518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3519         (__libc_ifunc_impl_list): Likewise.
3520         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3521         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3522         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3523         * sysdeps/powerpc/powerpc64/power8/Makefile:
3524         New file to add strcasestr-ppc64 to sysdep_routines.
3525         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3526         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3528 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3530         * benchtests/Makefile (wcsmbs-benchset): Include only for
3531         native builds and runs.
3532         (LOCALES): Likewise.
3533         (bench-build): Build timing-type here instead of the bench
3534         target.  Generate locale only for native builds.
3535         * benchtests/README: Add note for cross-building.
3537         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3539         * benchtests/README: Update README to include instructions on
3540         using bench-build.
3542         * Makefile.in (bench-build): New target.
3543         * Rules (PHONY): Add bench-build target.
3544         * benchtests/Makefile (bench): Depend on bench-build.
3545         (bench-build): New target.
3547 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3549         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3550         profil_reply_port.
3551         (profile_waiter): Do not initialize profil_reply_port.
3552         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3553         frequency instead of tick length in us.
3555 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3557         [BZ #18712]
3558         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3559         (__old_mempcpy_small): Likewise.
3560         (__old_strcpy_small): Likewise.
3561         (__old_stpcpy_small): Likewise.
3562         (__old_strpbrk_c2): Fix compat symbol name.
3563         (__old_strpbrk_c3): Likewise.
3564         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3565         (__mempcpy_small): Remove.
3566         (__strcpy_small): Remove.
3567         (__stpcpy_small): Remove.
3569 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3571         [BZ #19400]
3572         * locale/iso-639.def: Add the Talossan/tzl language.
3574 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3576         [BZ #16983]
3577         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3578         comment.  Add "ln" to strchr check on postal_fmt.
3580 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3582         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3583         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3584         tel_dom_fmt.
3586 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3588         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3589         (sysdep_routines): Added __strlen_power8.
3590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3591         __strlen_power8 entry.
3592         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3593         Implementation for POWER8.
3594         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3595         for __strlen_power8.
3596         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3597         Implementation for POWER8.
3599 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3601         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3603 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3605         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3606         Goldmont and Airmont processors.
3608 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3610         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3611         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3612         (__STRING2_SMALL_GET32): Remove.
3613         (memset): Remove.
3614         (__memset_1): Remove.
3615         (__memset_gc): Remove.
3616         (__mempcpy): Remove.
3617         (mempcpy): Remove.
3618         (__mempcpy_args): Remove.
3619         (strchr): Remove.
3620         (strcpy): Remove.
3621         (strcpy_args): Remove.
3622         (__stpcpy_args): Remove.
3623         (__strcmp_cc): Remove.
3624         (__strcmp_gc): Remove.
3625         (strstr): Remove.
3627 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3629         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3630         * nis/nis_call.c (nis_server_cache_add): Likewise.
3632 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3634         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3636 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3638         * malloc/arena.c (__malloc_fork_lock_parent)
3639         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3640         internal_function attribute.
3642 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3644         * stdio-common/printf_fp.c (__printf_fp_l):
3645         Rename ___printf_fp_l to __printf_fp_l and
3646         remove strong alias. Use libc_hidden_def instead
3647         of ldbl_hidden_def macro.
3649 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3651         Remove malloc hooks from fork handler.  They are no longer needed
3652         because malloc runs right before fork, and no malloc calls from
3653         other fork handlers are not possible anymore.
3654         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3655         declarations.
3656         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3657         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3658         (atfork_recursive_cntr): Remove.
3659         (__malloc_fork_lock_parent): Do not override malloc hooks and
3660         thread_arena.
3661         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3662         thread_arena.
3663         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3664         thread_arena instead of save_arena.
3666 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3668         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3669         (thread_atfork, thread_atfork_static): Remove.
3670         * sysdeps/mach/hurd/malloc-machine.h:
3671         (thread_atfork, thread_atfork_static): Remove.
3673 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3675         [BZ #19431]
3676         Run the malloc fork handler as late as possible to avoid deadlocks.
3677         * malloc/malloc-internal.h: New file.
3678         * malloc/malloc.c: Include it.
3679         * malloc/arena.c (ATFORK_MEM): Remove.
3680         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3681         Update comment.
3682         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3683         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3684         Remove outdated comment.
3685         (ptmalloc_init): Do not call thread_atfork.  Remove
3686         thread_atfork_static.
3687         * malloc/tst-malloc-fork-deadlock.c: New file.
3688         * Makefile (tests): Add tst-malloc-fork-deadlock.
3689         (tst-malloc-fork-deadlock): Link against libpthread.
3690         * manual/memory.texi (Aligned Memory Blocks): Update safety
3691         annotation comments.
3692         * sysdeps/nptl/fork.c (__libc_fork): Call
3693         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3694         __malloc_fork_unlock_child.
3695         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3697 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3699         [BZ #19613]
3700         Remove union wait.
3701         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3702         (w_stopsig, w_stopval): Remove.
3703         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3704         stat_loc argument.
3705         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3706         (__WAIT_STATUS_DEFN): Remove.
3707         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3708         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3709         (wait, wait3, wait4): Use int * for the stat_loc argument.
3710         * posix/wait.c (__wait): Likewise.
3711         * posix/wait3.c (__wait3): Likewise.
3712         * posix/wait4.c (__wait4): Likewise.
3713         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3714         (__WAIT_STATUS_DEFN): Remove.
3715         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3716         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3717         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3718         argument.
3719         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3720         * sysdeps/posix/wait3.c (__wait3): Likewise.
3721         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3722         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3723         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3724         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3725         stat_loc argument.
3726         * manual/process.texi (BSD Wait Functions): Remove union wait.
3728 2016-04-13  Andreas Schwab  <schwab@suse.de>
3730         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3731         (test-extras): Add tst-tlsalign-vars.
3732         * math/Makefile: Wrap long lines.
3733         (libm-vec-test-wrappers): Define.
3734         (test-extras): Add $(libm-vec-test-wrappers).
3735         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3736         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3737         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3738         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3739         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3740         (extra-test-objs): Add corresponding objects.
3742 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3744         [BZ #19928]
3745         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3746         New.
3747         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3748         times of shared cache size.
3749         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3750         (VMOVNT): New.
3751         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3752         (VMOVNT): Likewise.
3753         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3754         (VMOVNT): Likewise.
3755         (VMOVU): Changed to movups for smaller code sizes.
3756         (VMOVA): Changed to movaps for smaller code sizes.
3757         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3758         comments.
3759         (PREFETCH): New.
3760         (PREFETCH_SIZE): Likewise.
3761         (PREFETCHED_LOAD_SIZE): Likewise.
3762         (PREFETCH_ONE_SET): Likewise.
3763         Rewrite to use forward and backward loops, which move 4 vector
3764         registers at a time, to support overlapping addresses and use
3765         non temporal store if size is above the threshold and there is
3766         no overlap between destination and source.
3768 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3770         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3771         Include dl-vdso.
3772         * sysdeps/unix/sysv/linux/mips/Versions: Add
3773         __vdso_clock_gettime.
3774         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3775         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3776         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3777         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3778         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3779         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3780         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3781         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3782         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3784 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3786         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3787         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3790         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3791         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3794         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3795         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3796         syscalls generation.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3798         [__NR_pwrite64] (__NR_write): Remove define.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3800         [__NR_pwrite64] (__NR_write): Remove define.
3801         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3802         Remove define.
3803         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3804         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3805         Remove define.
3806         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3807         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3808         Linux implementation as base.
3809         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3811         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3812         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3817         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3819         syscall generation.
3820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3821         [__NR_pread64] (__NR_pread): Remove define.
3822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3823         [__NR_pread64] (__NR_pread): Likewise.
3824         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3825         define.
3826         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3827         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3828         Remove define.
3829         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3830         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3831         Linux implementation as base.
3832         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3833         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3834         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3836         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3837         definition.
3838         (__ALIGNMENT_COUNT): Likewise.
3839         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3840         (__ALIGNMENT_COUNT): Likewise.
3841         (SYSCALL_LL): New define.
3842         (SYSCALL_LL64): Likewise.
3843         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3844         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3845         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3846         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3848         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3849         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3850         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3851         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3852         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3853         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3855 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3857         [BZ #19865]
3858         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3859         original buffer before retry.
3861 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3863         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3864         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3865         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3866         GLRO(dl_auxv) list.
3867         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3868         including <ldsodefs.h>.
3869         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3871 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3873         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3874         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3875         $(CPPFLAGS).
3877 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3879         [BZ #17950]
3880         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3881         Add -mfpmath=387.
3883 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3885         * sysdeps/i386/configure.ac: Change == to = when calling test.
3886         * sysdeps/x86_64/configure.ac: Likewise.
3887         * sysdeps/i386/configure: Regenerated.
3888         * sysdeps/x86_64/configure: Likewise.
3890 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3892         [BZ #16137]
3893         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3894         * benchtests/bench-strcoll.c (input_files): Likewise.
3895         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3896         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3897         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3899 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3901         [BZ #19929]
3902         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3903         [__USE_XOPEN2K8 && !__USE_GNU].
3904         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3905         variable.
3907         [BZ #19925]
3908         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3909         define if [!__USE_MISC && __USE_XOPEN2K].
3910         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3911         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3912         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3913         Likewise.
3914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3915         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3916         variable.
3917         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3919 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3921         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3922         (sysdep_routines): Add new strspn targets.
3923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3924         (__libc_ifunc_impl_list): Add strspn.
3925         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3926         New file.
3927         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3928         Likewise.
3929         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3930         Likewise.
3931         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3932         Likewise.
3934 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3936         * misc/hsearch_r.c: Include <limits.h>.
3938 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3940         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3942 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3944         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3945         (MEMCPY_SYMBOL): New.
3946         (MEMPCPY_SYMBOL): Likewise.
3947         (MEMMOVE_CHK_SYMBOL): Likewise.
3948         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3949         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3950         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3951         Provide alias for memcpy in libc.a and ld.so.
3953 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3955         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3956         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3957         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3958         Disabled fro now.
3959         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3960         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3962 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3964         * benchtests/Makefile (string-benchset): Add memcpy-large,
3965         memmove-large and memset-large.
3966         * benchtests/bench-memcpy-large.c: New file.
3967         * benchtests/bench-memmove-large.c: Likewise.
3968         * benchtests/bench-memmove-large.c: Likewise.
3969         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3971 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3973         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3974         32-bit displacement to avoid long nop between instructions.
3976 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3978         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3979         a comment on VMOVU and VMOVA.
3981 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3983         [BZ #19633]
3984         Use specified locale for number formatting in strfmon_l.
3985         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3986         (__nl_lookup_word): New inline functions.
3987         * include/printf.h (__print_fp_l): Declare.
3988         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3989         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3990         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3991         (___printf_fp): New function.
3992         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3993         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3994         * stdlib/tst-strfmon_l.c (do_test): New test.
3995         * stdlib/Makefile (tests): Add kt.
3996         (LOCALES): Build additional locales.
3997         (tst-strfmon_l.out): Require locales.
3999 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4001         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4002         if not in libc.
4003         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4004         Likewise.
4005         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4006         Likewise.
4007         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4008         Likewise.
4010 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4012         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4013         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4014         with unaligned_erms.
4015         (__memmove_erms): Skip if source == destination.
4016         (__memmove_unaligned_erms): Don't check source == destination
4017         first.
4019 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4021         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4022         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4024 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4026         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4027         * string/strspn.c (strspn): Likewise.
4029 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4031         * benchtests/bench-memset.c (do_test): Support 64-byte
4032         alignment.
4033         (test_main): Test 64-byte alignment.
4035 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4037         * benchtests/bench-memmove.c (test_main): Test 64-byte
4038         alignment.
4040 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4042         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4044 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4046         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4047         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4048         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4050         * string/strpbrk.c (strpbrk): Rewrite function.
4051         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4052         (__strpbrk_c2): Likewise.
4053         (__strpbrk_c3): Likewise.
4054         * string/string-inlines.c
4055         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4056         Likewise.
4057         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4058         Likewise.
4060         * string/strspn.c (strcspn): Rewrite function.
4061         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4062         (__strspn_c1): Remove inline function.
4063         (__strspn_c2): Likewise.
4064         (__strspn_c3): Likewise.
4065         * string/string-inlines.c
4066         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4067         compatibility symbol.
4068         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4069         Likewise.
4070         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4071         Likewise.
4072         * string/string-inlines.c: Include generic version.
4074 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4075             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4077         * string/Version (libc): Add GLIBC_2.24.
4078         * string/strcspn.c (strcspn): Rewrite function.
4079         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4080         (__strcspn_c1): Remove inline function.
4081         (__strcspn_c2): Likewise.
4082         (__strcspn_c3): Likewise.
4083         * string/string-inline.c
4084         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4085         compatibility symbol.
4086         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4087         Likewise.
4088         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4089         Likewise.
4090         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4092 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4094         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4095         Use ahi instead of aghi to adjust stack pointer.
4097 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4099         [BZ #19853]
4100         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4101         TEST to take significant digits as second parameter.
4102         [TEST]: Redefine in terms of TEST_N taking 30
4103         significant digits.
4104         (do_test): Add test case to demonstrate precision
4105         failure in the ldbl-128ibm printf.
4106         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4107         (__mpn_extract_long_double): Carry 7 extra intermediate
4108         bits of precision to aide computing difference when
4109         signs differ.
4111 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4113         [BZ #19881]
4114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4115         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4116         memset-avx512-unaligned-erms.
4117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4118         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4119         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4120         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4121         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4122         __memset_sse2_unaligned_erms, __memset_erms,
4123         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4124         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4125         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4126         file.
4127         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4128         Likewise.
4129         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4130         Likewise.
4131         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4132         Likewise.
4134 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4136         [BZ #19776]
4137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4138         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4139         memmove-avx512-unaligned-erms.
4140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4141         (__libc_ifunc_impl_list): Test
4142         __memmove_chk_avx512_unaligned_2,
4143         __memmove_chk_avx512_unaligned_erms,
4144         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4145         __memmove_chk_sse2_unaligned_2,
4146         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4147         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4148         __memmove_avx512_unaligned_erms, __memmove_erms,
4149         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4150         __memcpy_chk_avx512_unaligned_2,
4151         __memcpy_chk_avx512_unaligned_erms,
4152         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4153         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4154         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4155         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4156         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4157         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4158         __mempcpy_chk_avx512_unaligned_erms,
4159         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4160         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4161         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4162         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4163         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4164         __mempcpy_erms.
4165         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4166         file.
4167         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4168         Likwise.
4169         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4170         Likwise.
4171         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4172         Likwise.
4174 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4176         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4177         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4178         (La_s390_64_regs): Likewise.
4179         (La_s390_32_retval): Append vector register lrv_v24.
4180         (La_s390_64_retval): Likeweise.
4181         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4182         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4183         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4184         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4186 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4188         [BZ #19916]
4189         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4190         to create a non-vector/vector version for _dl_runtime_resolve and
4191         _dl_runtime_profile. Move implementation to ...
4192         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4193         (_dl_runtime_resolve) Save and restore fpr/vrs.
4194         (_dl_runtime_profile) Save and restore vrs and fix some issues
4195         if _dl_call_pltexit is called.
4196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4197         Choose the correct resolver function if running on a machine with vx.
4198         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4199         to create a non-vector/vector version for _dl_runtime_resolve and
4200         _dl_runtime_profile. Move implementation to ...
4201         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4202         (_dl_runtime_resolve) Save and restore fpr/vrs.
4203         (_dl_runtime_profile) Save and restore vrs and fix some issues
4204         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4205         Choose the correct resolver function if running on a machine with vx.
4207 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4209         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4211 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4213         [BZ #19509]
4214         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4215         skip_map != NULL.
4216         * elf/tst-dlsym-error.c: New file.
4217         * elf/Makefile (tests): Add tst-dlsym-error.
4218         (tst-dlsym-error): Link against libdl.
4220 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4222         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4223         (__ASSUME_FUTIMESAT): Remove macro.
4224         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4226 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4228         [BZ #19879]
4229         CVE-2016-3075
4230         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4231         copy name.
4233 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4235         [BZ #19837]
4236         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4237         error if parse_line fails.
4239 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4241         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4242         (index_cpu_ERMS): Likewise.
4243         (reg_ERMS): Likewise.
4245 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4247         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4248         PER_LINUX_FDPIC): Add.
4250 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4253         memcpy-avx512-no-vzeroupper.
4254         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4255         to ...
4256         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4257         (MEMCPY): Don't define.
4258         (MEMCPY_CHK): Likewise.
4259         (MEMPCPY): Likewise.
4260         (MEMPCPY_CHK): Likewise.
4261         (MEMPCPY_CHK): Renamed to ...
4262         (__mempcpy_chk_avx512_no_vzeroupper): This.
4263         (MEMPCPY_CHK): Renamed to ...
4264         (__mempcpy_chk_avx512_no_vzeroupper): This.
4265         (MEMCPY_CHK): Renamed to ...
4266         (__memmove_chk_avx512_no_vzeroupper): This.
4267         (MEMCPY): Renamed to ...
4268         (__memmove_avx512_no_vzeroupper): This.
4269         (__memcpy_avx512_no_vzeroupper): New alias.
4270         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4272 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4274         [BZ #18858]
4275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4276         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4277         and mempcpy-avx512-no-vzeroupper.
4278         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4279         New.
4280         (MEMPCPY): Likewise.
4281         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4282         (MEMPCPY_CHK): New.
4283         (MEMPCPY): Likewise.
4284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4285         (MEMPCPY): Likewise.
4286         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4287         (MEMPCPY): Likewise.
4288         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4289         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4290         Likewise.
4291         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4292         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4294 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4295              Amit Pawar  <Amit.Pawar@amd.com>
4297         [BZ #19583]
4298         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4299         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4300         processors.  Set Fast_Copy_Backward for AMD Excavator
4301         processors.
4302         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4303         New.
4304         (index_arch_Fast_Unaligned_Copy): Likewise.
4305         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4306         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4308 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4310         [BZ #19791]
4311         * resolv/res_send.c (close_and_return_error): New function.
4312         (send_dg): Initialize *resplen2 after reopen failure.  Call
4313         close_and_return_error for error returns.  On error paths without
4314         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4315         successful return.
4317 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4319         [BZ# 19860]
4320         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4321         zero if the compiler does not provide the AVX512F bit.
4323 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4325         [BZ #19848]
4326         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4327         from 8 to 4.
4328         (__ieee754_powl): Compare integer exponent against 4 not 8.
4329         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4330         from 8 to 4.
4331         (__ieee754_powl): Compare integer exponent against 4 not 8.
4332         * math/auto-libm-test-in: Add more tests of pow.
4333         * math/auto-libm-test-out: Regenerated.
4334         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4337 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4339         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4340         Make code unconditional.
4341         [!__NR_utimensat]: Remove conditional code.
4342         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4343         Make code unconditional.
4344         [!__NR_utimensat]: Remove conditional code.
4345         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4346         Make code unconditional.
4347         [!__NR_utimensat]: Remove conditional code.
4349 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4351         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4352         Make code unconditional.
4354 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4356         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4357         call-clobbered %eax on retry path.
4358         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4360 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4362         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4363         Don't set %rcx twice before "rep movsb".
4365 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4367         [BZ #19583]
4368         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4369         inline.  Check family before setting family, model and
4370         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4371         bits here.
4372         (init_cpu_features): Replace HAS_CPU_FEATURE and
4373         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4374         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4375         for Intel processors with usable AVX2.  Call get_common_indeces
4376         for other processors with family == NULL.
4377         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4378         (CPU_FEATURES_ARCH_P): Likewise.
4379         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4380         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4382 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4384         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4385         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4386         $(shared-thread-library) instead of hardcoding the path to libpthread.
4388 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4390         * sysdeps/unix/sysv/linux/kernel-features.h
4391         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4392         * sysdeps/unix/sysv/linux/getdents.c
4393         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4394         [!have_no_getdents64_defined]: Likewise.
4395         (__GETDENTS): Remove __have_no_getdents64 conditional.
4397 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4400         Remove macro.
4401         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4402         <kernel-features.h>.
4403         (signalfd) [__NR_signalfd4]: Make code unconditional.
4404         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4406 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4408         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4409         style.
4411 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4413         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4414         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4415         __pthread_unwind.
4416         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4417         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4418         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4419         (__condvar_cleanup1): Likewise.
4421 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4423         [BZ #19822]
4424         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4425         move it to the final $@ location.
4427 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4429         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4430         access where posix_spawn success and pid argument is null.
4431         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4432         success case.
4434 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4436         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4438         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4440         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4441         and __fcntl.
4442         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4443         __fcntl only.
4444         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4445         adding attribute_hidden to __open and __fcntl.
4447         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4448         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4449         depend on libc-modules.h,
4450         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4452 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4454         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4455         Remove macro.
4456         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4457         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4458         entry.
4460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4461         Remove macro.
4462         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4463         include <kernel-features.h>.
4464         [!__ASSUME_FALLOCATE]: Remove conditional code.
4465         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4467 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4470         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4472         (_ZGVdN4v_cos_avx2): Likewise.
4473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4474         (_ZGVdN4v_cos): Likewise.
4475         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4476         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4477         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4478         (_ZGVdN4v_exp_avx2): Likewise.
4479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4480         (_ZGVdN4v_exp): Likewise.
4481         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4482         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4483         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4484         (_ZGVdN4v_log_avx2): Likewise.
4485         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4486         (_ZGVdN4v_log): Likewise.
4487         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4488         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4489         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4490         (_ZGVdN4vv_pow_avx2): Likewise.
4491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4492         (_ZGVdN4vv_pow): Likewise.
4493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4494         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4496         (_ZGVdN4v_sin_avx2): Likewise.
4497         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4498         (_ZGVdN4v_sin): Likewise.
4499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4500         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4502         (_ZGVdN4vvv_sincos_avx2): Likewise.
4503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4504         (_ZGVdN4vvv_sincos): Likewise.
4505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4506         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4507         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4508         (_ZGVbN4v_cosf_sse4): Likewise.
4509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4510         (_ZGVdN8v_cosf_avx2): Likewise.
4511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4512         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4513         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4514         (_ZGVbN4v_expf_sse4): Likewise.
4515         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4516         (_ZGVdN8v_expf_avx2): Likewise.
4517         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4518         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4519         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4520         (_ZGVbN4v_logf_sse4): Likewise.
4521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4522         (_ZGVdN8v_logf_avx2): Likewise.
4523         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4524         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4525         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4526         (_ZGVbN4vv_powf_sse4): Likewise.
4527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4528         (_ZGVdN8vv_powf_avx2): Likewise.
4529         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4530         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4532         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4534         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4535         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4536         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4537         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4538         (_ZGVbN4v_sinf_sse4): Likewise.
4539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4540         (_ZGVdN8v_sinf_avx2): Likewise.
4541         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4542         Use JUMPTARGET to call callee.
4543         (WRAPPER_IMPL_SSE2_ff): Likewise.
4544         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4545         (WRAPPER_IMPL_AVX): Likewise.
4546         (WRAPPER_IMPL_AVX_ff): Likewise.
4547         (WRAPPER_IMPL_AVX_fFF): Likewise.
4548         (WRAPPER_IMPL_AVX512): Likewise.
4549         (WRAPPER_IMPL_AVX512_ff): Likewise.
4550         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4551         Likewise.
4552         (WRAPPER_IMPL_SSE2_ff): Likewise.
4553         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4554         (WRAPPER_IMPL_AVX): Likewise.
4555         (WRAPPER_IMPL_AVX_ff): Likewise.
4556         (WRAPPER_IMPL_AVX_fFF): Likewise.
4557         (WRAPPER_IMPL_AVX512): Likewise.
4558         (WRAPPER_IMPL_AVX512_ff): Likewise.
4559         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4561 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4563         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4564         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4565         qualifier.
4566         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4567         internal_function qualifiers.
4569 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4571         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4572         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4573         * math/atest-exp.c (exp_mpn): Mark chk unused.
4574         * math/atest-exp2.c (exp_mpn): Likwise.
4575         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4576         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4578 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4581         Remove macro.
4582         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4583         <kernel-features.h>.
4584         [__NR_ppoll]: Make code unconditional.
4585         [!__ASSUME_PPOLL]: Remove conditional code.
4587         * sysdeps/unix/sysv/linux/kernel-features.h
4588         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4589         (__ASSUME_ACCEPT4): Likewise.
4590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4591         Define.
4592         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4593         Likewise.
4594         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4595         Likewise.
4596         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4597         Likewise.
4598         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4599         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4601         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4602         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4603         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4604         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4605         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4606         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4607         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4608         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4609         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4610         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4612         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4613         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4614         Likewise.
4615         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4616         Likewise.
4617         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4618         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4619         0x040300].
4620         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4621         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4622         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4623         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4624         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4625         0x030300].
4626         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4627         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4628         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4629         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4630         0x040300].
4631         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4634         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4635         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4636         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4637         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4638         0x030300].
4639         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4640         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4641         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4642         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4643         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4644         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4645         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4647         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4648         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4649         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4650         0x040300].
4651         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4653         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4654         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4656         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4657         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4658         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4665         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4666         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4668         Likewise.
4669         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4670         Likewise.
4672 2016-03-15  Andreas Schwab  <schwab@suse.de>
4674         [BZ #19257]
4675         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4676         statp->_u._ext.nscount as loop count.
4678 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4680         * math/test-signgam-finite-c99.c: Also #undef
4681         __LIBC_INTERNAL_MATH_INLINES.
4682         * math/test-signgam-main.c: Likewise.
4684 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4686         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4687         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4688         (MADV_FREE): Likewise.
4689         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4690         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4691         EPOLLEXCLUSIVE.
4693 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4695         * timezone/README: Remove mention of checktab.awk. Mention wiki
4696         SharedSourceFiles.
4698 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4700         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4701         WUNTRACED.
4703 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4705         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4706         order to match the type of p when calling atomic_exchange_acq().
4708 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4710         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4711         cfi_offset calls.
4712         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4713         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4714         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4715         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4716         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4718 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4720         * timezone/checktab.awk: Removed.
4722 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4724         * manual/math.texi (Errors in Math Functions): Document relaxed
4725         accuracy goals for IBM long double.
4726         * math/libm-test.inc (test_exceptions): Always allow spurious
4727         "underflow" and "inexact" exceptions for IBM long double.
4729 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4731         [BZ #19762]
4732         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4733         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4734         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4735         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4736         (bit_arch_*): This for feature array.
4737         (bit_*): Renamed to ...
4738         (bit_cpu_*): This for cpu array.
4739         (index_*): Renamed to ...
4740         (index_arch_*): This for feature array.
4741         (index_*): Renamed to ...
4742         (index_cpu_*): This for cpu array.
4743         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4744         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4745         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4746         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4747         bit_##name with index_cpu_##name and bit_cpu_##name.
4748         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4749         bit_##name with index_arch_##name and bit_arch_##name.
4751 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4753         [BZ #19792]
4754         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4755         Terminate FDE before return label.
4757 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4759         [BZ #19790]
4760         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4761         (rintl): Define as macro.
4762         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4763         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4764         of fesetround.  Ensure results are evaluated before end of scope.
4765         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4766         USE_AS_NEARBYINTL and include s_rintl.c.
4767         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4768         Disable exception traps in new environment.
4769         (libc_feholdsetround_ppc_ctx): Likewise.
4771 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4773         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4774         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4775         (tst_audit10_aux) [__AVX512F__]: ... here.
4777 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4779         * include/sys/auxv.h: New file.
4781 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4783         [BZ #19759]
4784         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4786 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4788         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4789         operand modifier.
4790         (feclearexcept): Likewise.
4792 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4794         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4795         to reflect the entire 32-bit HWCAP.
4796         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4797         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4799 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4801         [BZ #19783]
4802         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4803         $(test-via-rtld-prefix).
4804         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4806 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4808         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4809         union wait.  Report any non-zero exit status as error.
4811 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4813         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4814         configured with --enable-hardcoded-path-in-tests.
4816 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4818         [BZ #19677]
4819         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4820         (__ieee754_remainderl): Put zero low parts in canonical form.
4821         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4822         file.  Based on
4823         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4824         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4825         with wrapper round test-fmodrem-ldbl-128ibm.c.
4826         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4827         file.
4828         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4829         Likewise.
4830         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4831         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4833 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4835         [BZ #19610]
4836         * elf/ldconfig.c (opt_link): Update comment.
4837         (options): Update help string for option -X.
4838         (search_dir): Unlink stale symbolic link only if updating symbolic
4839         links.
4840         * elf/tst-ldconfig-X.sh: New file.
4841         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4842         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4844 2016-03-07  Andreas Schwab  <schwab@suse.de>
4846         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4847         needed arguments.
4849 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4851         [BZ #15333]
4852         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4853         to lstat64.
4855 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4857         * libio/filedoalloc.c (isatty): Remove.
4858         (local_isatty): Add comment.  Call __isatty directly.
4859         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4860         * libio/wfiledoalloc.c (isatty): Remove.
4861         (_IO_wfile_doallocate): Update comment.
4863 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4865         [BZ #19269]
4866         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4867         tst-audit4-aux.o.
4868         (tst-audit10): Depend on tst-audit10-aux.o.
4869         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4870         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4871         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4872         instead of inline AVX code.
4873         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4874         instead of inline AVX512 code.
4875         * sysdeps/x86_64/tst-audit4-aux.c: New file
4876         * sysdeps/x86_64/tst-audit10-aux.c: New file
4878         [BZ #19648]
4879         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4881 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4883         [BZ #14750]
4884         [BZ #10354]
4885         [BZ #18433]
4886         * include/sched.h (__clone): Add hidden prototype.
4887         (__clone2): Likewise.
4888         * include/unistd.h (__dup): Likewise.
4889         * posix/Makefile (tests): Add tst-spawn2.
4890         * posix/tst-spawn2.c: New file.
4891         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4892         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4893         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4894         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4895         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4896         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4897         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4898         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4899         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4900         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4901         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4903         Likewise.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4905         Likewise.
4906         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4907         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4908         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4910         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4911         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4912         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4913         * sysdeps/unix/sysv/linux/nptl-signals.h
4914         (____nptl_is_internal_signal): New function.
4915         * sysdeps/unix/sysv/linux/spawni.c: New file.
4917         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4918         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4919         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4920         * posix/tst-execvp2.c (do_test): Likewise.
4921         * posix/tst-execvp3.c (do_test): Likewise.
4922         * posix/tst-execvp4.c (do_test): Likewise.
4923         * posix/tst-execvpe1.c: New file.
4924         * posix/tst-execvpe2.c: Likewise.
4925         * posix/tst-execvpe3.c: Likewise.
4926         * posix/tst-execvpe4.c: Likewise.
4927         * posix/tst-execvpe5.c: Likewise.
4928         * posix/tst-execvpe6.c: Likewise.
4930         [BZ #19534]
4931         * posix/execl.c (execl): Remove dynamic memory allocation.
4932         * posix/execle.c (execle): Likewise.
4933         * posix/execlp.c (execlp): Likewise.
4935 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4937         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4938         Replace .text with .text.avx512.
4939         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4940         Likewise.
4942 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4944         * sysdeps/generic/libnsl.abilist: New file.
4945         * sysdeps/generic/libutil.abilist: New file.
4947 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4949         [BZ #19762]
4950         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4951         HAS_ARCH_FEATURE with Fast_Rep_String.
4952         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4953         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4954         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4955         Likewise.
4956         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4957         Likewise.
4958         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4959         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4960         Likewise.
4961         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4962         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4963         Likewise.
4965 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4967         [BZ #19745]
4968         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4969         with *%rax in call.
4971 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4973         [BZ #19745]
4974         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4975         with *__libc_start_main@GOTPCREL(%rip) in call.
4977 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4979         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4980         inside conditional for nonempty $(CXX).
4982         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4983         nonempty.
4985         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4986         to test for empty $(CXX) rather than $(CXX) of "no".
4988 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4990         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4992 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4993             H.J. Lu  <hongjiu.lu@intel.com>
4995         [BZ #18880]
4996         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4997         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4998         enable __memcpy_ssse3_back.
5000 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5002         [BZ #19758]
5003         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5004         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5006 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5008         [BZ #19490]
5009         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5010         (__fentry__): Likewise.
5012 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5014         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5015         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5017 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5019         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5020         __mcount_internal directly.
5021         (C_LABEL(__fentry__)): Likewise.
5022         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5023         directly.
5025 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5027         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5028         (__start_context): Call __setcontext directly.
5030 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5033         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5034         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5035         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5037         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5038         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5039         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5040         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5041         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5042         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5043         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5044         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5045         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5046         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5047         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5048         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5050         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5051         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5052         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5054         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5055         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5056         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5057         Remove conditional code.
5058         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5059         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5060         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5061         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5062         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5063         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5064         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5065         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5066         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5067         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5068         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5069         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5071 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5073         * NEWS (2.23): Fix typo in bug 19048 text.
5075 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5077         [BZ #14259]
5078         * Makeconfig: Rename msgcatdir to localedir.
5079         Rename inst_msgcatdir to inst_localedir.
5080         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5081         * config.make.in: Add localedir.
5082         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5083         (ldd-rewrite): Likewise.
5084         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5085         (install-others): Use inst_localedir.
5086         (CPPFLAGS): Use localedir.
5087         * locale/Makefile (locale-CPPFLAGS): Likewise.
5088         * po/Makefile (mo-installed): Use inst_localedir.
5090         [BZ #19575]
5091         * localedata/charmaps/GB18030: Update comments regarding PAU to
5092         non-PUA mappings.
5094 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5096         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5097         test for header.
5098         * sysdeps/unix/sysv/linux/configure: Regenerated.
5099         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5100         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5101         Remove conditional code.
5102         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5104         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5105         Define to 3.2.0.
5106         (arch_minimum_kernel): Likewise.
5107         * sysdeps/unix/sysv/linux/configure: Regenerated.
5108         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5109         Define to 2.6.32.
5110         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5111         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5112         (arch_minimum_kernel): Define to 2.6.32.
5113         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5114         * README: Document Linux 3.2 requirement.
5115         * manual/install.texi (Linux): Document Linux 3.2 headers
5116         requirement.
5117         * INSTALL: Regenerated.
5119 2016-02-24  Andreas Schwab  <schwab@suse.de>
5121         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5122         if !NO_LONG_DOUBLE.
5124 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5126         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5127         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5129 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5131         [BZ #19512]
5132         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5134 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5136         * posix/tst-dir.c: Include libc-internal.h.
5138 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5140         [BZ #19056]
5141         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5142         * manual/filesys.texi (Reading/Closing Directory): Mention
5143         deprecaion.
5144         * posix/tst-dir.c (main): Disable deprecation warning in test.
5146 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5148         [BZ #19679]
5149         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5150         Renamed to ...
5151         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5152         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5153         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5154         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5155         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5156         * sysdeps/x86_64/dl-trampoline.h
5157         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5158         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5160 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5162         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5164 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5166         * elf/elf.h (R_386_GOT32X): New.
5167         (R_386_NUM): Update.
5168         (R_X86_64_GOTPCRELX: New.
5169         (R_X86_64_REX_GOTPCRELX): New.
5170         (R_X86_64_NUM): Update.
5172 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5174         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5176 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5178         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5179         assign attr->stackaddr to it, and adjust it down when
5180         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5181         [_STACK_GROWS_UP]: Delete assert.
5182         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5183         Implement stack grows up logic.
5184         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5185         stack grows up logic.
5187 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5189         * NEWS: Update with 2.24 template.
5191 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5193         [BZ #19678]
5194         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5195         Ensure +0.0 is returned when taking the next value below the least
5196         positive value.
5198 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5200         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5201         available.  Do not define NO_THREADS.
5202         * malloc/malloc.c: Do not check NO_THREADS.
5203         * malloc/arena.c: Likewise.
5205 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5207         * malloc/malloc.c (__libc_mallinfo): Update comment.
5208         (struct malloc_par): Remove max_total_mem member, it was always 0.
5209         (int_mallinfo): Store 0 into usmblks (no functional change).
5210         * malloc/hooks.c (struct malloc_state): Document that
5211         max_total_mem is always 0.
5212         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5213         always 0.
5214         * manual/memory.texi (Statistics of Malloc): Likewise.
5216 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5218         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5219         * malloc/arena.c (arena_max): Remove.
5220         (heap_trim, _int_new_arena): Do not update arena_max.
5222 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5224         * resolv/res_init.c (res_ninit): Update comment.
5226 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5228         [BZ #19505]
5229         * posix/spawn_int.h: Add headers and include guard.
5230         (__spawn_valid_fd): New function.
5231         * posix/spawn_faction_addopen.c
5232         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5233         * posix/spawn_faction_addclose.c
5234         (posix_spawn_file_actions_addclose): Likewise.
5235         * posix/spawn_faction_adddup2.c
5236         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5237         second file descriptor.
5238         * posix/spawn_valid_fd.c: New file.
5239         * posix/tst-posix_spawn-fd.c: New file.
5240         * posix/Makefile (routines): Add spawn_valid_fd.
5241         (tests): Add tst-posix_spawn-fd.
5243 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5245         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5246         (do_test): Limit the number of arenas, so that we can use fewer
5247         outer threads.  Limit timeout to 3 seconds, in preparation for a
5248         larger TIMEOUT value.
5250 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5252         [BZ #19674]
5253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5254         sign in overflowing and underflowing results when overflow or
5255         underflow is detected early.  Include sign in result before rather
5256         than after scaling.
5258         [BZ #19603]
5259         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5260         (__ieee754_remainderl): Adjust sign of integer version of low part
5261         when taking absolute value of high part.
5262         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5263         * math/libm-test.inc (remainder_test_data): Add another test.
5264         (remquo_test_data): Likewise.
5266 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5268         [BZ #19602]
5269         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5270         equal high parts and both low parts zero specially.
5271         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5272         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5273         Add test-fmodl-ldbl-128ibm.
5275         [BZ #19595]
5276         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5277         common logic for all cases of shifting subnormal results.  Do not
5278         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5279         exponent to ldbl_insert_mantissa in subnormal case.
5281         [BZ #19594]
5282         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5283         on high and low parts then adjust result and use
5284         ldbl_canonicalize_int if needed.
5286         [BZ #19593]
5287         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5288         on high part and __floor or __ceil on low part then use
5289         ldbl_canonicalize_int if needed.
5291         [BZ #19592]
5292         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5293         high and low parts then use ldbl_canonicalize_int if needed.
5295         [BZ #17899]
5296         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5297         New function.
5298         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5299         on high and low parts then use ldbl_canonicalize_int if needed.
5301 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5303         * configure: Regenerated.
5305         * po/libc.pot: Regenerated.
5307         * po/be.po: Updated translation.
5308         * po/bg.po: Likewise.
5309         * po/ca.po: Likewise.
5310         * po/cs.po: Likewise.
5311         * po/da.po: Likewise.
5312         * po/el.po: Likewise.
5313         * po/eo.po: Likewise.
5314         * po/es.po: Likewise.
5315         * po/fi.po: Likewise.
5316         * po/fr.po: Likewise.
5317         * po/gl.po: Likewise.
5318         * po/hr.po: Likewise.
5319         * po/hu.po: Likewise.
5320         * po/ia.po: Likewise.
5321         * po/id.po: Likewise.
5322         * po/it.po: Likewise.
5323         * po/ja.po: Likewise.
5324         * po/lt.po: Likewise.
5325         * po/nb.po: Likewise.
5326         * po/nl.po: Likewise.
5327         * po/pt_BR.po: Likewise.
5328         * po/rw.po: Likewise.
5329         * po/sk.po: Likewise.
5330         * po/sl.po: Likewise.
5331         * po/sv.po: Likewise.
5332         * po/tr.po: Likewise.
5333         * po/zh_CN.po: Likewise.
5334         * po/zh_TW.po: Likewise.
5336         * version.h (RELEAES): Set to "development".
5337         (VERSION): Set to 2.23.90.
5339         * version.h (RELEASE): Set to "stable".
5340         (VERSION): Set to 2.23.
5341         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5343         * NEWS: Updated fixed bugs.
5345 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5346             Wilco Dijkstra  <wdijkstr@arm.com>
5348         [BZ #19462]
5349         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5350         (_STRING_INLINE_unaligned): This.
5351         * include/string.h: Include <string_private.h>.
5352         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5353         _STRING_INLINE_unaligned.
5354         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5355         (_STRING_INLINE_unaligned): New.
5356         * sysdeps/aarch64/string_private.h: New file.
5357         * sysdeps/generic/string_private.h: Likewise.
5358         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5359         * sysdeps/s390/string_private.h: Likewise.
5360         * sysdeps/x86/string_private.h: Likewise.
5361         * sysdeps/m68k/m680x0/m68020/bits/string.h
5362         (_STRING_ARCH_unaligned): Renamed to ...
5363         (_STRING_INLINE_unaligned): This.
5364         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5365         to ...
5366         (_STRING_INLINE_unaligned): This.
5367         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5368         to ...
5369         (_STRING_INLINE_unaligned): This.
5370         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5371         to ...
5372         (_STRING_INLINE_unaligned): This.
5374 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5375             H.J. Lu  <hongjiu.lu@intel.com>
5377         [BZ #19590]
5378         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5379         relocation.
5381 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5383         [BZ #18665]
5384         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5385         *herrno_p.
5386         (gaih_getanswer): Document functional behviour. Return tryagain
5387         if any result is tryagain.
5388         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5389         when freed.
5390         * resolv/res_send.c: Add copyright text.
5391         (__libc_res_nsend): Document that MAXPACKET is expected.
5392         (send_vc): Document. Remove buffer reuse.
5393         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5394         size of the buffer. Add Dprint for truncated UDP buffer.
5396 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5398         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5399         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5400         * INSTALL: Regenerate.
5402 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5403             Jonathan Wakely  <jwakely@redhat.com>
5404             Carlos O'Donell  <carlos@redhat.com>
5406         [BZ 19439]
5407         * math/Makefile (tests): Add test-math-isinff.
5408         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5409         * math/bits/mathcalls.h [__USE_MISC]: Use
5410         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5411         functions not in C++11 and which don't conflict e.g. isinff,
5412         isinfl etc.
5413         * math/test-math-isinff.cc: New file.
5415 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5417         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5419 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5421         [BZ #19529]
5422         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5424 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5426         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5428 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5430         [BZ #19550]
5431         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5432         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5433         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5434         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5435         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5436         New syscall entry.
5437         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5438         New syscall entry.
5439         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5440         syscall entry.
5442 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5444         [BZ #18240]
5445         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5446         unsigned int wraparound.
5448 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5450         [BZ #18240]
5451         * misc/bug18240.c: New test.
5452         * misc/Makefile (tests): Add it.
5454 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5455             Joseph Myers  <joseph@codesourcery.com>
5457         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5458         load in branch delay slot when less than a word of input left.
5460 2016-01-27  Andreas Schwab  <schwab@suse.de>
5462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5463         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5464         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5465         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5467 2016-01-26  David S. Miller  <davem@davemloft.net>
5469         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5471 2016-01-25  David S. Miller  <davem@davemloft.net>
5473         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5474         __sqrtl_finite.
5475         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5476         instead using versioned_symbol.
5477         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5478         of entries.
5480         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5481         __sqrtl_finite to GLIBC_2.23
5483 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5485         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5487 2016-01-25  Andreas Schwab  <schwab@suse.de>
5489         [BZ #17514]
5490         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5491         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5492         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5493         * nptl/tst-mutex-errorcheck.c: New file.
5495 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5497         [BZ #18560]
5498         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5499         (IPCOP_semop): Likewise.
5500         (IPCOP_semget): Likewise.
5501         (IPCOP_semctl): Likewise.
5502         (IPCOP_msgsnd): Likewise.
5503         (IPCOP_msgrcv): Likewise.
5504         (IPCOP_msgget): Likewise.
5505         (IPCOP_msgctl): Likewise.
5506         (IPCOP_shmat): Likewise.
5507         (IPCOP_shmdt): Likewise.
5508         (IPCOP_shmget): Likewise.
5509         (IPCOP_shmctl): Likewise.
5511 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5513         * string/tst-endian.c: Include <libc-internal.h>.
5514         (do_test): Ignore tautological-compare warnings around
5515         "htobeXX (beXXtoh (i)) != i" and
5516         "htoleXX (leXXtoh (i)) != i" if-statements.
5518 2016-01-24  David S. Miller  <davem@davemloft.net>
5520         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5521         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5522         alias.
5523         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5524         __sqrtl_finite.
5526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5528 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5530         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5531         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5532         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5534 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5536         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5537         (thread_func): Use new function to simplify barrier check.
5538         (do_test): Use new function to simplify checking barrier exit
5539         code, and actually join the child thread.
5541 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5543         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5544         semicolon.
5545         (__libc_tend): Likewise.
5546         (__libc_tabort): Likewise.
5548 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5550         * sysdeps/nios2/libm-test-ulps: Update.
5551         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5552         (__gtsf2): Likewise.
5553         (__unorddf2): Likewise.
5554         (__unordsf2): Likewise.
5555         (__ledf2): Likewise.
5557 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5559         * nis/nis_table.c (__follow_path): Disable diagnostic for
5560         uninitialized variable that is a false positive for gcc 4.7.
5561         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5563 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5565         * sysdeps/nacl/lowlevellock-futex.h
5566         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5567         Always evaluate PRIVATE argument.
5569 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5571         [BZ #19490]
5572         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5573         (pthread_cond_broadcast): Use ENTRY/END
5574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5575         (pthread_cond_signal): Likewise.
5576         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5577         Likewise.
5578         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5579         Likewise.
5580         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5581         Likewise.
5583 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5585         * sysdeps/ieee754/dbl-64/s_finite.c
5586         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5587         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5588         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5590         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5593         (__gtsf2): Add as optional for libc.so.
5594         (__unordsf2): Likewise.
5595         (__signbit): Remove for libc.so.
5596         (__signbitl): Likewise.
5598 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5600         * iconvdata/bug-iconv11.c (test_ibm93x):
5601         Use %zu printf format specifier for size_t argument.
5603 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5605         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5606         already-recorded ulps.
5607         * sysdeps/arm/libm-test-ulps: Regenerated.
5608         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5609         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5610         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5612 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5613             Paul Pluzhnikov  <ppluzhnikov@google.com>
5615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5616         assembler not supporting AVX-512.
5618 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5620         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5622 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5624         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5625         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5627         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5629         * sysdeps/arm/libm-test-ulps: Regenerated.
5631 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5633         [BZ #19451]
5634         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5636 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5638         [BZ #19486]
5639         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5640         * sysdeps/generic/fix-fp-int-convert-overflow.h
5641         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5642         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5643         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5644         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5645         Likewise.
5646         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5647         Avoid conversions to long int where inexact exceptions
5648         could be raised.
5649         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5650         Likewise.
5651         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5652         Avoid conversions to long long int where inexact exceptions
5653         could be raised.
5654         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5655         Likewise.
5657 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5659         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5660         * configure: Regenerated.
5662 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5664         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5666 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5668         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5669         outside of comment.
5671 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5673         * nptl/tst-barrier1.c: Add description on first line.
5674         * nptl/tst-barrier2.c: Likewise.
5675         * nptl/tst-barrier3.c: Likewise.
5676         * nptl/tst-barrier4.c: Likewise.
5677         * nptl/tst-barrier5.c: Likewise.
5679 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5681         [BZ #18868]
5682         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5684 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5688         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5689         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5690         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5691         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5692         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5693         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5694         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5695         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5696         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5698 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5700         [BZ #13065]
5701         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5702         new implementation.
5703         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5704         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5705         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5706         (BARRIER_IN_THRESHOLD): New macro.
5707         * nptl/pthread_barrierattr_setpshared.c
5708         (pthread_barrierattr_setpshared): Clean up.
5709         * nptl/tst-barrier4.c: Correct comment.
5710         * nptl/tst-barrier5.c: New file.
5711         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5712         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5713         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5714         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5715         * nptl/lowlevelbarrier.sym: Remove.
5716         * nptl/DESIGN-barrier.txt: Remove.
5717         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5718         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5719         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5720         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5721         error.
5722         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5723         implementation.
5725 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5727         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5728         (do_child): Mask SIGRTMIN while thr is running.
5730 2016-01-15  Martin Sebor  <msebor@redhat.com>
5732         [BZ #19432]
5733         * iconvdata/Makefile: Add bug-iconv11.
5734         * iconvdata/bug-iconv11.c: New test.
5735         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5736         * iconvdata/ibm933.c: Same.
5737         * iconvdata/ibm935.c: Same.
5738         * iconvdata/ibm937.c: Same.
5739         * iconvdata/ibm939.c: Same.
5741 2016-01-15  Martin Sebor  <msebor@redhat.com>
5743         [BZ #19443]
5744         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5745         [DEBUG] (_ufc_set_bits): Declare used.
5746         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5747         [DEBUG] (print_all): Declare used.
5748         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5749         operands of the ternary ?: expression to target type.
5750         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5751         calling the undeclared abort.
5752         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5754 2016-01-15  Martin Sebor  <msebor@redhat.com>
5756         [BZ #18755]
5757         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5758         warnings.
5759         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5760         (__gai_create_helper_thread): Same.
5761         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5762         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5763         to suppress -Wmaybe-uninitialized warnings.
5765 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5767         [BZ #19465]
5768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5769         inside if.
5770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5771         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5774 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5776         [BZ #19466]
5777         * time/tst-mktime2.c (time_t_max): Removed.
5778         (time_t_min): Likewise.
5779         (TYPE_SIGNED): New.
5780         (TYPE_MINIMUM): Likewise.
5781         (TYPE_MAXIMUM): Likewise.
5782         (TIME_T_MIN): Likewise.
5783         (TIME_T_MAX): Likewise.
5784         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5785         and TIME_T_MIN.
5786         (do_test): Likewise.
5788 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5790         [BZ #19467]
5791         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5792         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5794 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5796         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5798 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5800         * benchtests/Makefile (PYTHON): Define.
5801         (bench-func): Use $(PYTHON) to run python scripts.
5802         ($(objpfx)bench-%.c): Likewise.
5804 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5806         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5807         leading slash when `file_name' is "/".
5809 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5811         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5812         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5813         Likewise.
5814         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5815         Likewise.
5816         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5817         Likewise.
5818         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5819         enum constant and macro.
5820         (PTRACE_SETSIGMASK): Likewise.
5821         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5822         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5823         (PTRACE_GETSIGMASK): Likewise.
5824         (PTRACE_SETSIGMASK): Likewise.
5825         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5826         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5827         Likewise.
5828         (PTRACE_SETSIGMASK): Likewise.
5829         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5830         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5831         (PTRACE_GETSIGMASK): Likewise.
5832         (PTRACE_SETSIGMASK): Likewise.
5833         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5834         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5835         Likewise.
5836         (PTRACE_SETSIGMASK): Likewise.
5837         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5839         Likewise.
5840         (PTRACE_SETSIGMASK): Likewise.
5841         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5842         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5843         Likewise.
5844         (PTRACE_SETSIGMASK): Likewise.
5845         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5847 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5848             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5850         [BZ #19439]
5851         * math/bits/mathcalls.h
5852         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5853         prototype.
5854         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5856 2016-01-11  Andreas Schwab  <schwab@suse.de>
5858         [BZ #19253]
5859         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5860         cache when TZDEFRULES was used.
5861         * time/tst-tzname.c: New file.
5862         * time/Makefile (test): Add tst-tzname.
5863         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5864         * timezone/Makefile (test-zones): Add $(posixrules-file).
5865         ($(testdata)/$(posixrules-file)): New rule.
5867 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5869         Fix doc quoting problems with Texinfo 5
5870         Without this change, in the info file output, Texinfo 5 quotes code
5871         in text with undirected single quotes 'like this' and generates
5872         code examples that with many PDF readers cannot be cut out of PDFs
5873         and pasted into code.
5874         * manual/libc.texinfo: Configure the libc manual like the GNU
5875         Emacs manual, by using @documentencoding and setting
5876         txicodequoteundirected and txicodequotebacktick.  This way,
5877         Texinfo 5 quotes code in text with directed single quotes ‘like
5878         this’ and produces examples that can be cut out of PDFs.  This
5879         change causes Texinfo 5 to generate info files that contain UTF-8
5880         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5881         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5883 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5885         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5886         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5887         barriers to their respective compiler built-ins.
5888         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5889         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5890         * sysdeps/powerpc/sysdep.h: Likewise.
5891         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5892         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5893         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5895 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5897         * scripts/config.guess: Revert previous shebang change.
5898         * scripts/config.sub: Likewise.
5899         * scripts/mkinstalldirs: Likewise.
5901 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5903         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5904         PPC_FEATURE2_HAS_IEEE128.
5905         * sysdeps/powerpc/dl-procinfo.c:
5906         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5908 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5910         [BZ #19415]
5911         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5912         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5913         (_dl_lookup_address): Rewrite using function resolver trampoline.
5914         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5915         two bits in address.
5917 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5919         * longlong.h: Change !__SHMEDIA__ to
5920         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5921         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5923 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5924             Joseph Myers  <joseph@codesourcery.com>
5925             Mark Shinwell  <shinwell@codesourcery.com>
5926             Andrew Stubbs  <ams@codesourcery.com>
5927             Rich Felker <dalias@libc.org>
5929         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5931 2016-01-07  Richard Henderson  <rth@redhat.com>
5933         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5935 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5937         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5938         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5939         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5940         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5941         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5943 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5944             Joseph Myers  <joseph@codesourcery.com>
5946         * timezone/private.h: Update from tzcode 2015g.
5947         * timezone/tzfile.h: Likewise.
5948         * timezone/tzselect.ksh: Likewise.
5949         * timezone/zdump.c: Likewise.
5950         * timezone/zic.c: Likewise.
5951         * timezone/ialloc.c: Remove file.
5952         * timezone/scheck.c: Likewise.
5953         * timezone/Makefile (extra-objs): Remove variable.
5954         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5955         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5956         -Wno-maybe-uninitialized.
5957         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5958         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5959         (CFLAGS-ialloc.c): Remove variable.
5960         (CFLAGS-scheck.c): Likewise.
5961         * timezone/README: Update list of files from tzcode.
5963 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5965         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5966         instead of __fxprintf when _LIBC is undefined.
5968 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5970         * catgets/test-gencat.sh: Remove space after shebang.
5971         * conform/GlibcConform.pm: Likewise.
5972         * conform/check-header-lists.sh: Likewise.
5973         * conform/conformtest.pl: Likewise.
5974         * conform/linknamespace.pl: Likewise.
5975         * conform/list-header-symbols.pl: Likewise.
5976         * debug/catchsegv.sh: Likewise.
5977         * elf/genrtldtbl.awk: Likewise.
5978         * elf/tst-pathopt.sh: Likewise.
5979         * elf/tst-rtld-load-self.sh: Likewise.
5980         * grp/tst_fgetgrent.sh: Likewise.
5981         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5982         * iconvdata/gen-8bit-gap.sh: Likewise.
5983         * iconvdata/gen-8bit.sh: Likewise.
5984         * iconvdata/run-iconv-test.sh: Likewise.
5985         * intl/tst-gettext.sh: Likewise.
5986         * intl/tst-gettext2.sh: Likewise.
5987         * intl/tst-gettext4.sh: Likewise.
5988         * intl/tst-gettext6.sh: Likewise.
5989         * intl/tst-translit.sh: Likewise.
5990         * io/ftwtest-sh: Likewise.
5991         * libio/test-freopen.sh: Likewise.
5992         * locale/gen-translit.pl: Likewise.
5993         * malloc/tst-mtrace.sh: Likewise.
5994         * manual/check-safety.sh: Likewise.
5995         * manual/libc-texinfo.sh: Likewise.
5996         * manual/tsort.awk: Likewise.
5997         * manual/xtract-typefun.awk: Likewise.
5998         * nptl/tst-cancel-wrappers.sh: Likewise.
5999         * nptl/tst-tls6.sh: Likewise.
6000         * posix/globtest.sh: Likewise.
6001         * posix/tst-getconf.sh: Likewise.
6002         * posix/wordexp-tst.sh: Likewise.
6003         * scripts/check-c++-types.sh: Likewise.
6004         * scripts/check-local-headers.sh: Likewise.
6005         * scripts/config.guess: Likewise.
6006         * scripts/config.sub: Likewise.
6007         * scripts/cpp: Likewise.
6008         * scripts/cross-test-ssh.sh: Likewise.
6009         * scripts/documented.sh: Likewise.
6010         * scripts/evaluate-test.sh: Likewise.
6011         * scripts/gen-libc-abis: Likewise.
6012         * scripts/gen-sorted.awk: Likewise.
6013         * scripts/list-fixed-bugs.py: Likewise.
6014         * scripts/merge-test-results.sh: Likewise.
6015         * scripts/mkinstalldirs: Likewise.
6016         * scripts/rellns-sh: Likewise.
6017         * scripts/test-installation.pl: Likewise.
6018         * scripts/update-copyrights: Likewise.
6019         * stdio-common/tst-printf.sh: Likewise.
6020         * stdio-common/tst-unbputc.sh: Likewise.
6021         * stdlib/tst-fmtmsg.sh: Likewise.
6022         * stdlib/tst-setcontext3.sh: Likewise.
6023         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6024         * sysdeps/unix/make-syscalls.sh: Likewise.
6026 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6028         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6029         asm stw with atomic_exchange_rel.  Add explanatory comment.
6030         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6031         Likewise.
6033 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6035         [BZ #19122]
6036         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6037         * sysdeps/generic/dl-unistd.h: New file.
6038         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6040 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6042          [BZ #19122]
6043          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6044          * sysdeps/generic/dl-mman.h: New file.
6045          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6047 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6049         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6050         trailing whitespace removed.
6051         * scripts/config.guess: Update to version 2016-01-01.
6052         * scripts/config.sub: Update to version 2016-01-01.
6053         * scripts/move-if-change: Update from gnulib.
6055 2016-01-04  Anton Blanchard  <anton@samba.org>
6057         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6058         for array indices.
6059         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6061 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6063         * NEWS: Update copyright dates.
6064         * catgets/gencat.c (print_version): Likewise.
6065         * csu/version.c (banner): Likewise.
6066         * debug/catchsegv.sh: Likewise.
6067         * debug/pcprofiledump.c (print_version): Likewise.
6068         * debug/xtrace.sh (do_version): Likewise.
6069         * elf/ldconfig.c (print_version): Likewise.
6070         * elf/ldd.bash.in: Likewise.
6071         * elf/pldd.c (print_version): Likewise.
6072         * elf/sotruss.sh: Likewise.
6073         * elf/sprof.c (print_version): Likewise.
6074         * iconv/iconv_prog.c (print_version): Likewise.
6075         * iconv/iconvconfig.c (print_version): Likewise.
6076         * locale/programs/locale.c (print_version): Likewise.
6077         * locale/programs/localedef.c (print_version): Likewise.
6078         * login/programs/pt_chown.c (print_version): Likewise.
6079         * malloc/memusage.sh (do_version): Likewise.
6080         * malloc/memusagestat.c (print_version): Likewise.
6081         * malloc/mtrace.pl: Likewise.
6082         * manual/libc.texinfo: Likewise.
6083         * nptl/version.c (banner): Likewise.
6084         * nscd/nscd.c (print_version): Likewise.
6085         * nss/getent.c (print_version): Likewise.
6086         * nss/makedb.c (print_version): Likewise.
6087         * posix/getconf.c (main): Likewise.
6088         * scripts/test-installation.pl: Likewise.
6089         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6091         * All files with FSF copyright notices: Update copyright dates
6092         using scripts/update-copyrights.
6093         * intl/plural.c: Regenerated.
6094         * locale/programs/charmap-kw.h: Likewise.
6095         * locale/programs/locfile-kw.h: Likewise.
6097 2016-01-02  Helge Deller  <deller@gmx.de>
6099         [BZ #19285]
6100         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6101         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6102         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6103         (MADV_xxK_PAGES): Remove.
6105 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6107         [BZ #15421]
6108         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6109         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6110         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6111         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6113 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6115         [BZ #19408]
6116         * sysdeps/unix/sysv/linux/personality.c: New file.
6117         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6118         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6119         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6120         (sysdep_routines): Add personality.
6121         (tests): Add tst-personality.
6122         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6124         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6125         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6126         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6127         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6128         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6129         Likewise.
6130         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6131         Likewise.
6132         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6133         Likewise.
6134         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6135         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6136         Likewise.
6138 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6140         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6141         (PATH_ARM_SYSTYPE): Remove.
6142         (PATH_CPUINFO): Likewise.
6143         (IO_BASE_FOOTBRIDGE): Likewise.
6144         (IO_SHIFT_FOOTBRIDGE): Likewise.
6145         (struct platform): Likewise.
6146         (init_iosys): Remove compatibility code for 2.4 kernels.
6147         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6149 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6151         * malloc/tst-malloc-thread-fail.c: New file.
6152         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6153         (tst-malloc-thread-fail): Link against libpthread.
6155 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6157         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6158         (get_parser): New function.
6159         (main): New function.
6161 2015-12-29  Rob Wu  <rob@robwu.nl>
6163         [BZ #19369]
6164         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6166 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6168         [BZ #19270]
6169         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6171 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6173         [BZ #15421]
6174         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6176 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6178         [BZ #13690]
6179         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6180         after releasing it.
6181         (__lll_robust_unlock): Likewise.
6182         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6184         (lll_robust_unlock): Likewise.
6185         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6186         Prevent warnings in callers.
6188 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6190         * malloc/arena.c (list_lock): Update comment.
6192 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6194         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6195         __parse_hwcap_and_convert_at_platform to libc.a.
6197 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6199         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6200         platform and feature support for POWER9.
6201         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6202         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6203         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6204         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6205         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6206         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6207         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6208         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6210 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6212         Harmonize generic stdio-lock support with nptl
6214         This fixes build when _IO_funlockfile is a macro, fixes build where
6215         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6216         stack unwind.
6218         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6219         _IO_release_lock ): Use cleanup attribute on new
6220         _IO_acquire_lock_file variable instead of assuming that
6221         _IO_release_lock will be called.
6222         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6223         _IO_acquire_lock_needs_exceptions_enabled.
6224         (_IO_acquire_lock_clear_flags2): New macro.
6226 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6228         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6230 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6232         [BZ #19182]
6233         * malloc/arena.c (list_lock): Document lock ordering requirements.
6234         (free_list_lock): New lock.
6235         (ptmalloc_lock_all): Comment on free_list_lock.
6236         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6237         (detach_arena): Update comment.  free_list_lock is now needed.
6238         (_int_new_arena): Use free_list_lock around detach_arena call.
6239         Acquire arena lock after list_lock.  Add comment, including FIXME
6240         about incorrect synchronization.
6241         (get_free_list): Switch to free_list_lock.
6242         (reused_arena): Acquire free_list_lock around detach_arena call
6243         and attached threads counter update.  Add two FIXMEs about
6244         incorrect synchronization.
6245         (arena_thread_freeres): Switch to free_list_lock.
6246         * malloc/malloc.c (struct malloc_state): Update comments to
6247         mention free_list_lock.
6249 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6251         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6252         Remove functions.
6253         (sloww, sloww1): Accept argument to offset quadrant.
6254         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6255         quadrant.
6256         (__sin, __cos): Consolidate common code into new functions.
6257         (reduce_sincos_1, do_sincos_1): New functions.
6258         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6261         code to new functions.
6262         (reduce_sincos_2, do_sincos_2): New functions.
6263         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6266         common code for sincos.
6267         (__cos) [!IN_SINCOS]: Likewise.
6268         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6269         New function.
6270         (__sincos): Use it.
6272 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6274         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6275         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6276         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6278 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6280         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6283         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6284         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6285         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6286         index_Prefer_No_VZEROUPPER): New feature.
6287         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6288         Prefer_No_VZEROUPPER for Knights Landing.
6290 015-12-18  Torvald Riegel  <triegel@redhat.com>
6292         * math/atest-exp2.c (mp_exp_m1): Remove.
6294 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6296         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6297         syscalls.
6298         (__SYSCALL0): New macro.
6299         (__SYSCALL1): Likewise.
6300         (__SYSCALL2): Likewise.
6301         (__SYSCALL3): Likewise.
6302         (__SYSCALL4): Likewise.
6303         (__SYSCALL5): Likewise.
6304         (__SYSCALL6): Likewise.
6305         (__SYSCALL_CONCAT_X): Likewise.
6306         (__SYSCALL_CONCAT): Likewise.
6307         (__SYSCALL_DIST): Likewise.
6308         (__SYSCALL_CALL): Likewise.
6310 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6312         [BZ #19363]
6313         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6315 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6317         [BZ #19375]
6318         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6319         negative subnormals.
6321 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6324         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6325         (INTERNAL_SYSCALL_NCS): Use it.
6326         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6328 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6330         [BZ #19243]
6331         * malloc/arena.c (get_free_list): Remove assert and adjust
6332         reference count handling.  Add comment about reused_arena
6333         interaction.
6334         (reused_arena): Add comments abount get_free_list interaction.
6335         * malloc/tst-malloc-thread-exit.c: New file.
6336         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6337         (tst-malloc-thread-exit): Link against libpthread.
6339 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6341         [BZ #19367]
6342         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6343         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6344         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6345         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6346         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6348 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6350         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6351         Silvermont optimizations for Knights Landing.
6353 2015-12-15  Andreas Schwab  <schwab@suse.de>
6355         [BZ #17197]
6356         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6357         immediately after emitting SI.
6358         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6359         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6360         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6361         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6362         * iconvdata/bug-iconv10.c: New file.
6363         * iconvdata/Makefile (tests): Add bug-iconv10.
6364         ($(objpfx)bug-iconv10.out): New rule.
6366 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6368         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6369         aliasing violation.
6371 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #18472]
6374         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6375         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6376         conditionals for them.
6377         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6378         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6380         sys/kdaemon.h.
6381         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6382         compat-only syscall, obsoleted in glibc 2.23.
6383         (create_module): Likewise.
6384         (get_kernel_syms): Likewise.
6385         (query_module): Likewise.
6386         (uselib): Likewise.
6387         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6389 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6391         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6392         <linux/version.h>.
6393         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6394         conditional code.
6395         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6396         and ioshift_name initialization.
6398 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6400         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6401         Fix indentation.
6403 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6405         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6407 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6409         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6411 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6412             Jakub Wilk  <jwilk@debian.org>
6414         [BZ #19347]
6415         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6416         to change the group of the device to the tty group.
6418 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6420         Split large string section; add truncation advice
6421         * manual/examples/strncat.c: Remove.
6422         This example was misleading, as the code would have undefined
6423         behavior if "hello" was longer than SIZE.  Anyway, the manual
6424         shouldn't encourage strncpy+strncat for this sort of thing.
6425         * manual/string.texi (Copying Strings and Arrays): Split into
6426         three sections Copying Strings and Arrays, Concatenating Strings,
6427         and Truncating Strings, as this section was way too long.  All
6428         cross-referenced changed.  Add advice about string-truncation
6429         functions.  Remove misleading strncat example.
6431 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6433         * manual/nss.texi (NSS Modules Interface): Document
6434         NSS_STATUS_NOTFOUND and SUCCESS.
6436 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6438         [BZ 18568]
6439         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6440         201505L, for Unicode 8.
6442 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6444         * locale/C-translit.h: Regenerate.
6446 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6448         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6449         and U+0153.
6451 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #19351]
6454         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6455         expanding log(1+z), compare z rather than its square with epsilon
6456         to determine when to avoid evaluating the expansion.
6458         [BZ #19350]
6459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6460         Increase overflow threshold.
6462         [BZ #19349]
6463         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6464         when small.
6466         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6467         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6468         New macro.
6469         [__LINUX_KERNEL_VERSION >= 0x040300]
6470         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6471         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6472         Likewise.
6473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6474         Likewise.
6475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6476         Likewise.
6477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6478         Likewise.
6479         [__LINUX_KERNEL_VERSION >= 0x040300]
6480         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6481         [__LINUX_KERNEL_VERSION >= 0x040300]
6482         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6483         [__LINUX_KERNEL_VERSION >= 0x040300]
6484         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6485         [__LINUX_KERNEL_VERSION >= 0x040300]
6486         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6487         [__LINUX_KERNEL_VERSION >= 0x040300]
6488         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6490         Likewise.
6491         [__LINUX_KERNEL_VERSION >= 0x040300]
6492         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6493         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6494         Likewise.
6495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6496         Likewise.
6497         [__LINUX_KERNEL_VERSION >= 0x040300]
6498         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6500         Likewise.
6501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6502         Likewise.
6503         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6504         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6505         Likewise.
6506         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6507         Likewise.
6508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6509         Likewise.
6510         [__LINUX_KERNEL_VERSION >= 0x040300]
6511         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6512         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6513         Likewise.
6514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6515         Likewise.
6516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6517         Likewise.
6518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6519         Likewise.
6520         [__LINUX_KERNEL_VERSION >= 0x040300]
6521         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6522         [__LINUX_KERNEL_VERSION >= 0x040300]
6523         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6524         [__LINUX_KERNEL_VERSION >= 0x040300]
6525         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6526         [__LINUX_KERNEL_VERSION >= 0x040300]
6527         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6528         [__LINUX_KERNEL_VERSION >= 0x040300]
6529         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6531         Likewise.
6532         [__LINUX_KERNEL_VERSION >= 0x040300]
6533         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6535         Likewise.
6536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6537         Likewise.
6538         [__LINUX_KERNEL_VERSION >= 0x040300]
6539         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6541         Likewise.
6542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6545         (__ASSUME_SOCKET_SYSCALL): Likewise.
6546         (__ASSUME_BIND_SYSCALL): Likewise.
6547         (__ASSUME_CONNECT_SYSCALL): Likewise.
6548         (__ASSUME_LISTEN_SYSCALL): Likewise.
6549         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6550         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6551         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6552         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6553         (__ASSUME_SEND_SYSCALL): Likewise.
6554         (__ASSUME_SENDTO_SYSCALL): Likewise.
6555         (__ASSUME_RECV_SYSCALL): Likewise.
6556         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6557         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6558         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6559         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6560         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6561         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6562         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6563         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6564         Likewise.
6565         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6566         Likewise.
6567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6568         Likewise.
6569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6570         Likewise.
6571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6572         Likewise.
6573         [__LINUX_KERNEL_VERSION >= 0x020625]
6574         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6575         [__LINUX_KERNEL_VERSION >= 0x020625]
6576         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6577         [__LINUX_KERNEL_VERSION >= 0x020625]
6578         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6579         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6580         Likewise.
6581         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6582         Likewise.
6583         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6584         Likewise.
6585         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6586         Likewise.
6587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6588         Likewise.
6589         [__LINUX_KERNEL_VERSION >= 0x020625]
6590         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6591         [__LINUX_KERNEL_VERSION >= 0x020625]
6592         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6593         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6594         Likewise.
6595         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6596         Likewise.
6598 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6600         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6601         record the current if the current ABI and CPU support the FP64
6602         extension.
6603         (has-modd-spreg): Define to record the current if the current ABI and
6604         CPU support 32-bit floating point values in odd FPU registers.
6605         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6606         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6607         $(has-modd-spreg) equals yes.
6608         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6609         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6610         $(has-modd-spreg) equal yes.
6612 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6614         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6615         basename.
6617 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6619         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6620         (bench-string): ... here.
6621         (bench): Add bench-string.
6622         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6623         to *-benchset to reflect what they are.
6624         (benchset): Adjust.
6626         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6627         cos-inputs.
6629 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6631         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6632         __attribute__ ((__simd__)) for vector math function declarations.
6634 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6636         Fix typo in strncat, wcsncat manual entries
6637         * manual/string.texi (Copying and Concatenation): Fix typos in
6638         sample implementations of strncat and wcsncat, by having them use
6639         the old value of the destination length, not the new one.
6641 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6643         [BZ #16961]
6644         [BZ #16962]
6645         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6646         string on the stack for strtod.
6647         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6648         a string on the stack for strtof.
6649         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6650         constructing a string on the stack for strtold.
6651         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6652         __strtold_nan to GLIBC_PRIVATE.
6653         * math/test-nan-overflow.c: New file.
6654         * math/test-nan-payload.c: Likewise.
6655         * math/Makefile (tests): Add test-nan-overflow and
6656         test-nan-payload.
6658 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6660         Consistency about byte vs character in string.texi
6661         * manual/string.texi (String and Array Utilities):
6662         Distinguish more carefully among bytes, multibyte characters,
6663         and wide characters.  Use "byte" when talking about C 'char',
6664         to distinguish it more clearly from multibyte characters.
6665         Say "wide character" or "multibyte character" instead of
6666         "character", when a wide or multibyte character is intended.
6667         Similarly for "multibyte string" versus "string".
6668         Define these terms more carefully.
6670 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6672         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6673         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6674         Likewise.
6675         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6676         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6677         * sysdeps/sh/math_private.h: New file.
6678         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6679         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6680         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6681         long double function name.
6682         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6683         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6684         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6685         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6688         Remove __finitel, __isinfl, and __isnanl.
6689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6690         Likewise.
6691         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6693         Remove __finitel.
6694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6698 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6700         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6701         installed libmvec_nonshared.a.
6703 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6705         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6706         (sysdep_routines): Likewise.
6707         (sysdep-rtld-routines): Likewise.
6708         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6709         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6710         * sysdeps/powerpc/Versions: Added new
6711         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6712         * sysdeps/powerpc/hwcapinfo.c: New file.
6713         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6714         and parse hwcap, hwcap2 and platform number information.
6715         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6716         to store HWCAP+HWCAP2 and platform number.
6717         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6718         for HWCAP+HWCAP2 and platform number in the TCB.
6719         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6720         the HWCAP, HWCAP2 and platform number in the TCB.
6721         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6722         (TLS_INIT_TP): Included calls to add the hwcap and
6723         at_platform values in the TCB in TP initialization.
6724         (TLS_DEFINE_INIT_TP): Likewise.
6725         (THREAD_GET_HWCAP): New macro.
6726         (THREAD_SET_HWCAP): Likewise.
6727         (THREAD_GET_AT_PLATFORM): Likewise.
6728         (THREAD_SET_AT_PLATFORM): Likewise.
6729         * sysdeps/powerpc/powerpc32/dl-machine.h:
6730         (dl_platform_init): New function that calls
6731         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6732         powerpc32.
6733         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6734         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6735         this functionality, static linking case.
6736         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6737         linking case.
6738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6739         __parse_hwcap_and_convert_at_platform for the static linking case.
6740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6741         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6742         ABI list for GLIBC 2.23.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6744         Likewise.
6745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6746         Likewise.
6748 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6750         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6751         * configure: Regenerate.
6752         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6753         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6755 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6757         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6758         * iconvdata/ibm933.c: Likewise.
6759         * iconvdata/ibm935.c: Likewise.
6760         * iconvdata/ibm937.c: Likewise.
6761         * iconvdata/ibm939.c: Likewise.
6763 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6765         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6766         pthread_join.
6767         * nptl/tst-cancel21.c (tf): Likewise.
6769 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6771         [BZ #19313]
6772         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6773         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6774         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6775         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6776         Likewise.
6777         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6778         Likewise.
6779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6780         Likewise.
6781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6782         Likewise.
6783         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6784         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6785         unsigned long int with __CPU_MASK_TYPE.
6787 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6789         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6791 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6794         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6795         t512.x.
6796         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6798 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6800         [BZ #19214]
6801         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6802         argument to return extended model.  Update family and model
6803         with extended family and model when family == 0x0f.
6804         (init_cpu_features): Updated.
6806 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6808         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6809         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6811         * sysdeps/mach/hurd/mmap64.c: New file.
6813 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6815         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6816         rights for its main user thread in NEWTASK.
6818 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6820         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6821         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6823 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6825         [BZ #14259]
6826         * Makeconfig: Rename localedir to complocaledir.
6827         Rename inst_localedir to inst_complocaledir.
6828         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6829         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6830         * configure.ac: Use libc_cv_complocaledir.
6831         * configure: Regenerate.
6832         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6833         -DCOMPLOCALEDIR.
6834         * locale/findlocale.c: Use COMPLOCALEDIR.
6835         * locale/loadarchive.c: Likewise.
6836         * locale/programs/locale.c: Likewise.
6837         * locale/programs/localedef.c: Likewise.
6838         * locale/programs/locarchive.c: Likewise.
6839         * localedata/Makefile: Use inst_complocaledir.
6840         * sysdeps/gnu/configure: Regenerate.
6841         * sysdeps/hppa/configure: Regenerate.
6842         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6843         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6845         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6846         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6847         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6848         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6850 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6852         [BZ #19058]
6853         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6854         AS_NEEDED.
6855         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6856         workaround.
6857         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6858         libmvec-static-only-routines): Added new file.
6859         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6861 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6863         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6864         of interrupted RPC instead of restoring it.
6866         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6867         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6868         libc_hidden_def.
6869         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6870         into initialized data instead of common. Define rtld_hidden_data_def.
6871         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6872         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6873         libc_hidden_def.
6874         (if_freenameindex): Add libc_hidden_weak.
6875         (if_nameindex): Add libc_hidden_weak.
6876         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6877         __open64.
6878         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6879         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6880         * sysdeps/mach/nanosleep.c: Include <time.h>
6881         (__nanosleep): Rename to __libc_nanosleep.
6882         (__nanosleep): Add weak_alias.
6883         (nanosleep): Update alias.
6885 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6887         * stdlib/strtod_nan.c: New file.
6888         * stdlib/strtod_nan_double.h: Likewise.
6889         * stdlib/strtod_nan_float.h: Likewise.
6890         * stdlib/strtod_nan_main.c: Likewise.
6891         * stdlib/strtod_nan_narrow.h: Likewise.
6892         * stdlib/strtod_nan_wide.h: Likewise.
6893         * stdlib/strtof_nan.c: Likewise.
6894         * stdlib/strtold_nan.c: Likewise.
6895         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6896         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6897         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6898         * wcsmbs/wcstod_nan.c: Likewise.
6899         * wcsmbs/wcstof_nan.c: Likewise.
6900         * wcsmbs/wcstold_nan.c: Likewise.
6901         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6902         strtold_nan.
6903         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6904         wcstof_nan.
6905         * include/stdlib.h (__strtof_nan): Declare and use
6906         libc_hidden_proto.
6907         (__strtod_nan): Likewise.
6908         (__strtold_nan): Likewise.
6909         (__wcstof_nan): Likewise.
6910         (__wcstod_nan): Likewise.
6911         (__wcstold_nan): Likewise.
6912         * include/wchar.h (____wcstoull_l_internal): Declare.
6913         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6914         (____strtoull_l_internal): Remove declaration.
6915         (STRTOF_NAN): Define macro.
6916         (SET_MANTISSA): Remove macro.
6917         (STRTOULL): Likewise.
6918         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6919         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6920         (STRTOF_NAN): Define macro.
6921         (SET_MANTISSA): Remove macro.
6922         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6923         (SET_MANTISSA): Remove macro.
6924         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6925         macro.
6926         (SET_MANTISSA): Remove macro.
6927         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6928         macro.
6929         (SET_MANTISSA): Remove macro.
6930         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6931         (SET_MANTISSA): Remove macro.
6932         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6933         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6934         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6936         [BZ #19266]
6937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6938         upper case and lower case letters inside NAN(), not using TOLOWER.
6939         * stdlib/tst-strtod-nan-locale-main.c: New file.
6940         * stdlib/tst-strtod-nan-locale.c: Likewise.
6941         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6942         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6943         Depend on $(gen-locales).
6944         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6945         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6946         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6947         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6948         Depend on $(gen-locales).
6949         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6951 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6953         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6955         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6957         __finitel, __isinfl, and __isnanl.
6958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6962         __finitel.
6963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6964         Likewise.
6965         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6967 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6969         * malloc/memusage.c (me): Remove redundant getenv call.
6971 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6973         [BZ #19143]
6974         [BZ #19164]
6975         * nptl/check-cpuset.h: Remove.
6976         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6977         Remove CPU set size check.
6978         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6979         Likewise.
6980         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6981         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6982         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6983         (__pthread_setaffinity_new): Remove CPU set size check.
6984         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6985         (__kernel_cpumask_size): Remove.
6986         (__sched_setaffinity_new): Remove CPU set size check.
6987         * manual/threads.texi (Default Thread Attributes): Remove stale
6988         reference to check_cpuset_attr, determine_cpumask_size in comment.
6989         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6990         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6991         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6992         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6993         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6994         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6995         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6996         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6997         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6998         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6999         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7000         skeleton test file.
7001         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7002         tst-affinity-pid.
7004 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7006         * scripts/update-abilist.sh: New file.
7007         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7008         * Makerules (update-all-abi-%, update-all-abi)
7009         (subdir_update-all-abi): New targets.
7010         * elf/Makefile (update-all-abi): New target.
7012 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7014         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7015         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7016         (__libc_lock_define_initialized): Use it.
7017         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7018         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7019         * malloc/malloc.c (main_arena): Likewise.
7020         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7021         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7023 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7025         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7026         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7027         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7028         (PTRACE_O_MASK): Update value.
7029         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7030         New value in enum __ptrace_setoptions.
7031         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7032         (PTRACE_O_MASK): Update value.
7033         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7034         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7035         (PTRACE_O_MASK): Update value.
7036         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7037         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7038         (PTRACE_O_MASK): Update value.
7039         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7040         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7041         (PTRACE_O_MASK): Update value.
7042         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7043         New value in enum __ptrace_setoptions.
7044         (PTRACE_O_MASK): Update value.
7045         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7046         New value in enum __ptrace_setoptions.
7047         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7048         (PTRACE_O_MASK): Update value.
7050         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7051         New macro.
7052         (PACKET_AUXDATA): Likewise.
7053         (PACKET_ORIGDEV): Likewise.
7054         (PACKET_VERSION): Likewise.
7055         (PACKET_HDRLEN): Likewise.
7056         (PACKET_RESERVE): Likewise.
7057         (PACKET_TX_RING): Likewise.
7058         (PACKET_LOSS): Likewise.
7059         (PACKET_VNET_HDR): Likewise.
7060         (PACKET_TX_TIMESTAMP): Likewise.
7061         (PACKET_TIMESTAMP): Likewise.
7062         (PACKET_FANOUT): Likewise.
7063         (PACKET_TX_HAS_OFF): Likewise.
7064         (PACKET_QDISC_BYPASS): Likewise.
7065         (PACKET_ROLLOVER_STATS): Likewise.
7066         (PACKET_FANOUT_DATA): Likewise.
7067         (PACKET_MR_UNICAST): Likewise.
7069         [BZ #19242]
7070         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7071         (TOUPPER): Likewise.
7072         * stdlib/tst-strtol-locale-main.c: New file.
7073         * stdlib/tst-strtol-locale.c: Likewise.
7074         * stdlib/Makefile (tests): Add tst-strtol-locale.
7075         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7076         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7077         Depend on $(gen-locales).
7078         * wcsmbs/tst-wcstol-locale.c: New file.
7079         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7080         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7081         tr_TR.ISO-8859-9.
7082         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7083         Depend on $(gen-locales).
7085 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7087         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7088         __glibc_likely instead of __builtin_expect.  After falling back to
7089         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7090         system interface to register the code pages as occupied.
7092 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7094         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7095         [!ARM_MATH_PRIVATE_H].
7096         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7097         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7098         [!HPPA_MATH_PRIVATE_H].
7099         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7100         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7101         to [!I386_MATH_PRIVATE_H].
7102         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7103         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7104         Change guard to [!M68K_MATH_PRIVATE_H].
7105         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7106         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7107         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7108         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7109         macro.
7110         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7111         [!MIPS_MATH_PRIVATE_H].
7112         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7113         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7114         [!NIO2_MATH_PRIVATE_H].
7115         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7116         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7117         [!TILE_MATH_PRIVATE_H].
7118         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7120         [BZ #15421]
7121         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7122         initialize with 0 and define as weak alias of __signgam.
7123         * include/math.h [!_ISOMAC] (__signgam): Declare.
7124         * math/Makefile (libm-calls): Add w_lgamma_compat.
7125         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7126         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7127         test-signgam-ullong-init.
7128         (tests-static): Add test-signgam-uchar-static,
7129         test-signgam-uchar-init-static, test-signgam-uint-static,
7130         test-signgam-uint-init-static, test-signgam-ullong-static and
7131         test-signgam-ullong-init-static.
7132         (CFLAGS-test-signgam-uchar.c): New variable.
7133         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7134         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7135         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7136         (CFLAGS-test-signgam-uint.c): Likewise.
7137         (CFLAGS-test-signgam-uint-init.c): Likewise.
7138         (CFLAGS-test-signgam-uint-static.c): Likewise.
7139         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7140         (CFLAGS-test-signgam-ullong.c): Likewise.
7141         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7142         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7143         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7144         * math/Versions (libm): Add GLIBC_2.23.
7145         * math/lgamma-compat.h: New file.
7146         * math/test-signgam-main.c: Likewise.
7147         * math/test-signgam-uchar-init-static.c: Likewise.
7148         * math/test-signgam-uchar-init.c: Likewise.
7149         * math/test-signgam-uchar-static.c: Likewise.
7150         * math/test-signgam-uchar.c: Likewise.
7151         * math/test-signgam-uint-init-static.c: Likewise.
7152         * math/test-signgam-uint-init.c: Likewise.
7153         * math/test-signgam-uint-static.c: Likewise.
7154         * math/test-signgam-uint.c: Likewise.
7155         * math/test-signgam-ullong-init-static.c: Likewise.
7156         * math/test-signgam-ullong-init.c: Likewise.
7157         * math/test-signgam-ullong-static.c: Likewise.
7158         * math/test-signgam-ullong.c: Likewise.
7159         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7160         wrapper of w_lgamma_main.c.
7161         * math/w_lgamma_compat.c: New file.
7162         * math/w_lgamma_compatf.c: Likewise.
7163         * math/w_lgamma_compatl.c: Likewise.
7164         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7165         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7166         defining compatibility symbols.
7167         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7168         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7169         wrapper of w_lgammaf_main.c.
7170         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7171         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7172         defining compatibility symbols.
7173         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7174         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7175         wrapper of w_lgammal_main.c.
7176         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7177         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7178         defining compatibility symbols.
7179         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7180         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7181         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7182         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7183         <lgamma-compat.h>.
7184         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7185         (__ieee754_gamma): Define as alias.
7186         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7187         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7188         <lgamma-compat.h>.
7189         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7190         (__ieee754_gammaf): Define as alias.
7191         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7192         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7193         <lgamma-compat.h>.
7194         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7195         (__ieee754_gammal): Define as alias.
7196         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7197         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7198         <math/w_lgamma_compat.c>.
7199         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7200         Define as alias of __lgamma_compat and use in defining lgammal.
7201         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7202         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7203         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7204         (USE_AS_COMPAT): New macro.
7205         (LGAMMA_OLD_VER): Undefine and redefine.
7206         (lgammal): Do not define here.
7207         (gammal): Only define here if [GAMMA_ALIAS].
7208         * conform/linknamespace.pl (@whitelist): Remove signgam.
7209         * sysdeps/nacl/libm.abilist: Update.
7210         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7216         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7220         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7221         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7223         Likewise.
7224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7225         Likewise.
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7227         Likewise.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7229         Likewise.
7230         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7233         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7234         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7236         Likewise.
7237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7243 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7245         [BZ #16364]
7246         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7247         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7249 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7251         * sysdeps/s390/fpu/bits/mathinline.h:
7252         Use __asm__ [__volatile__] instead of asm [volatile].
7253         * sysdeps/s390/abort-instr.h: Likewise.
7254         * sysdeps/s390/atomic-machine.h: Likewise.
7255         * sysdeps/s390/bits/string.h: Likewise.
7256         * sysdeps/s390/dl-tls.h: Likewise.
7257         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7258         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7259         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7260         * sysdeps/s390/fpu/fesetround.c: Likewise.
7261         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7262         * sysdeps/s390/fpu/s_fma.c: Likewise.
7263         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7264         * sysdeps/s390/memusage.h: Likewise.
7265         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7266         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7267         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7268         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7269         * sysdeps/s390/nptl/tls.h: Likewise.
7270         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7271         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7272         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7273         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7274         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7275         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7276         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7277         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7278         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7279         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7280         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7281         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7282         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7283         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7284         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7285         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7286         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7287         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7288         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7290         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7292         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7294 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7295             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7297         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7298         Add lwarx hint, and use macro for acquire instruction.
7299         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7300         Likewise.
7301         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7302         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7303         update to use new atomic macros.
7305 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7307         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7308         (__lll_trylock_elision): Fix setting of adapt_count.
7309         * sysdeps/unix/sysv/linux/powerpc/htm.h
7310         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7311         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7312         (_ABORT_SYSCALL): Renumber, and clarify definition.
7313         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7315 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7317         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7318         after system headers to prevent MIN/MAX redefinition.  Define
7319         HAVE_ALLOCA to preserve builtin alloca usage.
7321 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7324         static and don't set or restore rounding.
7325         (__cos)[IN_SINCOS]: Likewise.
7326         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7327         (__sincos): Set and restore rounding mode.  Remove check for infinite
7328         or NaN input.
7330         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7332         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7333         as used.
7335 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7337         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7339 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7341         * config.make.in (have-glob-dat-reloc): New.
7342         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7343         target supports GLOB_DAT relocaton. AC_SUBST.
7344         * configure: Regenerated.
7345         * elf/Makefile (tests): Add tst-prelink.
7346         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7347         (tst-prelink-ENV): New.
7348         ($(objpfx)tst-prelink-conflict.out): Likewise.
7349         ($(objpfx)tst-prelink-cmp.out): Likewise.
7350         * sysdeps/x86/tst-prelink.c: Moved to ...
7351         * elf/tst-prelink.c: Here.
7352         * sysdeps/x86/tst-prelink.exp: Moved to ...
7353         * elf/tst-prelink.exp: Here.
7354         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7355         (tst-prelink-ENV): Removed.
7356         ($(objpfx)tst-prelink-conflict.out): Likewise.
7357         ($(objpfx)tst-prelink-cmp.out): Likewise.
7358         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7360 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7362         [BZ #14551]
7363         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7364         (__mpn_construct_long_double): If high part overflows to infinity,
7365         set errno and recompute overflowed result of the correct sign.
7366         * sysdeps/ieee754/ldbl-128ibm/Makefile
7367         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7368         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7369         $(libm).
7370         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7372 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7374         [BZ #15479]
7375         [BZ #19238]
7376         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7377         floating-point state after first operation on input.  Restore full
7378         state rather than just rounding mode.
7379         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7380         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7381         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7383         [BZ #19235]
7384         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7385         add 0.5 to integer arguments.
7386         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7387         Likewise.
7388         (.LC2): New object.
7390 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7392         * scripts/pylintrc (reports): Set to no.
7394 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7396         * elf/dl-load.c (open_verify): Take new argument FD.
7397         Skip __open call if passed FD is not -1.
7398         (_dl_map_object, open_path): Update callers.
7399         * elf/dl-sysdep-open.h: New file.
7400         * elf/dl-load.c: Include it.
7401         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7402         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7403         * sysdeps/nacl/dl-sysdep-open.h: New file.
7404         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7405         from libc to rtld.
7407 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7409         [BZ #19228]
7410         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7411         and restore full floating-point state.
7412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7413         Likewise.
7414         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7415         Likewise.
7416         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7417         Likewise.
7418         * math/test-nearbyint-except-2.c: New file.
7419         * math/Makefile (tests): Add test-nearbyint-except-2.
7421 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7423         [BZ #19178]
7424         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7425         (tst-prelink-ENV): New.
7426         ($(objpfx)tst-prelink-conflict.out): Likewise.
7427         ($(objpfx)tst-prelink-cmp.out): Likewise.
7428         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7429         * sysdeps/x86/tst-prelink.c: New file.
7430         * sysdeps/x86/tst-prelink.exp: Likewise.
7432 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7434         * math/auto-libm-test-in: Add another test of pow.
7435         * math/auto-libm-test-out: Regenerated.
7436         * math/libm-test.inc (pow_test_data): Add another test.
7438 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7440         [BZ #19219]
7441         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7442         weak_alias to nearbyintl.
7444 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7446         * sysdeps/aarch64/bits/string.h: New file.
7447         (_STRING_ARCH_unaligned): Define.
7449 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7451         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7452         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7453         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7454         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7457 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7459         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7460         for original name of the DSO.  Add it to the name list of the DSO
7461         if it is actually given.
7462         (_dl_map_object): Keep track of whether an audit module rewrote
7463         the file name.  If yes, pass the original name to
7464         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7465         debugging is enabled, log the change of the file name.
7466         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7467         _dl_map_object_from_fd.
7468         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7469         * elf/tst-audit11.c: New file
7470         * elf/tst-auditmod11.c: New file.
7471         * elf/tst-audit11mod1.c: New file.
7472         * elf/tst-audit11mod2.c: New file.
7473         * elf/tst-audit11mod2.map: New file.
7474         * elf/tst-audit12.c: New file
7475         * elf/tst-auditmod12.c: New file.
7476         * elf/tst-audit12mod1.c: New file.
7477         * elf/tst-audit12mod2.c: New file.
7478         * elf/tst-audit12mod2.map: New file.
7479         * elf/tst-audit12mod3.c: New file.
7481 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7483         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7484         Don't create weak aliases,
7485         because versioned symbols are created later.
7486         * sysdeps/s390/s390-32/setjmp.S
7487         (setjmp, _setjmp): Remove weak and rename to an unique name
7488         in SHARED case due to existing versioned symbols.
7489         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7490         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7491         (getcontext): Create weak alias only in non SHARED case.
7492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7494 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7496         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7497         (__ASSUME_*_SYSCALL) Define new macros.
7498         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7499         Remove socketcall syscalls.
7500         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7501         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7502         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7503         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7504         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7505         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7507 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7509         [BZ #12926]
7510         Terminate process on invalid netlink response.
7511         * sysdeps/unix/sysv/linux/netlinkaccess.h
7512         (__netlink_assert_response): Declare.
7513         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7514         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7515         (sysdep_routines): Add netlink_assert_response.
7516         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7517         __netlink_assert_response.
7518         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7519         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7520         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7521         __netlink_assert_response.
7523 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7525         [BZ #19178]
7526         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7527         (RTYPE_CLASS_PLT): Likewise.
7528         (RTYPE_CLASS_COPY): Likewise.
7529         (RTYPE_CLASS_TLS): Likewise.
7530         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7531         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7532         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7533         DL_DEBUG_PRELINK.
7535 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7537         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7538         calls with argument -0.5.
7539         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7541         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7542         (libc_cv_z_nodlopen): Likewise.
7543         (libc_cv_z_initfirst): Likewise.
7544         * configure: Regenerated.
7546 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7548         Simplify abilist format to be line-based.
7549         * scripts/abilist.awk: Collect descriptors in the descs variable.
7550         (emit): Write descs variable and sort it
7551         externally, with sort.
7552         * sysdeps/**/*.abilist: Convert to new format.
7554 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7556         [BZ #11460]
7557         * io/Makefile (routines): Add fts64.
7558         (tests): Add tst-fts and tst-fts-lfs.
7559         (CFLAGS-fts64.c): New.
7560         * io/Versions (GLIBC_2.23): New.
7561         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7562         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7563         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7564         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7565         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7566         (FTSENT64): Likewise.
7567         (fts64_children): Likewise.
7568         (fts64_close): Likewise.
7569         (fts64_open): Likewise.
7570         (fts64_read): Likewise.
7571         (fts64_set): Likewise.
7572         * io/fts64.c: New file.
7573         * io/tst-fts.c: New test.
7574         * io/tst-fts-lfs.c: Likewise.
7575         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7576         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7577         fts64_set.
7578         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7580         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7581         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7592         Likewise.
7593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7594         Likewise.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7598         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7599         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7600         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7601         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7607         * sysdeps/wordsize-64/fts.c: New file.
7608         * sysdeps/wordsize-64/fts64.c: Likewise.
7609         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7610         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7611         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7612         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7614 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7616         * math/libm-test.inc (NON_FINITE): New macro.
7617         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7618         * math/gen-libm-test.pl (show_exceptions): Add argument
7619         $non_finite.
7620         (parse_args): Update call to show_exceptions.
7621         * math/test-math-finite.h: New file.
7622         * math/test-math-no-finite.h: Likewise.
7623         * math/test-double-finite.c: Likewise.
7624         * math/test-float-finite.c: Likewise.
7625         * math/test-ldouble-finite.c: Likewise.
7626         * math/test-double.c: Include "test-math-no-finite.h".
7627         * math/test-float.c: Include "test-math-no-finite.h".
7628         * math/test-ldouble.c: Include "test-math-no-finite.h".
7629         * math/test-math-inline.h (TEST_FINITE): New macro.
7630         * math/test-math-vector.h (TEST_FINITE): Likewise.
7631         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7632         (libm-tests): Add test-float-finite and test-double-finite.
7633         ($(objpfx)test-float-finite.o): New dependency on
7634         $(objpfx)libm-test.stmp.
7635         ($(objpfx)test-double-finite.o): Likewise.
7636         ($(objpfx)test-ldouble-finite.o): Likewise.
7637         (libm-test-no-inline-cflags): New variable.
7638         (libm-test-finite-cflags): Likewise.
7639         (CFLAGS-test-float-finite.c): Likewise.
7640         (CFLAGS-test-double-finite.c): Likewise.
7641         (CFLAGS-test-ldouble-finite.c): Likewise.
7642         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7643         (CFLAGS-test-double.c): Likewise.
7644         (CFLAGS-test-ldouble.c): Likewise.
7646 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7648         * io/fcntl.c (__fcntl): Add ... to prototype.
7649         * misc/ioctl.c (__ioctl): Likewise.
7650         * misc/syscall.c (syscall): Likewise.
7652 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7654         * scripts/list-fixed-bugs.py: New file.
7656         [BZ #19213]
7657         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7658         returned for argument 1.
7659         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7660         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7661         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7662         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7663         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7664         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7666         [BZ #19211]
7667         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7668         __USE_XOPEN], not if [!__USE_ISOC99].
7669         (lgammaf): Likewise.
7670         (lgammal): Likewise.
7671         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7672         (gammaf): Likewise.
7673         (gammal): Likewise.
7674         * math/test-signgam-finite-c11.c: New file.
7675         * math/test-signgam-finite-c99.c: Likewise.
7676         * math/test-signgam-finite.c: Likewise.
7677         * math/Makefile (tests): Add test-signgam-finite,
7678         test-signgam-finite-c99 and test-signgam-finite-c11.
7679         (CFLAGS-test-signgam-finite.c): New variable.
7680         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7681         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7683         [BZ #19212]
7684         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7685         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7686         500].
7687         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7688         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7689         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7690         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7691         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7692         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7693         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7694         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7695         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7696         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7698         [BZ #19209]
7699         * math/bits/math-finite.h (ldexp): Remove declaration.
7700         (ldexpf): Likewise.
7701         (ldexpl): Likewise.
7703         [BZ #19205]
7704         * math/bits/math-finite.h (acosf): Condition declaration on
7705         [__USE_ISOC99].
7706         (acosl): Likewise.
7707         (acoshf): Likewise.
7708         (acoshl): Likewise.
7709         (asinf): Likewise.
7710         (asinl): Likewise.
7711         (atan2f): Likewise.
7712         (atan2l): Likewise.
7713         (atanhf): Likewise.
7714         (atanhl): Likewise.
7715         (coshf): Likewise.
7716         (coshl): Likewise.
7717         (expf): Likewise.
7718         (expl): Likewise.
7719         (fmodf): Likewise.
7720         (fmodl): Likewise.
7721         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7722         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7723         (j0l): Likewise.
7724         (y0f): Likewise.
7725         (y0l): Likewise.
7726         (j1f): Likewise.
7727         (j1l): Likewise.
7728         (y1f): Likewise.
7729         (y1l): Likewise.
7730         (jnf): Likewise.
7731         (jnl): Likewise.
7732         (ynf): Likewise.
7733         (ynl): Likewise.
7734         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7735         (lgammal_r): Likewise.
7736         (__lgamma_r_finite): New declaration.
7737         (__lgammaf_r_finite): Likewise.
7738         (__lgammal_r_finite): Likewise.
7739         (lgamma): Use __lgamma_r_finite.
7740         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7741         __lgammaf_r_finite.
7742         (lgammal): Condition definition on [__USE_ISOC99].  Use
7743         __lgammal_r_finite.
7744         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7745         __lgamma_r_finite.
7746         (gammaf): Condition definition on [__USE_ISOC99].  Use
7747         __lgammaf_r_finite.
7748         (gammal): Condition definition on [__USE_ISOC99].  Use
7749         __lgammal_r_finite.
7750         (logf): Condition declaration on [__USE_ISOC99].
7751         (logl): Likewise.
7752         (log10f): Likewise.
7753         (log10l): Likewise.
7754         (ldexpf): Likewise.
7755         (ldexpl): Likewise.
7756         (powf): Likewise.
7757         (powl): Likewise.
7758         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7759         __USE_ISOC99].
7760         (remainderf): Condition declaration on [__USE_ISOC99].
7761         (remainderl): Likewise.
7762         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7763         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7764         (scalbl): Likewise.
7765         (sinhf): Condition declaration on [__USE_ISOC99].
7766         (sinhl): Likewise.
7767         (sqrtf): Likewise.
7768         (sqrtl): Likewise.
7770 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7772         * sysdeps/arm/atomic-machine.h
7773         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7774         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7775         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7776         Remove conditional code.
7777         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7778         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7779         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7780         Change conditional to [__ASSEMBLER__].
7781         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7782         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7783         [!__ASSEMBLER__].
7784         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7785         code.
7786         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7787         conditional macro definitions.
7788         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7789         (__arch_compare_and_exchange_val_16_acq): Likewise.
7790         (__arch_compare_and_exchange_val_32_acq): Likewise.
7791         (atomic_exchange_and_add): Likewise.
7792         (atomic_add): Likewise.
7793         (atomic_add_negative): Likewise.
7794         (atomic_add_zero): Likewise.
7795         (atomic_bit_set): Likewise.
7796         (atomic_bit_test_set): Likewise.
7797         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7798         code unconditional.
7799         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7801         * math/test-math-errno.h: New file.
7802         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7803         empty.
7804         (TEST_ERRNO): New macro.
7805         (TEST_EXCEPTIONS): Likewise.
7806         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7807         (TEST_EXCEPTIONS): Likewise.
7808         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7809         * math/test-double.c: Include "test-math-errno.h".
7810         * math/test-float.c: Likewise.
7811         * math/test-ldouble.c: Likewise.
7812         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7813         code unconditional.
7814         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7815         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7816         unconditional.
7817         (test_errno): Only run code if TEST_ERRNO.
7818         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7820 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7822         * nptl/tst-once5.cc: Remove attribution.
7824 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7826         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7827         sqrt, tan, tanh, y0, y1 and yn.
7828         * math/auto-libm-test-out: Regenerated.
7829         * math/libm-test.inc (scalb_test_data): Add more tests.
7830         (scalbn_test_data): Likewise.
7831         (scalbln_test_data): Likewise.
7832         (signbit_test_data): Likewise.
7833         (sin_test_data): Likewise.
7834         (sincos_test_data): Likewise.
7835         (sinh_test_data): Likewise.
7836         (sqrt_test_data): Likewise.
7837         (tan_test_data): Likewise.
7838         (tanh_test_data): Likewise.
7839         (tgamma_test_data): Likewise.
7840         (y0_test_data): Likewise.
7841         (y1_test_data): Likewise.
7842         (yn_test_data): Likewise.
7843         (significand_test_data): Likewise.
7844         * sysdeps/i386/fpu/libm-test-ulps: Update.
7846 2015-11-03  David Kastrup  <dak@gnu.org>
7848         [BZ #18604]
7849         * assert/assert.h (assert): Don't macro-expand failed assertion
7850         expression in error message.
7851         * malloc/malloc.c (assert): Likewise.
7853 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7855         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7856         test.
7857         * configure: Regenerated.
7859 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7861         * math/libm-test.inc (modf_test_data): Add more tests.
7862         (nearbyint_test_data): Likewise.
7863         (nextafter_test_data): Likewise.
7864         (nexttoward_test_data): Likewise.
7865         (pow_test_data): Likewise.
7866         (remainder_test_data): Likewise.
7867         (remquo_test_data): Likewise.
7868         (rint_test_data): Likewise.
7870         [BZ #19201]
7871         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7872         Check for zero remainder in case of large exponents and ensure
7873         correct sign of result in that case.
7874         * math/libm-test.inc (remainder_test_data): Add more tests.
7876         [BZ #6799]
7877         * math/s_nextafter.c: Include <errno.h>.
7878         (__nextafter): Set errno on overflow and underflow.
7879         * math/s_nexttowardf.c: Include <errno.h>.
7880         (__nexttowardf): Set errno on overflow and underflow.
7881         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7882         (__nextafterl): Set errno on overflow and underflow.
7883         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7884         (__nexttoward): Set errno on overflow and underflow.
7885         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7886         (__nexttowardf): Set errno on overflow and underflow.
7887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7888         (__nextafterf): Set errno on overflow and underflow.
7889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7890         (__nextafterl): Set errno on overflow and underflow.
7891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7892         (__nexttoward): Set errno on overflow and underflow.
7893         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7894         (__nexttowardf): Set errno on overflow and underflow.
7895         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7896         (__nextafterl): Set errno on overflow and underflow.
7897         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7898         (__nexttoward): Set errno on overflow and underflow.
7899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7900         (__nexttowardf): Set errno on overflow and underflow.
7901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7902         (__nexttoward): Set errno on overflow and underflow.
7903         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7904         (__nexttowardf): Set errno on overflow and underflow.
7905         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7906         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7907         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7908         (__nextafterl): Set errno on overflow and underflow.
7909         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7910         setting to be missing on overflow.  Add more tests.
7911         (nexttoward_test_data): Likewise.
7913         * configure.ac (libc_cv_initfini_array): Remove configure test.
7914         * configure: Regenerated.
7916 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7918         [BZ #19189]
7919         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7920         non-finite argument handle arguments with negative sign.
7922         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7923         result from infinite argument.
7924         (j1_test_data): Likewise.
7925         (jn_test_data): Likewise.
7926         (y0_test_data): Likewise.
7927         (y1_test_data): Likewise.
7928         (yn_test_data): Likewise.
7930         [BZ #16171]
7931         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7932         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7933         * math/w_remainderf.c (dremf): Define as weak alias of
7934         __remainderf.
7935         * math/w_remainderl.c (dreml): Define as weak alias of
7936         __remainderl.
7937         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7938         __remainder.
7939         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7940         __remainderf.
7941         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7942         __remainderl.
7943         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7944         weak alias of remainderl.
7945         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7946         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7947         alias of __remainder.
7948         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7949         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7950         strong alias of __remainderl.
7951         (dreml): Use long_double_symbol.
7952         * math/Makefile (libm-calls): Remove w_drem.
7953         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7954         (CFLAGS-nldbl-drem.c): Remove variable.
7955         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7956         * math/w_drem.c: Remove file.
7957         * math/w_dremf.c: Likewise.
7958         * math/w_dreml.c: Likewise.
7959         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7960         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7961         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7963         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7964         * sysdeps/i386/configure: Regenerated.
7965         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7966         * sysdeps/x86_64/configure: Regenerated.
7968         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7969         test.
7970         (libc_cv_visibility_attribute): Likewise.
7971         (libc_cv_protected_data): Test unconditionally.
7972         (libc_cv_broken_visibility_attribute): Remove configure test.
7973         (libc_cv_have_sdata_section): Test unconditionally.
7974         * configure: Regenerated.
7976         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7977         * include/scratch_buffer.h: Include <stddef.h> instead of
7978         <libc-internal.h>.
7979         (struct scratch_buffer): Use max_align_t instead of
7980         libc_max_align_t.
7982 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7984         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7985         instead of extend_alloca.  Change control flow to avoid a goto.
7986         Remove assert which is trivially always true.
7988 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7990         [BZ #16068]
7991         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7992         (FE_ALL_EXCEPT_X86): New macro.
7993         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7994         FE_ALL_EXCEPT.  Ensure precision control is included in
7995         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7996         handle "denormal operand exception" and clear FZ and DAZ bits.
7997         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7998         (FE_ALL_EXCEPT_X86): New macro.
7999         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8000         FE_ALL_EXCEPT.  Ensure precision control is included in
8001         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8002         handle "denormal operand exception" and clear FZ and DAZ bits.
8003         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8004         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8005         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8006         test-fenv-x87 and test-fenv-sse-2.
8007         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8009         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8010         * math/test-double.h (BUILD_COMPLEX): New macro.
8011         * math/test-float.h (BUILD_COMPLEX): Likewise.
8012         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8014         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8015         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8016         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8018         instead of DBL_DENORM_MIN in comment.
8019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8020         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8021         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8022         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8024         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8026 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8028         [BZ# 19048]
8029         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8030         attached_threads member.
8031         (main_arena): Initialize attached_threads.
8032         * malloc/arena.c (list_lock): Update comment.
8033         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8034         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8035         (deattach_arena): New function.
8036         (_int_new_arena): Initialize arena reference count and deattach
8037         replaced arena.
8038         (get_free_list, reused_arena): Update reference count and deattach
8039         replaced arena.
8040         (arena_thread_freeres): Update arena reference count and only put
8041         unreferenced arenas on the free list.
8043 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8045         [BZ #19181]
8046         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8047         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8048         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8049         * math/test-fenv-clear-main.c: New file.
8050         * math/test-fenv-clear.c: Likewise.
8051         * math/Makefile (tests): Add test-fenv-clear.
8052         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8053         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8054         test-fenv-clear-sse.
8055         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8057         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8058         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8059         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8061 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8063         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8064         static libc.
8066 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8068         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8069         test.
8070         * sysdeps/i386/configure: Regenerated.
8071         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8072         test.
8073         * sysdeps/x86_64/configure: Regenerated.
8074         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8076         memset-avx2 unconditionally instead of conditionally on
8077         [$(config-cflags-avx2) = yes].
8078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8079         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8080         unconditional.
8081         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8082         * sysdeps/x86_64/multiarch/memset_chk.S
8083         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8084         to [IS_IN (libc) && SHARED].
8086 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8088         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8089         configure test.
8090         * sysdeps/arm/configure: Regenerated.
8091         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8092         Define variable if not already defined.
8094         [BZ #17404]
8095         * sysdeps/mips/atomic-machine.h
8096         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8097         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8098         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8100         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8101         unconditional.
8102         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8103         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8104         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8105         unconditional.
8106         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8107         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8108         unconditional.
8109         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8110         * stdlib/setenv.c
8111         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8112         code unconditional.
8113         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8114         Remove conditional code.
8115         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8116         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8117         unconditional.
8118         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8119         code.
8120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8121         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8122         unconditional.
8123         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8124         code.
8125         * sysdeps/ieee754/ldbl-128/k_tanl.c
8126         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8127         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8128         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8129         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8130         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8131         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8132         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8133         unconditional.
8134         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8135         code.
8136         * sysdeps/ieee754/ldbl-96/k_tanl.c
8137         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8138         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8140         * nptl/tst-initializers1-c11.c: New file.
8141         * nptl/tst-initializers1-gnu11.c: Likewise.
8142         * nptl/Makefile (tests): Add these new tests.
8143         (CFLAGS-tst-initializers1-c11.c): New variable.
8144         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8146         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8147         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8148         instead of -std=gnu99.
8149         * configure.ac (systemtap): Test with -std=gnu11 instead of
8150         -std=gnu99.
8151         * configure: Regenerated.
8152         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8153         in compilation command in comment.
8155         * sysdeps/nptl/configure.ac: Remove file.
8156         * sysdeps/nptl/configure: Remove generated file.
8157         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8158         * configure: Regenerated.
8159         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8160         * config.make.in (have-forced-unwind): Remove variable.
8161         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8162         unconditional.
8163         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8164         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8165         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8166         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8167         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8168         unconditional.
8170 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8172         [BZ #19174]
8173         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8174         .skip_lock_out_of_tbegin_retries.
8175         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8176         (__lll_lock_elision): Likewise, and respect a value of
8177         try_tbegin <= 0.
8179 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8181         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8182         statement.
8184 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8186         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8187         variable.
8188         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8189         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8191         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8192         of -std=c1x -D_ISOC11_SOURCE.
8194         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8195         * configure: Regenerated.
8196         * manual/install.texi (Tools for Compilation): Document
8197         requirement for GCC 4.7 or later.
8198         * INSTALL: Regenerated.
8200 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8202         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8203         on CNT to a conditional jump to 'puntdata'.
8205 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8207         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8208         (libc_cv_gcc_tls_model_attr): Likewise.
8209         * configure: Regenerated.
8211         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8212         * configure: Regenerated.
8213         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8215 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8217         * configure.ac (old_glibc_headers): Remove configure test.
8218         * configure: Regenerated.
8219         * config.make.in (old-glibc-headers): Remove variable.
8220         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8221         (install): Remove dependency on remove-old-headers.
8222         (headers2_0): Remove variable.
8223         (remove-old-headers): Remove rule.
8225         * configure.ac (libc_cv_dot_text): Remove configure test.
8226         (libc_cv_asm_set_directive): Use .text instead of
8227         ${libc_cv_dot_text} in configure test.
8228         * configure: Regenerated.
8230 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8232         [BZ #19168]
8233         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8235 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8237         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8238         not support static linking.
8239         * configure: Regenerate.
8241 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8243         * math/libm-test.inc (check_float_internal): Do not special-case
8244         errors up to 0.5 ulp.
8246         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8247         log2.
8248         * math/auto-libm-test-out: Regenerated.
8249         * math/libm-test.inc (MAX_EXP): New macro.
8250         (ilogb_test_data): Add more tests.
8251         (isfinite_test_data): Likewise.
8252         (isgreater_test_data): Likewise.
8253         (isgreaterequal_test_data): Likewise.
8254         (isinf_test_data): Likewise.
8255         (isless_test_data): Likewise.
8256         (islessequal_test_data): Likewise.
8257         (islessgreater_test_data): Likewise.
8258         (isnan_test_data): Likewise.
8259         (isnormal_test_data): Likewise.
8260         (issignaling_test_data): Likewise.
8261         (isunordered_test_data): Likewise.
8262         (j0_test_data): Likewise.
8263         (j1_test_data): Likewise.
8264         (jn_test_data): Likewise.
8265         (lgamma_test_data): Likewise.
8266         (log_test_data): Likewise.
8267         (log10_test_data): Likewise.
8268         (log1p_test_data): Likewise.
8269         (log2_test_data): Likewise.
8270         (logb_test_data): Likewise.
8271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8273         [BZ #18611]
8274         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8275         avoid excess range and precision on underflow.
8276         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8277         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8278         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8279         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8280         underflow.
8281         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8283         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8285         * math/auto-libm-test-in: Do not allow missing errno setting for
8286         tests of j1 and jn.
8287         * math/auto-libm-test-out: Regenerated.
8289 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8291         [BZ #15491]
8292         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8293         floating-point environment instead of clearing all exceptions.
8294         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8295         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8296         merging in "invalid" exceptions from frndint.
8297         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8298         * math/test-nearbyint-except.c: New file.
8299         * math/Makefile (tests): Add test-nearbyint-except.
8301 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8303         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8305         * sysdeps/tile/libm-test-ulps: Regenerated.
8307 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8310         (__NR_sync_file_range2): Assume it is always defined.
8311         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8312         (__NR_sync_file_range): Assume it is always defined.
8314 2015-10-22  Andreas Schwab  <schwab@suse.de>
8316         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8317         INTERNAL_SYSCALL_ERRNO.
8318         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8319         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8320         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8321         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8322         Likewise.
8323         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8325 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8327         * io/tst-fcntl.c (fd): New static variable.
8328         (do_prepare): Open temporary file here....
8329         (do_test): ...not here.
8331         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8333 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8335         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8336         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8337         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8338         Moved before "#ifdef __ASSEMBLER__".
8340 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8342         [BZ #19156]
8343         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8344         arguments very close to 0.
8346 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8348         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8349         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8351 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8353         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8354         New.  Defined for GCC 5 and above when not compiling for
8355         profiling.
8356         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8358         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8359         Renamed to ...
8360         (CFLAGS-epoll_pwait.o): This.
8361         (CFLAGS-mmap.c): Renamed to ...
8362         (CFLAGS-mmap.o): This.
8363         (CFLAGS-mmap64.c): Renamed to ...
8364         (CFLAGS-mmap64.o): This.
8365         (CFLAGS-epoll_pwait.os): New.
8366         (CFLAGS-mmap.os): Likewise.
8367         (CFLAGS-mmap64.os): Likewise.
8368         (CFLAGS-semtimedop.os): Likewise.
8369         (CFLAGS-semtimedop.c): Renamed to ...
8370         (CFLAGS-semtimedop.o): This.
8372 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8374         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8375         warning message.
8377 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8379         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8380         * Makefile ($(objpfx)c++-types-check.out): Filter out
8381         $(+gccwarn-c) instead of -Wstrict-prototypes.
8383         * io/fts.c (fts_open): Convert to prototype-style function
8384         definition.
8385         * malloc/mcheck.c (mcheck): Likewise.
8386         (mcheck_pedantic): Likewise.
8387         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8388         internal_function.
8389         (re_search_internal): Likewise.
8390         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8391         prototype-style function definition.
8392         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8393         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8394         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8395         (xdr_utmpptr): Likewise.
8396         (xdr_utmparr): Likewise.
8397         (xdr_utmpidle): Likewise.
8398         (xdr_utmpidleptr): Likewise.
8399         (xdr_utmpidlearr): Likewise.
8401         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8402         log, log10 and log2.
8403         * math/auto-libm-test-out: Regenerated.
8404         * math/libm-test.inc (fmod_test_data): Add more tests.
8405         (fpclassify_test_data): Likewise.
8406         (frexp_test_data): Likewise.
8407         (hypot_test_data): Likewise.
8408         (ilogb_test_data): Likewise.
8410 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8412         * debug/fortify_fail.c (__fortify_fail): Convert to
8413         prototype-style function definition.  Use internal_function.
8414         * libio/genops.c (save_for_backup): Convert to prototype-style
8415         function definition.
8416         * libio/wgenops.c (save_for_wbackup): Likewise.
8417         * login/grantpt.c (grantpt): Likewise.
8418         * login/ptsname.c (ptsname): Likewise.
8419         (__ptsname_r): Likewise.
8420         * login/unlockpt.c (unlockpt): Likewise.
8421         * mach/msgserver.c (__mach_msg_server): Likewise.
8422         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8423         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8424         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8425         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8426         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8427         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8428         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8429         Likewise.
8430         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8431         internal_function.
8432         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8433         prototype-style function definition.
8434         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8435         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8436         (__pthread_create_2_0): Likewise.
8437         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8438         * nptl/register-atfork.c (__register_atfork): Likewise.
8439         * posix/glob.c (glob): Likewise.
8440         * posix/regcomp.c (re_comp): Likewise.
8441         * posix/regexec.c (re_exec): Likewise.
8442         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8443         [!__STDC__]: Remove conditional code.
8444         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8445         [!__STDC__]: Remove conditional code.
8446         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8447         [!__STDC__]: Remove conditional code.
8448         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8449         [!__STDC__]: Remove conditional code.
8450         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8451         [!__STDC__]: Remove conditional code.
8452         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8453         [!__STDC__]: Remove conditional code.
8454         * stdlib/mul.c [__STDC__]: Make code unconditional.
8455         [!__STDC__]: Remove conditional code.
8456         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8457         [!__STDC__]: Remove conditional code.
8458         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8459         [!__STDC__]: Remove conditional code.
8460         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8461         function definition.
8462         (STRTOF): Likewise.
8463         * stdlib/strtod_l.c (__STRTOF): Likewise.
8464         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8465         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8466         (__strtol_l): Likewise.
8467         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8468         [!__STDC__]: Remove conditional code.
8469         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8470         definition.
8471         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8472         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8473         type.
8474         (__strcasecmp): Convert to prototype-style function definition.
8475         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8476         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8477         type.
8478         (__strncasecmp): Convert to prototype-style function definition.
8479         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8480         * sunrpc/xdr.c (xdr_union): Likewise.
8481         * sunrpc/xdr_array.c (xdr_array): Likewise.
8482         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8483         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8484         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8485         Likewise.
8486         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8487         Likewise.
8488         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8489         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8490         Likewise.
8491         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8492         (LOCALE_PARAM_PROTO): Likewise.
8493         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8494         argument type.
8495         (ut_argument_spec): Remove macro.
8496         (ut_argument_spec_iso): Rename to ut_argument_spec.
8497         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8498         prototype-style function definition.
8499         (memcpy_uppcase): Likewise.
8500         (__strftime_internal): Likewise.
8501         (my_strftime): Likewise.
8502         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8503         (LOCALE_PARAM_DECL): Likewise.
8504         [_LIBC] (LOCALE_PARAM): Include argument type.
8505         (__strptime_internal): Convert to prototype-style function
8506         definition.
8507         (strptime): Likewise.
8508         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8509         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8510         type.
8511         (__wcscasecmp): Convert to prototype-style function definition.
8512         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8513         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8514         type.
8515         (__wcsncasecmp): Convert to prototype-style function definition.
8517         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8518         function definition.
8519         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8520         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8521         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8522         * elf/dl-minimal.c (_itoa): Likewise.
8523         * hurd/hurdmalloc.c (malloc): Likewise.
8524         (free): Likewise.
8525         (realloc): Likewise.
8526         * inet/inet6_option.c (inet6_option_space): Likewise.
8527         (inet6_option_init): Likewise.
8528         (inet6_option_append): Likewise.
8529         (inet6_option_alloc): Likewise.
8530         (inet6_option_next): Likewise.
8531         (inet6_option_find): Likewise.
8532         * io/ftw.c (FTW_NAME): Likewise.
8533         (NFTW_NAME): Likewise.
8534         (NFTW_NEW_NAME): Likewise.
8535         (NFTW_OLD_NAME): Likewise.
8536         * libio/iofwide.c (_IO_fwide): Likewise.
8537         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8538         (_IO_str_init_static): Likewise.
8539         (_IO_str_init_readonly): Likewise.
8540         (_IO_str_overflow): Likewise.
8541         (_IO_str_underflow): Likewise.
8542         (_IO_str_count): Likewise.
8543         (_IO_str_seekoff): Likewise.
8544         (_IO_str_pbackfail): Likewise.
8545         (_IO_str_finish): Likewise.
8546         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8547         (_IO_wstr_overflow): Likewise.
8548         (_IO_wstr_underflow): Likewise.
8549         (_IO_wstr_count): Likewise.
8550         (_IO_wstr_seekoff): Likewise.
8551         (_IO_wstr_pbackfail): Likewise.
8552         (_IO_wstr_finish): Likewise.
8553         * locale/programs/localedef.c (normalize_codeset): Likewise.
8554         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8555         (add_locales_to_archive): Likewise.
8556         (delete_locales_from_archive): Likewise.
8557         * malloc/malloc.c (__libc_mallinfo): Likewise.
8558         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8559         * misc/tsearch.c (__tfind): Likewise.
8560         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8561         * nptl/pthread_attr_getdetachstate.c
8562         (__pthread_attr_getdetachstate): Likewise.
8563         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8564         Likewise.
8565         * nptl/pthread_attr_getinheritsched.c
8566         (__pthread_attr_getinheritsched): Likewise.
8567         * nptl/pthread_attr_getschedparam.c
8568         (__pthread_attr_getschedparam): Likewise.
8569         * nptl/pthread_attr_getschedpolicy.c
8570         (__pthread_attr_getschedpolicy): Likewise.
8571         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8572         Likewise.
8573         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8574         Likewise.
8575         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8576         Likewise.
8577         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8578         Likewise.
8579         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8580         (__pthread_attr_init_2_0): Likewise.
8581         * nptl/pthread_attr_setdetachstate.c
8582         (__pthread_attr_setdetachstate): Likewise.
8583         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8584         Likewise.
8585         * nptl/pthread_attr_setinheritsched.c
8586         (__pthread_attr_setinheritsched): Likewise.
8587         * nptl/pthread_attr_setschedparam.c
8588         (__pthread_attr_setschedparam): Likewise.
8589         * nptl/pthread_attr_setschedpolicy.c
8590         (__pthread_attr_setschedpolicy): Likewise.
8591         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8592         Likewise.
8593         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8594         Likewise.
8595         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8596         Likewise.
8597         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8598         Likewise.
8599         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8600         Likewise.
8601         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8602         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8603         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8604         use internal_function.
8605         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8606         prototype-style function definition.
8607         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8608         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8609         internal_function.
8610         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8611         Convert to prototype-style function definition.
8612         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8613         Likewise.
8614         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8615         Likewise.
8616         (__pthread_mutex_unlock): Likewise.
8617         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8618         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8619         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8620         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8621         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8622         * nss/makedb.c (process_input): Likewise.
8623         * posix/fnmatch.c (__strchrnul): Likewise.
8624         (__wcschrnul): Likewise.
8625         (fnmatch): Likewise.
8626         * posix/fnmatch_loop.c (FCT): Likewise.
8627         * posix/glob.c (globfree): Likewise.
8628         (__glob_pattern_type): Likewise.
8629         (__glob_pattern_p): Likewise.
8630         * posix/regcomp.c (re_compile_pattern): Likewise.
8631         (re_set_syntax): Likewise.
8632         (re_compile_fastmap): Likewise.
8633         (regcomp): Likewise.
8634         (regerror): Likewise.
8635         (regfree): Likewise.
8636         * posix/regexec.c (regexec): Likewise.
8637         (re_match): Likewise.
8638         (re_search): Likewise.
8639         (re_match_2): Likewise.
8640         (re_search_2): Likewise.
8641         (re_search_stub): Likewise.  Use internal_function
8642         (re_copy_regs): Likewise.
8643         (re_set_registers): Convert to prototype-style function
8644         definition.
8645         (prune_impossible_nodes): Likewise.  Use internal_function.
8646         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8647         prototype-style function definition.
8648         (inet_net_pton_ipv4): Likewise.
8649         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8650         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8651         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8652         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8653         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8654         Make variadic.
8655         * time/strptime_l.c (localtime_r): Convert to prototype-style
8656         function definition.
8657         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8658         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8659         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8660         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8662         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8663         definition.
8664         (_ufc_doit_r): Likewise.
8665         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8666         (_ufc_output_conversion_r): Likewise.
8667         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8668         * inet/rcmd.c (rcmd_af): Likewise.
8669         (rcmd): Likewise.
8670         (ruserok_af): Likewise.
8671         (ruserok): Likewise.
8672         (ruserok2_sa): Likewise.
8673         (ruserok_sa): Likewise.
8674         (iruserok_af): Likewise.
8675         (iruserok): Likewise.
8676         (__ivaliduser): Likewise.
8677         (__validuser2_sa): Likewise.
8678         * inet/rexec.c (rexec_af): Likewise.
8679         (rexec): Likewise.
8680         * inet/ruserpass.c (ruserpass): Likewise.
8681         * locale/programs/xmalloc.c (xcalloc): Likewise.
8682         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8683         * math/w_drem.c (__drem): Likewise.
8684         * math/w_dremf.c (__dremf): Likewise.
8685         * math/w_dreml.c (__dreml): Likewise.
8686         * misc/daemon.c (daemon): Likewise.
8687         * resolv/res_debug.c (p_fqnname): Likewise.
8688         * stdlib/div.c (div): Likewise.
8689         * string/memcmp.c (memcmp_bytes): Likewise.
8690         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8691         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8693         * crypt/cert.c (main): Convert to prototype-style function
8694         definition.
8695         * io/pipe.c (__pipe): Likewise.
8696         * io/pipe2.c (__pipe2): Likewise.
8697         * misc/futimesat.c (futimesat): Likewise.
8698         * misc/utimes.c (__utimes): Likewise.
8699         * posix/execve.c (__execve): Likewise.
8700         * posix/execvp.c (execvp): Likewise.
8701         * posix/execvpe.c (__execvpe): Likewise.
8702         * posix/fexecve.c (fexecve): Likewise.
8703         * socket/socketpair.c (socketpair): Likewise.
8704         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8705         * stdlib/erand48.c (erand48): Likewise.
8706         * stdlib/erand48_r.c (__erand48_r): Likewise.
8707         * stdlib/jrand48.c (jrand48): Likewise.
8708         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8709         * stdlib/lcong48.c (lcong48): Likewise.
8710         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8711         * stdlib/nrand48.c (nrand48): Likewise.
8712         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8713         * stdlib/seed48.c (seed48): Likewise.
8714         * stdlib/seed48_r.c (__seed48_r): Likewise.
8715         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8716         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8717         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8719 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8721         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8722         * configure: Regenerated.
8723         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8724         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8725         unconditional.
8726         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8727         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8728         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8729         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8730         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8731         unconditional.
8732         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8734         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8735         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8737         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8738         function definition.
8739         * crypt/crypt_util.c (__encrypt_r): Likewise.
8740         * libio/genops.c (_IO_no_init): Likewise.
8741         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8742         (_IO_old_fopencookie): Likewise.
8743         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8744         * libio/iogetline.c (_IO_getline): Likewise.
8745         (_IO_getline_info): Likewise.
8746         * libio/iogetwline.c (_IO_getwline): Likewise.
8747         (_IO_getwline_info): Likewise.
8748         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8749         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8750         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8751         (find_entry): Likewise.
8752         (iterate_table): Likewise.
8753         (lookup): Likewise.
8754         * login/forkpty.c (forkpty): Likewise.
8755         * misc/hsearch_r.c (__hsearch_r): Likewise.
8756         * misc/select.c (__select): Likewise.
8757         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8758         Likewise.
8759         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8760         Likewise.
8761         * nptl/old_pthread_cond_timedwait.c
8762         (__pthread_cond_timedwait_2_0): Likewise.
8763         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8764         * nptl/pthread_barrierattr_getpshared.c
8765         (pthread_barrierattr_getpshared): Likewise.
8766         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8767         Likewise.
8768         * nptl/pthread_mutex_setprioceiling.c
8769         (pthread_mutex_setprioceiling): Likewise.
8770         * nptl/pthread_mutexattr_getprioceiling.c
8771         (pthread_mutexattr_getprioceiling): Likewise.
8772         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8773         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8774         Likewise.
8775         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8776         Likewise.
8777         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8778         Likewise.
8779         * socket/recvfrom.c (__recvfrom): Likewise.
8780         * socket/sendto.c (__sendto): Likewise.
8781         * socket/setsockopt.c (__setsockopt): Likewise.
8782         * stdio-common/_itoa.c (_itoa): Likewise.
8783         * stdio-common/_itowa.c (_itowa): Likewise.
8784         * stdio-common/reg-printf.c (__register_printf_specifier):
8785         Likewise.
8786         (__register_printf_function): Likewise.
8787         * stdio-common/tempname.c (__path_search): Likewise.
8788         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8789         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8790         * stdlib/random_r.c (__initstate_r): Likewise.
8791         * stdlib/setenv.c (__add_to_environ): Likewise.
8792         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8793         * streams/getpmsg.c (getpmsg): Likewise.
8794         * streams/putmsg.c (putmsg): Likewise.
8795         * streams/putpmsg.c (putpmsg): Likewise.
8796         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8797         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8798         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8799         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8800         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8801         * sunrpc/svc_udp.c (cache_get): Likewise.
8802         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8803         * sysdeps/mach/hurd/getcwd.c
8804         (__canonicalize_directory_name_internal): Likewise.
8805         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8806         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8807         * sysdeps/mach/hurd/select.c (__select): Likewise.
8808         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8809         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8810         * sysdeps/sparc/nptl/pthread_barrier_init.c
8811         (__pthread_barrier_init): Likewise.
8812         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8813         (__pthread_cond_timedwait): Likewise.
8814         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8815         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8816         Likewise.
8817         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8818         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8819         Likewise.
8820         * sysvipc/semtimedop.c (semtimedop): Likewise.
8821         * time/setitimer.c (__setitimer): Likewise.
8822         * time/strftime_l.c (emacs_strftime): Likewise.
8824 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8826         * config.make.in (have-ssp): Delete.
8827         (stack-protector): New variable.
8828         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8829         cache test for -fstack-protector-strong.  Export stack_protector to
8830         the best ssp flag.
8831         * configure: Regenerated.
8832         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8833         * nscd/Makefile (CFLAGS-nscd): Likewise.
8834         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8836 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8838         [BZ #19122]
8839         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8840         attribute_hidden.
8842 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8844         [BZ #18743]
8845         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8846         code to...
8847         (ELIDE_LOCK): ...here.
8848         (__get_new_count): New function with part of the code from
8849         __elide_lock that updates the value of adapt_count after a
8850         transaction abort.
8851         (__elided_trylock): Moved this code to...
8852         (ELIDE_TRYLOCK): ...here.
8854 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8856         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8857         * configure: Regenerate.
8858         * INSTALL: Regenerate.
8859         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8860         and tweak grammar.
8862 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8864         * login/programs/pt_chown.c: Include signal.h
8865         (main): Clear any signal mask from the parent process.
8867 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8869         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8870         * configure: Regenerated.
8871         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8872         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8873         $(gnu89-inline-CFLAGS).
8875         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8876         test.
8877         (libc_cv_asm_weakext_directive): Likewise.
8878         * configure: Regenerated.
8879         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8880         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8881         * include/libc-symbols.h
8882         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8883         #error.
8884         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8885         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8887         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8888         prototype-style function definition.
8889         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8890         * sysdeps/i386/ffs.c (__ffs): Likewise.
8891         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8892         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8893         Likewise.
8894         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8895         Likewise.
8896         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8898         Likewise.
8899         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8900         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8901         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8902         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8903         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8904         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8905         * sysdeps/mach/hurd/access.c (__access): Likewise.
8906         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8907         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8908         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8909         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8910         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8911         (cthread_getspecific): Likewise.
8912         (cthread_setspecific): Likewise.
8913         (__libc_getspecific): Likewise.
8914         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8915         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8916         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8917         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8918         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8919         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8920         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8921         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8922         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8923         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8924         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8925         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8926         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8927         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8928         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8929         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8930         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8931         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8932         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8933         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8934         * sysdeps/mach/hurd/link.c (__link): Likewise.
8935         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8936         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8937         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8938         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8939         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8940         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8941         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8942         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8943         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8944         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8945         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8946         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8947         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8948         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8949         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8950         * sysdeps/mach/hurd/send.c (__send): Likewise.
8951         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8952         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8953         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8954         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8955         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8956         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8957         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8958         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8959         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8960         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8961         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8962         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8963         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8964         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8965         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8966         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8967         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8968         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8969         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8970         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8971         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8972         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8973         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8974         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8975         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8976         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8977         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8978         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8979         * sysdeps/posix/alarm.c (alarm): Likewise.
8980         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8981         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8982         * sysdeps/posix/dup.c (__dup): Likewise.
8983         * sysdeps/posix/dup2.c (__dup2): Likewise.
8984         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8985         (main): Likewise.
8986         * sysdeps/posix/flock.c (__flock): Likewise.
8987         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8988         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8989         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8990         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8991         * sysdeps/posix/isatty.c (__isatty): Likewise.
8992         * sysdeps/posix/killpg.c (killpg): Likewise.
8993         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8994         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8995         * sysdeps/posix/raise.c (raise): Likewise.
8996         * sysdeps/posix/remove.c (remove): Likewise.
8997         * sysdeps/posix/rename.c (rename): Likewise.
8998         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8999         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9000         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9001         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9002         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9003         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9004         * sysdeps/posix/sigset.c (sigset): Likewise.
9005         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9006         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9007         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9008         * sysdeps/posix/time.c (time): Likewise.
9009         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9010         (ttyname): Likewise.
9011         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9012         * sysdeps/posix/utime.c (utime): Likewise.
9013         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9014         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9015         Likewise.
9016         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9017         (pthread_spin_trylock): Likewise.
9018         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9019         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9020         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9021         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9022         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9023         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9024         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9025         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9026         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9027         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9028         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9029         * sysdeps/s390/ffs.c (__ffs): Likewise.
9030         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9031         Likewise.
9032         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9033         Likewise.
9034         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9035         Likewise.
9036         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9037         (pthread_barrier_destroy): Likewise.
9038         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9039         (__pthread_barrier_wait): Likewise.
9040         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9041         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9042         (__pthread_barrier_wait): Likewise.
9043         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9044         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9045         (memcmp_not_common_alignment): Likewise.
9046         (MEMCMP): Likewise.
9047         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9048         (_wordcopy_fwd_dest_aligned): Likewise.
9049         (_wordcopy_bwd_aligned): Likewise.
9050         (_wordcopy_bwd_dest_aligned): Likewise.
9051         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9052         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9053         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9054         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9055         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9056         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9057         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9058         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9059         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9060         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9061         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9062         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9063         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9064         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9065         * sysdeps/unix/stime.c (stime): Likewise.
9066         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9067         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9068         Likewise.  Use internal_function.
9069         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9070         Convert to prototype-style function definition.
9071         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9072         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9073         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9074         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9075         Likewise.  Use internal_function.
9076         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9077         prototype-style function definition
9078         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9079         Likewise.
9080         (__getlogin_r): Likewise.
9081         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9082         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9083         (__pthread_cond_broadcast): Likewise.
9084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9085         (__pthread_cond_destroy): Likewise.
9086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9087         (__pthread_cond_init): Likewise.
9088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9089         (__pthread_cond_signal): Likewise.
9090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9091         (__pthread_cond_wait): Likewise.
9092         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9093         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9094         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9095         Likewise.
9096         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9097         Likewise.
9098         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9099         Likewise.
9100         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9101         Likewise.
9102         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9104         (__ftruncate64): Likewise.
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9106         (truncate64): Likewise.
9107         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9108         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9109         (pthread_getcpuclockid): Likewise.
9110         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9113         Likewise.
9114         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9117         Likewise.
9118         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9119         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9120         (__libc_sigaction): Likewise.
9121         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9122         Likewise.
9123         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9124         (__sigprocmask): Likewise.
9125         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9126         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9127         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9128         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9129         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9130         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9131         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9132         Likewise.
9133         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9134         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9135         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9136         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9137         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9138         Likewise.
9139         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9140         (__sigprocmask): Likewise.
9141         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9142         (cfgetispeed): Likewise.
9143         (cfsetospeed): Likewise.
9144         (cfsetispeed): Likewise.
9145         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9146         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9147         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9148         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9149         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9150         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9151         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9152         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9153         Likewise.
9154         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9155         Likewise.
9156         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9157         Likewise.
9158         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9159         Likewise.
9160         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9162 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9164         sunrpc: Rewrite with explicit TLS access using __thread.
9165         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9166         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9167         directly.
9168         (__rpc_thread_variables): Access thread_rpc_vars directly.
9169         Eliminate redundant assignment of the tvp variable.
9171 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9173         malloc: Rewrite with explicit TLS access using __thread.
9174         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9175         (tsd_setspecific, tsd_getspecific): Remove.
9176         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9177         (tsd_setspecific, tsd_getspecific): Likewise.
9178         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9179         (tsd_setspecific, tsd_getspecific): Likewise.
9180         * malloc/arena.c (thread_arena): New TLS variable.
9181         (arena_key): Remove variable.
9182         (arena_get): Use thread_arena.
9183         (arena_lookup): Remove macro.
9184         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9185         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9186         (_int_new_arena, get_free_list, reused_arena)
9187         (arena_thread_freeres): Use thread_arena.
9188         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9189         tsd_getspecific, tsd_setspecific from safety annotations.
9190         (Allocating Cleared Space): Remove arena_lookup from safety
9191         annotations.
9193 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9195         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9196         struct scratch_buffer instead of extend_alloca.
9198 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9200         * sysdeps/unix/sysv/linux/kernel-features.h
9201         (__ASSUME_SOCK_CLOEXEC): Remove.
9202         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9203         (__have_paccept): Remove unused macro.
9204         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9205         * misc/syslog.c (openlog_internal): Remove fallback code for
9206         !__ASSUME_SOCK_CLOEXEC.
9207         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9208         missing SOCK_CLOEXEC.
9209         * nscd/connections.c (have_sock_cloexec): Remove definition.
9210         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9211         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9212         !__ASSUME_SOCK_CLOEXEC.
9213         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9214         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9215         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9216         definition.
9217         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9218         code for !__ASSUME_SOCK_CLOEXEC.
9220 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9222         [BZ #18982]
9223         * manual/stdio.texi (Variable Arguments Output): Add portability
9224         note, explaining that vfprintf clobbers the va_list pointer.
9226 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9228         * math/libm-test.inc (fabs_test_data): Add more tests.
9229         (fdim_test_data): Likewise.
9230         (fma_test_data): Likewise.
9231         (fmax_test_data): Likewise.
9232         (fmin_test_data): Likewise.
9233         (fmod_test_data): Likewise.
9235 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9237         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9238         data.
9240 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9242         * math/libm-test.inc (ceil_test_data): Add more tests and more
9243         expectations for "inexact".
9244         (floor_test_data): Add more tests.
9245         (round_test_data): Likewise.
9246         (trunc_test_data): Likewise.
9248         * crypt/cert.c (good_bye): Convert to prototype-style function
9249         definition.
9250         (get8): Likewise.
9251         (put8): Likewise.
9252         * crypt/crypt-entry.c (crypt): Likewise.
9253         (__fcrypt): Likewise.
9254         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9255         (_ufc_set_bits): Likewise.
9256         (_ufc_clearmem): Likewise.
9257         (__init_des_r): Likewise.
9258         (shuffle_sb): Likewise.
9259         (shuffle_sb): Likewise.
9260         (_ufc_setup_salt_r): Likewise.
9261         (_ufc_mk_keytab_r): Likewise.
9262         (_ufc_dofinalperm_r): Likewise.
9263         (encrypt): Likewise.
9264         (__setkey_r): Likewise.
9265         (setkey): Likewise.
9266         * crypt/md5.c (md5_init_ctx): Likewise.
9267         (md5_read_ctx): Likewise.
9268         (md5_finish_ctx): Likewise.
9269         (md5_stream): Likewise.
9270         (md5_buffer): Likewise.
9271         (md5_process_bytes): Likewise.
9272         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9273         (__sha256_finish_ctx): Likewise.
9274         (__sha256_process_bytes): Likewise.
9275         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9276         (__sha512_finish_ctx): Likewise.
9277         (__sha512_process_bytes): Likewise.
9278         * ctype/isctype.c (__isctype): Likewise.
9279         * debug/backtrace.c (__backtrace): Likewise.
9280         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9281         * debug/fgets_chk.c (__fgets_chk): Likewise.
9282         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9283         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9284         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9285         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9286         * debug/memset_chk.c (__memset_chk): Likewise.
9287         * debug/strcat_chk.c (__strcat_chk): Likewise.
9288         * debug/strncat_chk.c (__strncat_chk): Likewise.
9289         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9290         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9291         * dirent/dirfd.c (dirfd): Likewise.
9292         * dirent/getdents.c (__getdirentries): Likewise.
9293         * dirent/getdents64.c (getdirentries64): Likewise.
9294         * dirent/rewinddir.c (__rewinddir): Likewise.
9295         * dirent/seekdir.c (seekdir): Likewise.
9296         * dirent/telldir.c (telldir): Likewise.
9297         * elf/sln.c (makesymlinks): Likewise.
9298         (makesymlink): Likewise.
9299         * gmon/gmon.c (__moncontrol): Likewise.
9300         (__monstartup): Likewise.
9301         (write_hist): Likewise.
9302         (write_call_graph): Likewise.
9303         (write_bb_counts): Likewise.
9304         * grp/setgroups.c (setgroups): Likewise.
9305         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9306         * inet/inet_net.c (inet_network): Likewise.
9307         * inet/inet_netof.c (inet_netof): Likewise.
9308         * inet/rcmd.c (rresvport_af): Likewise.
9309         (rresvport): Likewise.
9310         * io/access.c (__access): Likewise.
9311         * io/chdir.c (__chdir): Likewise.
9312         * io/chmod.c (__chmod): Likewise.
9313         * io/chown.c (__chown): Likewise.
9314         * io/close.c (__close): Likewise.
9315         * io/creat.c (creat): Likewise.
9316         * io/creat64.c (creat64): Likewise.
9317         * io/dup.c (__dup): Likewise.
9318         * io/dup2.c (__dup2): Likewise.
9319         * io/dup3.c (__dup3): Likewise.
9320         * io/euidaccess.c (__euidaccess): Likewise.
9321         * io/faccessat.c (faccessat): Likewise.
9322         * io/fchmod.c (__fchmod): Likewise.
9323         * io/fchmodat.c (fchmodat): Likewise.
9324         * io/fchown.c (__fchown): Likewise.
9325         * io/fchownat.c (fchownat): Likewise.
9326         * io/fcntl.c (__fcntl): Likewise.
9327         * io/flock.c (__flock): Likewise.
9328         * io/fts.c (fts_load): Likewise.
9329         (fts_close): Likewise.
9330         (fts_read): Likewise.
9331         (fts_set): Likewise.
9332         (fts_children): Likewise.
9333         (fts_build): Likewise.
9334         (fts_stat): Likewise.
9335         (fts_sort): Likewise.
9336         (fts_alloc): Likewise.
9337         (fts_lfree): Likewise.
9338         (fts_palloc): Likewise.
9339         (fts_padjust): Likewise.
9340         (fts_maxarglen): Likewise.
9341         (fts_safe_changedir): Likewise.
9342         * io/getwd.c (getwd): Likewise.
9343         * io/isatty.c (__isatty): Likewise.
9344         * io/lchown.c (__lchown): Likewise.
9345         * io/link.c (__link): Likewise.
9346         * io/linkat.c (linkat): Likewise.
9347         * io/lseek.c (__libc_lseek): Likewise.
9348         * io/mkdir.c (__mkdir): Likewise.
9349         * io/mkdirat.c (mkdirat): Likewise.
9350         * io/mkfifo.c (mkfifo): Likewise.
9351         * io/mkfifoat.c (mkfifoat): Likewise.
9352         * io/open.c (__libc_open): Likewise.
9353         * io/open64.c (__libc_open64): Likewise.
9354         * io/readlink.c (__readlink): Likewise.
9355         * io/readlinkat.c (readlinkat): Likewise.
9356         * io/rmdir.c (__rmdir): Likewise.
9357         * io/symlink.c (__symlink): Likewise.
9358         * io/symlinkat.c (symlinkat): Likewise.
9359         * io/ttyname.c (ttyname): Likewise.
9360         * io/ttyname_r.c (__ttyname_r): Likewise.
9361         * io/umask.c (__umask): Likewise.
9362         * io/unlink.c (__unlink): Likewise.
9363         * io/unlinkat.c (unlinkat): Likewise.
9364         * io/utime.c (utime): Likewise.
9365         * libio/clearerr.c (clearerr): Likewise.
9366         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9367         * libio/feof.c (_IO_feof): Likewise.
9368         * libio/feof_u.c (feof_unlocked): Likewise.
9369         * libio/ferror.c (_IO_ferror): Likewise.
9370         * libio/ferror_u.c (ferror_unlocked): Likewise.
9371         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9372         * libio/fileno.c (__fileno): Likewise.
9373         * libio/fputc.c (fputc): Likewise.
9374         * libio/fputc_u.c (fputc_unlocked): Likewise.
9375         * libio/fputwc.c (fputwc): Likewise.
9376         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9377         * libio/freopen.c (freopen): Likewise.
9378         * libio/freopen64.c (freopen64): Likewise.
9379         * libio/fseek.c (fseek): Likewise.
9380         * libio/fseeko.c (fseeko): Likewise.
9381         * libio/fseeko64.c (fseeko64): Likewise.
9382         * libio/ftello.c (__ftello): Likewise.
9383         * libio/ftello64.c (ftello64): Likewise.
9384         * libio/fwide.c (fwide): Likewise.
9385         * libio/genops.c (_IO_un_link): Likewise.
9386         (_IO_link_in): Likewise.
9387         (_IO_least_marker): Likewise.
9388         (_IO_switch_to_main_get_area): Likewise.
9389         (_IO_switch_to_backup_area): Likewise.
9390         (_IO_switch_to_get_mode): Likewise.
9391         (_IO_free_backup_area): Likewise.
9392         (_IO_switch_to_put_mode): Likewise.
9393         (__overflow): Likewise.
9394         (__underflow): Likewise.
9395         (__uflow): Likewise.
9396         (_IO_setb): Likewise.
9397         (_IO_doallocbuf): Likewise.
9398         (_IO_default_underflow): Likewise.
9399         (_IO_default_uflow): Likewise.
9400         (_IO_default_xsputn): Likewise.
9401         (_IO_sgetn): Likewise.
9402         (_IO_default_xsgetn): Likewise.
9403         (_IO_sync): Likewise.
9404         (_IO_default_setbuf): Likewise.
9405         (_IO_default_seekpos): Likewise.
9406         (_IO_default_doallocate): Likewise.
9407         (_IO_init): Likewise.
9408         (_IO_old_init): Likewise.
9409         (_IO_default_sync): Likewise.
9410         (_IO_default_finish): Likewise.
9411         (_IO_default_seekoff): Likewise.
9412         (_IO_sputbackc): Likewise.
9413         (_IO_sungetc): Likewise.
9414         (_IO_set_column): Likewise.
9415         (_IO_set_column): Likewise.
9416         (_IO_adjust_column): Likewise.
9417         (_IO_get_column): Likewise.
9418         (_IO_init_marker): Likewise.
9419         (_IO_remove_marker): Likewise.
9420         (_IO_marker_difference): Likewise.
9421         (_IO_marker_delta): Likewise.
9422         (_IO_seekmark): Likewise.
9423         (_IO_unsave_markers): Likewise.
9424         (_IO_nobackup_pbackfail): Likewise.
9425         (_IO_default_pbackfail): Likewise.
9426         (_IO_default_seek): Likewise.
9427         (_IO_default_stat): Likewise.
9428         (_IO_default_read): Likewise.
9429         (_IO_default_write): Likewise.
9430         (_IO_default_showmanyc): Likewise.
9431         (_IO_default_imbue): Likewise.
9432         (_IO_iter_next): Likewise.
9433         (_IO_iter_file): Likewise.
9434         * libio/getc.c (_IO_getc): Likewise.
9435         * libio/getwc.c (_IO_getwc): Likewise.
9436         * libio/iofclose.c (_IO_new_fclose): Likewise.
9437         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9438         * libio/iofflush.c (_IO_fflush): Likewise.
9439         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9440         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9441         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9442         * libio/iofgets.c (_IO_fgets): Likewise.
9443         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9444         * libio/iofgetws.c (fgetws): Likewise.
9445         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9446         * libio/iofopen64.c (_IO_fopen64): Likewise.
9447         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9448         (_IO_cookie_write): Likewise.
9449         (_IO_cookie_seek): Likewise.
9450         (_IO_cookie_close): Likewise.
9451         (_IO_cookie_seekoff): Likewise.
9452         (_IO_old_cookie_seek): Likewise.
9453         * libio/iofputs.c (_IO_fputs): Likewise.
9454         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9455         * libio/iofputws.c (fputws): Likewise.
9456         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9457         * libio/iofread.c (_IO_fread): Likewise.
9458         * libio/iofread_u.c (__fread_unlocked): Likewise.
9459         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9460         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9461         * libio/ioftell.c (_IO_ftell): Likewise.
9462         * libio/iofwrite.c (_IO_fwrite): Likewise.
9463         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9464         * libio/iogets.c (_IO_gets): Likewise.
9465         * libio/iopadn.c (_IO_padn): Likewise.
9466         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9467         (_IO_new_popen): Likewise.
9468         (_IO_new_proc_close): Likewise.
9469         * libio/ioputs.c (_IO_puts): Likewise.
9470         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9471         (_IO_seekoff): Likewise.
9472         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9473         (_IO_seekpos): Likewise.
9474         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9475         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9476         * libio/ioungetc.c (_IO_ungetc): Likewise.
9477         * libio/ioungetwc.c (ungetwc): Likewise.
9478         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9479         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9480         * libio/iowpadn.c (_IO_wpadn): Likewise.
9481         * libio/libc_fatal.c (__libc_fatal): Likewise.
9482         * libio/memstream.c (__open_memstream): Likewise.
9483         (_IO_mem_sync): Likewise.
9484         (_IO_mem_finish): Likewise.
9485         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9486         (_IO_old_file_close_it): Likewise.
9487         (_IO_old_file_finish): Likewise.
9488         (_IO_old_file_fopen): Likewise.
9489         (_IO_old_file_attach): Likewise.
9490         (_IO_old_file_setbuf): Likewise.
9491         (_IO_old_do_write): Likewise.
9492         (old_do_write): Likewise.
9493         (_IO_old_file_underflow): Likewise.
9494         (_IO_old_file_overflow): Likewise.
9495         (_IO_old_file_sync): Likewise.
9496         (_IO_old_file_seekoff): Likewise.
9497         (_IO_old_file_write): Likewise.
9498         (_IO_old_file_xsputn): Likewise.
9499         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9500         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9501         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9502         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9503         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9504         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9505         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9506         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9507         (_IO_old_popen): Likewise.
9508         (_IO_old_proc_close): Likewise.
9509         * libio/oldpclose.c (__old_pclose): Likewise.
9510         * libio/pclose.c (__new_pclose): Likewise.
9511         * libio/peekc.c (_IO_peekc_locked): Likewise.
9512         * libio/putc.c (_IO_putc): Likewise.
9513         * libio/putc_u.c (putc_unlocked): Likewise.
9514         * libio/putchar.c (putchar): Likewise.
9515         * libio/putchar_u.c (putchar_unlocked): Likewise.
9516         * libio/putwc.c (putwc): Likewise.
9517         * libio/putwc_u.c (putwc_unlocked): Likewise.
9518         * libio/putwchar.c (putwchar): Likewise.
9519         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9520         * libio/rewind.c (rewind): Likewise.
9521         * libio/setbuf.c (setbuf): Likewise.
9522         * libio/setlinebuf.c (setlinebuf): Likewise.
9523         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9524         * libio/vscanf.c (_IO_vscanf): Likewise.
9525         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9526         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9527         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9528         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9529         (_IO_switch_to_main_wget_area): Likewise.
9530         (_IO_switch_to_wbackup_area): Likewise.
9531         (_IO_wsetb): Likewise.
9532         (_IO_wdefault_pbackfail): Likewise.
9533         (_IO_wdefault_finish): Likewise.
9534         (_IO_wdefault_uflow): Likewise.
9535         (__woverflow): Likewise.
9536         (__wuflow): Likewise.
9537         (__wunderflow): Likewise.
9538         (_IO_wdefault_xsputn): Likewise.
9539         (_IO_wdefault_xsgetn): Likewise.
9540         (_IO_wdoallocbuf): Likewise.
9541         (_IO_wdefault_doallocate): Likewise.
9542         (_IO_switch_to_wget_mode): Likewise.
9543         (_IO_free_wbackup_area): Likewise.
9544         (_IO_switch_to_wput_mode): Likewise.
9545         (_IO_sputbackwc): Likewise.
9546         (_IO_sungetwc): Likewise.
9547         (_IO_adjust_wcolumn): Likewise.
9548         (_IO_init_wmarker): Likewise.
9549         (_IO_wmarker_delta): Likewise.
9550         (_IO_seekwmark): Likewise.
9551         (_IO_unsave_wmarkers): Likewise.
9552         * libio/wmemstream.c (open_wmemstream): Likewise.
9553         (_IO_wmem_sync): Likewise.
9554         (_IO_wmem_finish): Likewise.
9555         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9556         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9557         * locale/programs/simple-hash.c (init_hash): Likewise.
9558         (delete_hash): Likewise.
9559         (insert_entry): Likewise.
9560         (set_entry): Likewise.
9561         (next_prime): Likewise.
9562         (is_prime): Likewise.
9563         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9564         (xmalloc): Likewise.
9565         (xrealloc): Likewise.
9566         * locale/programs/xstrdup.c (xstrdup): Likewise.
9567         * localedata/collate-test.c (xstrcoll): Likewise.
9568         * localedata/xfrm-test.c (xstrcmp): Likewise.
9569         * login/getlogin_r.c (__getlogin_r): Likewise.
9570         * login/getpt.c (__posix_openpt): Likewise.
9571         * login/login_tty.c (login_tty): Likewise.
9572         * login/setlogin.c (setlogin): Likewise.
9573         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9574         (mach_msg_destroy_port): Likewise.
9575         (mach_msg_destroy_memory): Likewise.
9576         * malloc/mcheck.c (flood): Likewise.
9577         * misc/acct.c (acct): Likewise.
9578         * misc/brk.c (__brk): Likewise.
9579         * misc/chflags.c (chflags): Likewise.
9580         * misc/chroot.c (chroot): Likewise.
9581         * misc/fchflags.c (fchflags): Likewise.
9582         * misc/fstab.c (getfsspec): Likewise.
9583         (getfsfile): Likewise.
9584         * misc/fsync.c (fsync): Likewise.
9585         * misc/ftruncate.c (__ftruncate): Likewise.
9586         * misc/ftruncate64.c (__ftruncate64): Likewise.
9587         * misc/getdomain.c (getdomainname): Likewise.
9588         (getdomainname): Likewise.
9589         * misc/gethostname.c (__gethostname): Likewise.
9590         * misc/getpass.c (getpass): Likewise.
9591         * misc/getttyent.c (skip): Likewise.
9592         (value): Likewise.
9593         * misc/gtty.c (gtty): Likewise.
9594         * misc/hsearch.c (hsearch): Likewise.
9595         (hcreate): Likewise.
9596         * misc/hsearch_r.c (__hcreate_r): Likewise.
9597         (__hdestroy_r): Likewise.
9598         * misc/ioctl.c (__ioctl): Likewise.
9599         * misc/mkdtemp.c (mkdtemp): Likewise.
9600         * misc/mkostemp.c (mkostemp): Likewise.
9601         * misc/mkostemp64.c (mkostemp64): Likewise.
9602         * misc/mkostemps.c (mkostemps): Likewise.
9603         * misc/mkostemps64.c (mkostemps64): Likewise.
9604         * misc/mkstemp.c (mkstemp): Likewise.
9605         * misc/mkstemp64.c (mkstemp64): Likewise.
9606         * misc/mkstemps.c (mkstemps): Likewise.
9607         * misc/mkstemps64.c (mkstemps64): Likewise.
9608         * misc/mktemp.c (__mktemp): Likewise.
9609         * misc/preadv.c (preadv): Likewise.
9610         * misc/preadv64.c (preadv64): Likewise.
9611         * misc/pwritev.c (pwritev): Likewise.
9612         * misc/pwritev64.c (pwritev64): Likewise.
9613         * misc/readv.c (__readv): Likewise.
9614         * misc/revoke.c (revoke): Likewise.
9615         * misc/setdomain.c (setdomainname): Likewise.
9616         * misc/setegid.c (setegid): Likewise.
9617         * misc/seteuid.c (seteuid): Likewise.
9618         * misc/sethostid.c (sethostid): Likewise.
9619         * misc/sethostname.c (sethostname): Likewise.
9620         * misc/setregid.c (__setregid): Likewise.
9621         * misc/setreuid.c (__setreuid): Likewise.
9622         * misc/sstk.c (sstk): Likewise.
9623         * misc/stty.c (stty): Likewise.
9624         * misc/syscall.c (syscall): Likewise.
9625         * misc/syslog.c (setlogmask): Likewise.
9626         * misc/truncate.c (__truncate): Likewise.
9627         * misc/truncate64.c (truncate64): Likewise.
9628         * misc/ualarm.c (ualarm): Likewise.
9629         * misc/usleep.c (usleep): Likewise.
9630         * misc/ustat.c (ustat): Likewise.
9631         * misc/writev.c (__writev): Likewise.
9632         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9633         * nptl/old_pthread_cond_broadcast.c
9634         (__pthread_cond_broadcast_2_0): Likewise.
9635         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9636         Likewise.
9637         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9638         Likewise.
9639         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9640         Likewise.
9641         * nptl/pt-raise.c (raise): Likewise.
9642         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9643         Likewise.
9644         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9645         * nptl/pthread_barrierattr_destroy.c
9646         (pthread_barrierattr_destroy): Likewise.
9647         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9648         Likewise.
9649         * nptl/pthread_barrierattr_setpshared.c
9650         (pthread_barrierattr_setpshared): Likewise.
9651         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9652         Likewise.
9653         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9654         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9655         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9656         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9657         Likewise.
9658         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9659         Likewise.
9660         * nptl/pthread_condattr_getpshared.c
9661         (pthread_condattr_getpshared): Likewise.
9662         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9663         Likewise.
9664         * nptl/pthread_condattr_setpshared.c
9665         (pthread_condattr_setpshared): Likewise.
9666         * nptl/pthread_detach.c (pthread_detach): Likewise.
9667         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9668         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9669         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9670         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9671         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9672         Likewise.
9673         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9674         Likewise.
9675         * nptl/pthread_mutex_getprioceiling.c
9676         (pthread_mutex_getprioceiling): Likewise.
9677         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9678         Likewise.
9679         * nptl/pthread_mutexattr_getprotocol.c
9680         (pthread_mutexattr_getprotocol): Likewise.
9681         * nptl/pthread_mutexattr_getpshared.c
9682         (pthread_mutexattr_getpshared): Likewise.
9683         * nptl/pthread_mutexattr_getrobust.c
9684         (pthread_mutexattr_getrobust): Likewise.
9685         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9686         Likewise.
9687         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9688         Likewise.
9689         * nptl/pthread_mutexattr_setprioceiling.c
9690         (pthread_mutexattr_setprioceiling): Likewise.
9691         * nptl/pthread_mutexattr_setprotocol.c
9692         (pthread_mutexattr_setprotocol): Likewise.
9693         * nptl/pthread_mutexattr_setpshared.c
9694         (pthread_mutexattr_setpshared): Likewise.
9695         * nptl/pthread_mutexattr_setrobust.c
9696         (pthread_mutexattr_setrobust): Likewise.
9697         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9698         Likewise.
9699         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9700         Likewise.
9701         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9702         Likewise.
9703         * nptl/pthread_rwlockattr_getkind_np.c
9704         (pthread_rwlockattr_getkind_np): Likewise.
9705         * nptl/pthread_rwlockattr_getpshared.c
9706         (pthread_rwlockattr_getpshared): Likewise.
9707         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9708         Likewise.
9709         * nptl/pthread_rwlockattr_setkind_np.c
9710         (pthread_rwlockattr_setkind_np): Likewise.
9711         * nptl/pthread_rwlockattr_setpshared.c
9712         (pthread_rwlockattr_setpshared): Likewise.
9713         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9714         Likewise.
9715         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9716         Likewise.
9717         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9718         Likewise.
9719         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9720         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9721         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9722         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9723         * nptl/sem_close.c (sem_close): Likewise.
9724         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9725         * nptl/sem_init.c (__old_sem_init): Likewise.
9726         * nptl/sigaction.c (__sigaction): Likewise.
9727         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9728         * posix/_exit.c (_exit): Likewise.
9729         * posix/alarm.c (alarm): Likewise.
9730         * posix/confstr.c (confstr): Likewise.
9731         * posix/fpathconf.c (__fpathconf): Likewise.
9732         * posix/getgroups.c (__getgroups): Likewise.
9733         * posix/getpgid.c (__getpgid): Likewise.
9734         * posix/group_member.c (__group_member): Likewise.
9735         * posix/pathconf.c (__pathconf): Likewise.
9736         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9737         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9738         * posix/setgid.c (__setgid): Likewise.
9739         * posix/setpgid.c (__setpgid): Likewise.
9740         * posix/setuid.c (__setuid): Likewise.
9741         * posix/sleep.c (__sleep): Likewise.
9742         * posix/sysconf.c (__sysconf): Likewise.
9743         * posix/times.c (__times): Likewise.
9744         * posix/uname.c (__uname): Likewise.
9745         * posix/waitid.c (__waitid): Likewise.
9746         * pwd/getpw.c (__getpw): Likewise.
9747         * resolv/base64.c (b64_pton): Likewise.
9748         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9749         * resolv/gethnamaddr.c (Dprintf): Likewise.
9750         (gethostbyname): Likewise.
9751         (gethostbyname2): Likewise.
9752         (gethostbyaddr): Likewise.
9753         (_sethtent): Likewise.
9754         (_gethtbyname): Likewise.
9755         (_gethtbyname2): Likewise.
9756         (_gethtbyaddr): Likewise.
9757         (map_v4v6_address): Likewise.
9758         (map_v4v6_hostent): Likewise.
9759         (addrsort): Likewise.
9760         (ht_sethostent): Likewise.
9761         (ht_gethostbyname): Likewise.
9762         (ht_gethostbyaddr): Likewise.
9763         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9764         (inet_net_ntop_ipv4): Likewise.
9765         * resolv/inet_neta.c (inet_neta): Likewise.
9766         * resolv/inet_ntop.c (inet_ntop): Likewise.
9767         (inet_ntop4): Likewise.
9768         (inet_ntop6): Likewise.
9769         * resolv/inet_pton.c (__inet_pton): Likewise.
9770         (inet_pton4): Likewise.
9771         (inet_pton6): Likewise.
9772         * resolv/res_debug.c (loc_aton): Likewise.
9773         (loc_ntoa): Likewise.
9774         * resource/getpriority.c (__getpriority): Likewise.
9775         * resource/getrusage.c (__getrusage): Likewise.
9776         * resource/nice.c (nice): Likewise.
9777         * resource/setpriority.c (__setpriority): Likewise.
9778         * resource/setrlimit64.c (setrlimit64): Likewise.
9779         * resource/vlimit.c (vlimit): Likewise.
9780         * resource/vtimes.c (vtimes): Likewise.
9781         * rt/aio_error.c (aio_error): Likewise.
9782         * rt/aio_return.c (aio_return): Likewise.
9783         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9784         * signal/kill.c (__kill): Likewise.
9785         * signal/killpg.c (killpg): Likewise.
9786         * signal/raise.c (raise): Likewise.
9787         * signal/sigaction.c (__sigaction): Likewise.
9788         * signal/sigaddset.c (sigaddset): Likewise.
9789         * signal/sigaltstack.c (sigaltstack): Likewise.
9790         * signal/sigandset.c (sigandset): Likewise.
9791         * signal/sigblock.c (__sigblock): Likewise.
9792         * signal/sigdelset.c (sigdelset): Likewise.
9793         * signal/sigempty.c (sigemptyset): Likewise.
9794         * signal/sigfillset.c (sigfillset): Likewise.
9795         * signal/sighold.c (sighold): Likewise.
9796         * signal/sigignore.c (sigignore): Likewise.
9797         * signal/sigintr.c (siginterrupt): Likewise.
9798         * signal/sigisempty.c (sigisemptyset): Likewise.
9799         * signal/sigismem.c (sigismember): Likewise.
9800         * signal/signal.c (signal): Likewise.
9801         * signal/sigorset.c (sigorset): Likewise.
9802         * signal/sigpause.c (__sigpause): Likewise.
9803         * signal/sigpending.c (sigpending): Likewise.
9804         * signal/sigprocmask.c (__sigprocmask): Likewise.
9805         * signal/sigrelse.c (sigrelse): Likewise.
9806         * signal/sigreturn.c (__sigreturn): Likewise.
9807         * signal/sigset.c (sigset): Likewise.
9808         * signal/sigsetmask.c (__sigsetmask): Likewise.
9809         * signal/sigstack.c (sigstack): Likewise.
9810         * signal/sigsuspend.c (__sigsuspend): Likewise.
9811         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9812         * signal/sysv_signal.c (__sysv_signal): Likewise.
9813         * socket/accept.c (accept): Likewise.
9814         * socket/accept4.c (__libc_accept4): Likewise.
9815         * socket/bind.c (__bind): Likewise.
9816         * socket/connect.c (__connect): Likewise.
9817         * socket/getpeername.c (getpeername): Likewise.
9818         * socket/getsockname.c (__getsockname): Likewise.
9819         * socket/getsockopt.c (getsockopt): Likewise.
9820         * socket/listen.c (__listen): Likewise.
9821         * socket/recv.c (__recv): Likewise.
9822         * socket/recvmsg.c (__recvmsg): Likewise.
9823         * socket/send.c (__send): Likewise.
9824         * socket/sendmsg.c (__sendmsg): Likewise.
9825         * socket/shutdown.c (shutdown): Likewise.
9826         * socket/sockatmark.c (sockatmark): Likewise.
9827         * socket/socket.c (__socket): Likewise.
9828         * stdio-common/ctermid.c (ctermid): Likewise.
9829         * stdio-common/cuserid.c (cuserid): Likewise.
9830         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9831         * stdio-common/remove.c (remove): Likewise.
9832         * stdio-common/rename.c (rename): Likewise.
9833         * stdio-common/renameat.c (renameat): Likewise.
9834         * stdio-common/tempname.c (__gen_tempname): Likewise.
9835         * stdio-common/xbug.c (InitBuffer): Likewise.
9836         (AppendToBuffer): Likewise.
9837         (ReadFile): Likewise.
9838         * stdlib/a64l.c (a64l): Likewise.
9839         * stdlib/drand48_r.c (drand48_r): Likewise.
9840         * stdlib/getcontext.c (getcontext): Likewise.
9841         * stdlib/getenv.c (getenv): Likewise.
9842         * stdlib/l64a.c (l64a): Likewise.
9843         * stdlib/llabs.c (llabs): Likewise.
9844         * stdlib/lldiv.c (lldiv): Likewise.
9845         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9846         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9847         * stdlib/putenv.c (putenv): Likewise.
9848         * stdlib/random.c (__srandom): Likewise.
9849         (__initstate): Likewise.
9850         (__setstate): Likewise.
9851         * stdlib/random_r.c (__srandom_r): Likewise.
9852         (__setstate_r): Likewise.
9853         (__random_r): Likewise.
9854         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9855         * stdlib/setcontext.c (setcontext): Likewise.
9856         * stdlib/setenv.c (setenv): Likewise.
9857         (unsetenv): Likewise.
9858         * stdlib/srand48.c (srand48): Likewise.
9859         * stdlib/srand48_r.c (__srand48_r): Likewise.
9860         * stdlib/swapcontext.c (swapcontext): Likewise.
9861         * stdlib/system.c (__libc_system): Likewise.
9862         * stdlib/tst-strtod.c (expand): Likewise.
9863         * stdlib/tst-strtol.c (expand): Likewise.
9864         * stdlib/tst-strtoll.c (expand): Likewise.
9865         * streams/fattach.c (fattach): Likewise.
9866         * streams/fdetach.c (fdetach): Likewise.
9867         * streams/getmsg.c (getmsg): Likewise.
9868         * streams/isastream.c (isastream): Likewise.
9869         * string/ffs.c (__ffs): Likewise.
9870         * string/ffsll.c (ffsll): Likewise.
9871         * string/memcmp.c (memcmp_common_alignment): Likewise.
9872         (memcmp_not_common_alignment): Likewise.
9873         (MEMCMP): Likewise.
9874         * string/memcpy.c (memcpy): Likewise.
9875         * string/memmove.c (MEMMOVE): Likewise.
9876         * string/memset.c (memset): Likewise.
9877         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9878         * string/strchrnul.c (STRCHRNUL): Likewise.
9879         * string/strerror.c (strerror): Likewise.
9880         * string/strndup.c (__strndup): Likewise.
9881         * string/strverscmp.c (__strverscmp): Likewise.
9882         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9883         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9884         (clnttcp_freeres): Likewise.
9885         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9886         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9887         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9888         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9889         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9890         (xdr_callhdr): Likewise.
9891         * sunrpc/rpcinfo.c (udpping): Likewise.
9892         (tcpping): Likewise.
9893         (pstatus): Likewise.
9894         (pmapdump): Likewise.
9895         (brdcst): Likewise.
9896         (deletereg): Likewise.
9897         (getprognum): Likewise.
9898         (getvers): Likewise.
9899         (get_inet_address): Likewise.
9900         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9901         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9902         (svcudp_stat): Likewise.
9903         (svcudp_recv): Likewise.
9904         (svcudp_reply): Likewise.
9905         (svcudp_getargs): Likewise.
9906         (svcudp_freeargs): Likewise.
9907         (svcudp_destroy): Likewise.
9908         * sunrpc/xdr.c (xdr_bytes): Likewise.
9909         (xdr_netobj): Likewise.
9910         (xdr_string): Likewise.
9911         (xdr_wrapstring): Likewise.
9912         * sunrpc/xdr_float.c (xdr_float): Likewise.
9913         (xdr_double): Likewise.
9914         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9915         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9916         * sysvipc/ftok.c (ftok): Likewise.
9917         * sysvipc/msgctl.c (msgctl): Likewise.
9918         * sysvipc/msgget.c (msgget): Likewise.
9919         * sysvipc/msgrcv.c (msgrcv): Likewise.
9920         * sysvipc/msgsnd.c (msgsnd): Likewise.
9921         * sysvipc/semget.c (semget): Likewise.
9922         * sysvipc/semop.c (semop): Likewise.
9923         * sysvipc/shmat.c (shmat): Likewise.
9924         * sysvipc/shmctl.c (shmctl): Likewise.
9925         * sysvipc/shmdt.c (shmdt): Likewise.
9926         * sysvipc/shmget.c (shmget): Likewise.
9927         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9928         * termios/speed.c (cfgetospeed): Likewise.
9929         (cfgetispeed): Likewise.
9930         (cfsetospeed): Likewise.
9931         (cfsetispeed): Likewise.
9932         * termios/tcflow.c (tcflow): Likewise.
9933         * termios/tcflush.c (tcflush): Likewise.
9934         * termios/tcgetattr.c (__tcgetattr): Likewise.
9935         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9936         * termios/tcgetsid.c (tcgetsid): Likewise.
9937         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9938         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9939         * time/adjtime.c (__adjtime): Likewise.
9940         * time/dysize.c (dysize): Likewise.
9941         * time/ftime.c (ftime): Likewise.
9942         * time/getitimer.c (__getitimer): Likewise.
9943         * time/gettimeofday.c (__gettimeofday): Likewise.
9944         * time/gmtime.c (__gmtime_r): Likewise.
9945         (gmtime): Likewise.
9946         * time/localtime.c (__localtime_r): Likewise.
9947         (localtime): Likewise.
9948         * time/offtime.c (__offtime): Likewise.
9949         * time/settimeofday.c (__settimeofday): Likewise.
9950         * time/stime.c (stime): Likewise.
9951         * time/strftime_l.c (tm_diff): Likewise.
9952         (iso_week_days): Likewise.
9953         * time/strptime.c (strptime): Likewise.
9954         * time/time.c (time): Likewise.
9955         * time/timespec_get.c (timespec_get): Likewise.
9956         * time/tzset.c (tzset_internal): Likewise.
9957         (compute_change): Likewise.
9958         (__tz_compute): Likewise.
9959         * wcsmbs/btowc.c (__btowc): Likewise.
9960         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9961         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9962         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9963         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9964         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9965         * wcsmbs/wcscat.c (__wcscat): Likewise.
9966         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9967         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9968         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9969         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9970         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9971         * wcsmbs/wcslen.c (__wcslen): Likewise.
9972         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9973         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9974         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9975         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9976         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9977         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9978         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9979         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9980         * wcsmbs/wcstok.c (wcstok): Likewise.
9981         * wcsmbs/wctob.c (wctob): Likewise.
9982         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9983         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9984         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9985         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9986         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9987         * wcsmbs/wmemset.c (__wmemset): Likewise.
9988         * wctype/wcfuncs.c (__towlower): Likewise.
9989         (__towupper): Likewise.
9991         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9992         (lll_unlock_elision): Add adapt_count parameter.
9994 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9996         * sysdeps/nptl/configure.ac: Do not give errors based on the
9997         results of top-level configure tests.
9998         * sysdeps/nptl/configure: Regenerated.
10000         * configure.ac (libc_cv_Bgroup): Remove configure test.
10001         * configure: Regenerated.
10002         * config.make.in (have-Bgroup): Remove variable.
10004         * configure.ac (sizeof_long_double): Remove configure test.
10005         * configure: Regenerated.
10006         * config.make.in (sizeof-long-double): Remove variable.
10008         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10009         * configure: Regenerated.
10010         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10011         variable.
10012         (exceptions): Likewise.
10013         * sysdeps/arm/configure: Regenerated.
10014         * config.make.in (exceptions): Remove variable.
10015         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10016         $(exceptions).
10017         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10018         (CFLAGS-vdprintf_chk.c): Likewise.
10019         (CFLAGS-printf_chk.c): Likewise.
10020         (CFLAGS-fprintf_chk.c): Likewise.
10021         (CFLAGS-vprintf_chk.c): Likewise.
10022         (CFLAGS-vfprintf_chk.c): Likewise.
10023         (CFLAGS-gets_chk.c): Likewise.
10024         (CFLAGS-fgets_chk.c): Likewise.
10025         (CFLAGS-fgets_u_chk.c): Likewise.
10026         (CFLAGS-fread_chk.c): Likewise.
10027         (CFLAGS-fread_u_chk.c): Likewise.
10028         (CFLAGS-wprintf_chk.c): Likewise.
10029         (CFLAGS-fwprintf_chk.c): Likewise.
10030         (CFLAGS-vwprintf_chk.c): Likewise.
10031         (CFLAGS-vfwprintf_chk.c): Likewise.
10032         (CFLAGS-fgetws_chk.c): Likewise.
10033         (CFLAGS-fgetws_u_chk.c): Likewise.
10034         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10035         (CFLAGS-fputc.c): Likewise.
10036         (CFLAGS-fputwc.c): Likewise.
10037         (CFLAGS-freopen64.c): Likewise.
10038         (CFLAGS-freopen.c): Likewise.
10039         (CFLAGS-fseek.c): Likewise.
10040         (CFLAGS-fseeko64.c): Likewise.
10041         (CFLAGS-fseeko.c): Likewise.
10042         (CFLAGS-ftello64.c): Likewise.
10043         (CFLAGS-ftello.c): Likewise.
10044         (CFLAGS-fwide.c): Likewise.
10045         (CFLAGS-genops.c): Likewise.
10046         (CFLAGS-getc.c): Likewise.
10047         (CFLAGS-getchar.c): Likewise.
10048         (CFLAGS-getwc.c): Likewise.
10049         (CFLAGS-getwchar.c): Likewise.
10050         (CFLAGS-iofclose.c): Likewise.
10051         (CFLAGS-iofflush.c): Likewise.
10052         (CFLAGS-iofgetpos64.c): Likewise.
10053         (CFLAGS-iofgetpos.c): Likewise.
10054         (CFLAGS-iofgets.c): Likewise.
10055         (CFLAGS-iofgetws.c): Likewise.
10056         (CFLAGS-iofputs.c): Likewise.
10057         (CFLAGS-iofputws.c): Likewise.
10058         (CFLAGS-iofread.c): Likewise.
10059         (CFLAGS-iofsetpos64.c): Likewise.
10060         (CFLAGS-iofsetpos.c): Likewise.
10061         (CFLAGS-ioftell.c): Likewise.
10062         (CFLAGS-iofwrite.c): Likewise.
10063         (CFLAGS-iogetdelim.c): Likewise.
10064         (CFLAGS-iogetline.c): Likewise.
10065         (CFLAGS-iogets.c): Likewise.
10066         (CFLAGS-iogetwline.c): Likewise.
10067         (CFLAGS-ioputs.c): Likewise.
10068         (CFLAGS-ioseekoff.c): Likewise.
10069         (CFLAGS-ioseekpos.c): Likewise.
10070         (CFLAGS-iosetbuffer.c): Likewise.
10071         (CFLAGS-iosetvbuf.c): Likewise.
10072         (CFLAGS-ioungetc.c): Likewise.
10073         (CFLAGS-ioungetwc.c): Likewise.
10074         (CFLAGS-oldfileops.c): Likewise.
10075         (CFLAGS-oldiofclose.c): Likewise.
10076         (CFLAGS-oldiofgetpos64.c): Likewise.
10077         (CFLAGS-oldiofgetpos.c): Likewise.
10078         (CFLAGS-oldiofsetpos64.c): Likewise.
10079         (CFLAGS-oldiofsetpos.c): Likewise.
10080         (CFLAGS-peekc.c): Likewise.
10081         (CFLAGS-putc.c): Likewise.
10082         (CFLAGS-putchar.c): Likewise.
10083         (CFLAGS-putwc.c): Likewise.
10084         (CFLAGS-putwchar.c): Likewise.
10085         (CFLAGS-rewind.c): Likewise.
10086         (CFLAGS-wfileops.c): Likewise.
10087         (CFLAGS-wgenops.c): Likewise.
10088         (CFLAGS-oldiofopen.c): Likewise.
10089         (CFLAGS-iofopen.c): Likewise.
10090         (CFLAGS-iofopen64.c): Likewise.
10091         (CFLAGS-oldtmpfile.c): Likewise.
10092         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10093         (CFLAGS-fprintf.c): Likewise.
10094         (CFLAGS-printf.c): Likewise.
10095         (CFLAGS-vfwprintf.c): Likewise.
10096         (CFLAGS-vfscanf.c): Likewise.
10097         (CFLAGS-vfwscanf.c): Likewise.
10098         (CFLAGS-fscanf.c): Likewise.
10099         (CFLAGS-scanf.c): Likewise.
10100         (CFLAGS-isoc99_vfscanf.c): Likewise.
10101         (CFLAGS-isoc99_vscanf.c): Likewise.
10102         (CFLAGS-isoc99_fscanf.c): Likewise.
10103         (CFLAGS-isoc99_scanf.c): Likewise.
10104         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10105         (CFLAGS-isoc99_fwscanf.c): Likewise.
10106         (CFLAGS-isoc99_vwscanf.c): Likewise.
10107         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10109         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10110         after mkstemp64.
10111         * login/tst-utmp.c (do_prepare): Likewise.
10112         * rt/tst-aio.c (do_prepare): Likewise.
10113         * rt/tst-aio64.c (do_prepare): Likewise.
10115 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10117         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10118         (__lll_lock_elision): Remove adapt_count decrement...
10119         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10120         (__lll_trylock_elision): Likewise.
10121         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10122         (__lll_unlock_elision): ... to here. And utilize
10123         new adapt_count parameter.
10124         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10125         (__lll_unlock_elision): Update to include adapt_count
10126         parameter.
10127         (lll_unlock_elision): Pass pointer to adapt_count
10128         variable.
10130 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10132         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10133         Add elision adapt_count parameter to list of arguments.
10134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10135         (lll_unlock_elision): Update with new parameter list
10136         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10137         (lll_unlock_elision): Likewise.
10138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10139         (lll_unlock_elision): Likewise.
10141 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10143         [BZ #19122]
10144         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10145         attribute_hidden.
10147         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10148         attribute_hidden.
10149         [IS_IN (rtld)] (__strdup): Likewise.
10150         [IS_IN (rtld)] (__strerror_r): Likewise.
10151         [IS_IN (rtld)] (__strsep_g): Likewise.
10152         [IS_IN (rtld)] (memchr): Likewise.
10153         [IS_IN (rtld)] (memcmp): Likewise.
10154         [IS_IN (rtld)] (memcpy): Likewise.
10155         [IS_IN (rtld)] (memmove): Likewise.
10156         [IS_IN (rtld)] (memset): Likewise.
10157         [IS_IN (rtld)] (rawmemchr): Likewise.
10158         [IS_IN (rtld)] (stpcpy): Likewise.
10159         [IS_IN (rtld)] (strchr): Likewise.
10160         [IS_IN (rtld)] (strcmp): Likewise.
10161         [IS_IN (rtld)] (strlen): Likewise.
10162         [IS_IN (rtld)] (strnlen): Likewise.
10163         [IS_IN (rtld)] (strsep): Likewise.
10165         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10166         attribute_hidden.
10167         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10169         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10170         attribute_hidden.
10171         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10173         * include/setjmp.h (__longjmp): Add attribute_hidden.
10174         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10176         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10177         Add attribute_hidden.
10179         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10180         [IS_IN (rtld)] (__open): Likewise.
10181         [IS_IN (rtld)] (__fcntl): Likewise.
10183         * include/dirent.h (__opendirat): Add attribute_hidden.
10184         (__getdents): Likewise.
10185         (__getdents64): Likewise.
10186         (__alloc_dir): Likewise.
10187         [IS_IN (rtld)] (__closedir): Likewise.
10188         [IS_IN (rtld)] (__fdopendir): Likewise.
10189         [IS_IN (rtld)] (__readdir): Likewise.
10190         [IS_IN (rtld)] (__readdir64): Likewise.
10191         [IS_IN (rtld)] (__rewinddir): Likewise.
10193         * include/dlfcn.h (_dl_catch_error): Moved to ...
10194         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10195         attribute_hidden.
10197         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10198         (_itoa_word): Likewise.
10200         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10201         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10202         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10203         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10204         (_dl_higher_prime_number): Likewise.
10205         (_dl_debug_printf_c): Likewise.
10206         (_dl_signal_cerror): Likewise.
10207         (_dl_receive_error): Likewise.
10208         (_dl_reloc_bad_type): Likewise.
10209         (_dl_resolve_conflicts): Likewise.
10210         (_dl_check_all_versions): Likewise.
10211         (_dl_check_map_versions): Likewise.
10212         (_dl_sort_fini): Likewise.
10213         (_dl_debug_initialize): Likewise.
10214         (_dl_init_paths): Likewise.
10215         (_dl_show_auxv): Likewise.
10216         (_dl_next_ld_env_entry): Likewise.
10217         (_dl_important_hwcaps): Likewise.
10218         (_dl_load_cache_lookup): Likewise.
10219         (_dl_update_slotinfo): Likewise.
10220         (_dl_show_scope): Likewise.
10222         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10223         attribute_hidden.
10224         (_wordcopy_fwd_dest_aligned): Likewise.
10225         (_wordcopy_bwd_aligned): Likewise.
10226         (_wordcopy_bwd_dest_aligned): Likewise.
10228         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10229         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10230         Likewise.
10231         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10232         Likewise.
10233         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10235 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10238         GCC 5 requirement.
10240 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10242         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10243         test.
10244         * sysdeps/i386/configure: Regenerated.
10245         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10246         code unconditional.
10248         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10249         test.
10250         (libc_cv_asm_popsection_directive): Likewise.
10251         * configure: Regenerated.
10252         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10253         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10254         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10255         (__make_section_unallocated): Make definition unconditional.
10256         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10257         Remove conditional definition.
10258         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10259         (__make_section_unallocated): Likewise.
10261         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10262         * configure: Regenerated.
10263         * config.make.in (static-libgcc): Remove variable.
10264         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10265         $(static-libgcc).
10266         (build-module-helper): Likewise.
10268         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10269         * configure: Regenerated.
10271 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10273         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10274         (struct char_buffer): New type.
10275         (char_buffer_start, char_buffer_size, char_buffer_error)
10276         (char_buffer_rewind, char_buffer_add): New functions.
10277         (ADDW): Remove macro, replaced by the char_buffer_add function.
10278         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10279         of extend_alloca.  Make control flow more explicit.
10281 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10283         [BZ #19137]
10284         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10285         Add -fomit-frame-pointer.
10286         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10288 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10290         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10291         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10293         only if !__GNUC_PREREQ (5,0).
10294         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10295         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10296         (INTERNAL_SYSCALL_NCS): Likewise.
10297         (LOADREGS_0): New macro for GCC 5.
10298         (ASMARGS_0): Likewise.
10299         (LOADREGS_1): Likewise.
10300         (ASMARGS_1): Likewise.
10301         (LOADREGS_2): Likewise.
10302         (ASMARGS_2): Likewise.
10303         (LOADREGS_3): Likewise.
10304         (ASMARGS_3): Likewise.
10305         (LOADREGS_4): Likewise.
10306         (ASMARGS_4): Likewise.
10307         (LOADREGS_5): Likewise.
10308         (ASMARGS_5): Likewise.
10309         (LOADREGS_6): Likewise.
10310         (ASMARGS_6): Likewise.
10312 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10314         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10315         -fomit-frame-pointer.
10316         (CFLAGS-mmap64.c): Likewise.
10317         (CFLAGS-semtimedop.c): Likewise.
10318         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10319         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10320         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10321         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10323 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10325         [BZ #18928]
10326         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10327         _dl_pointer_guard member.
10328         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10329         initializer.
10330         (security_init): Always set up pointer guard.
10331         (process_envvars): Do not process LD_POINTER_GUARD.
10333 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10335         [BZ #19134]
10336         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10337         (.LC2): Likewise.
10338         (.LC3): Likewise.
10339         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10341 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10343         [BZ #19129]
10344         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10345         r0 and r1.
10347 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10349         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10351 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10353         * include/stap-probe.h: Fix macro definition formatting.
10355 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10357         [BZ #19074]
10358         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10359         load and store num_ifs.
10361 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10363         [BZ #18822]
10364         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10365         (__sched_getaffinity_new): Add libc_hidden_proto and
10366         libc_hidden_def.
10368 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10370         [BZ #19007]
10371         * scripts/localplt.awk: Also allow GOT references.
10372         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10373         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10374         with "+ REL R_386_GLOB_DAT".
10375         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10376         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10378 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10380         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10381         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10382         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10385         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10386         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10387         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10388         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10389         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10390         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10391         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10392         Likewise.
10393         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10395 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #19125]
10398         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10399         <math_private.h> and <stdint.h>.
10400         (__llround): Avoid conversions to and from long long int, and
10401         subtractions, where those might raise spurious exceptions.
10402         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10403         <math_private.h> and <stdint.h>.
10404         (__llroundf): Avoid conversions to and from long long int, and
10405         subtractions, where those might raise spurious exceptions.
10407 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10409         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10410         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10411         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10412         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10413         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10414         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10415         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10416         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10417         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10418         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10419         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10420         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10421         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10422         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10423         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10424         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10425         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10426         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10427         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10428         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10429         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10430         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10431         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10432         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10433         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10434         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10435         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10436         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10437         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10438         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10439         (__xstat64_conv): Likewise.
10440         (__xstat32_conv): Likewise.
10442 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10444         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10445         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10446         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10447         <sysdeps/unix/sysv/linux/sysdep.h>.
10448         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10449         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10450         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10451         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10452         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10453         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10454         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10455         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10456         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10461         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10462         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10464         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10465         (sysdep-dl-routines): Add sysdep.
10466         [$(subdir) == nptl] (libpthread-routines): Likewise.
10467         [$(subdir) == rt] (librt-routines): Likewise.
10468         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10469         PIC when branching to SYSCALL_ERROR_LABEL.
10470         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10471         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10472         <sysdeps/unix/sysv/linux/sysdep.h>.
10473         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10474         (SYSCALL_ERROR_ERRNO): Removed.
10475         (SYSCALL_ERROR_HANDLER): Changed to empty.
10476         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10477         (__syscall_error): New prototype.
10478         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10479         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10481 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10483         [BZ #19124]
10484         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10485         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10486         _dl_runtime_resolve_avx.
10487         (_dl_runtime_profile_avx512): Make it a hidden alias of
10488         _dl_runtime_profile_avx.
10490 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10492         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10493         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10494         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10495         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10497         [BZ #16422]
10498         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10499         New configure test.
10500         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10501         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10502         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10503         <math_private.h> and <stdint.h>.
10504         (__llrint): Avoid conversions to long long int where those might
10505         raise spurious exceptions.
10506         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10507         <math_private.h> and <stdint.h>.
10508         (__llrintf): Avoid conversions to long long int where those might
10509         raise spurious exceptions.
10511 2015-10-12  Andreas Schwab  <schwab@suse.de>
10513         [BZ #18969]
10514         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10515         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10516         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10517         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10518         $(gen-locales).
10519         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10520         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10521         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10522         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10523         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10524         $(gen-locales).
10525         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10526         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10527         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10528         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10529         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10530         ($(objpfx)tst-ftell-active-handler.out)
10531         ($(objpfx)tst-ftell-append.out)
10532         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10533         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10534         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10535         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10536         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10537         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10538         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10539         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10540         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10541         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10542         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10543         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10544         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10545         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10546         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10547         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10548         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10549         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10550         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10551         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10552         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10553         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10554         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10555         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10556         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10557         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10558         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10559         $(gen-locales).
10560         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10561         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10562         $(gen-locales).
10563         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10564         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10565         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10566         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10567         $(gen-locales).
10568         * libio/tst_wprintf2.c (main): Use explicit locale.
10569         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10571 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10573         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10574         __msg_sig_post.
10575         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10577 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10579         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10580         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10582         * sysdeps/arm/libm-test-ulps: Regenerated.
10584         [BZ #15470]
10585         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10587         [BZ #16399]
10588         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10589         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10590         and <fix-fp-int-convert-overflow.h>.
10591         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10592         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10593         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10594         and <fix-fp-int-convert-overflow.h>.
10595         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10596         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10597         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10598         <fix-fp-int-convert-overflow.h>.
10599         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10600         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10601         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10602         <fix-fp-int-convert-overflow.h>.
10603         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10604         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10605         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10606         and <fix-fp-int-convert-overflow.h>.
10607         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10608         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10609         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10610         <limits.h> and <fix-fp-int-convert-overflow.h>.
10611         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10612         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10613         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10614         and <fix-fp-int-convert-overflow.h>.
10615         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10616         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10617         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10618         and <fix-fp-int-convert-overflow.h>.
10619         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10620         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10621         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10623 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10625         [BZ #18589]
10626         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10627         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10628         $(gen-locales).
10630 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10631             Phil Blundell <pb@pbcl.net>
10633         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10634         * nptl/tst-cancel26.c: New file.
10635         * nptl/tst-cancel27.c: Likewise.
10637 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10639         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10640         __ILP32__ isn't defined.
10641         (lrint): Likewise.
10642         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10643         (lrintf): Likewise.
10644         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10645         (lrintl): Likewise.
10646         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10647         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10648         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10650 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10652         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10655         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10656         file.
10657         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10658         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10660 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10662         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10663         configure test.
10664         * sysdeps/i386/configure: Regenerated.
10665         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10666         configure test.
10667         * sysdeps/x86_64/configure: Regenerated.
10668         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10669         Make code unconditional.
10671         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10672         test.
10673         * sysdeps/i386/configure: Regenerated.
10674         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10675         test.
10676         * sysdeps/x86_64/configure: Regenerated.
10677         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10678         Make code unconditional.
10679         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10680         Likewise.
10681         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10682         Likewise.
10683         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10684         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10685         code unconditional.
10686         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10687         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10688         code unconditional.
10689         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10690         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10691         code unconditional.
10692         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10693         code unconditional.
10694         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10695         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10696         code unconditional.
10697         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10698         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10699         code unconditional.
10700         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10701         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10702         code unconditional.
10703         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10704         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10705         code unconditional.
10706         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10707         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10709         [BZ #19095]
10710         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10711         mantissa to long int before shifting left.
10713 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10715         [BZ #19094]
10716         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10717         <limits.h>.
10718         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10719         when result overflows but exception would not result from cast.
10720         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10721         <limits.h>.
10722         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10723         when result overflows but exception would not result from cast.
10724         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10725         <limits.h>.
10726         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10727         when result overflows but exception would not result from cast.
10728         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10729         <limits.h>.
10730         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10731         when result overflows but exception would not result from cast.
10732         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10733         <limits.h>.
10734         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10735         when result overflows but exception would not result from cast.
10736         * math/libm-test.inc (lrint_test_data): Add more tests.
10737         (llrint_test_data): Likewise.
10739 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10741         [BZ #18872]
10742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10743         Move out from under [$(run-built-tests) = yes] conditional.
10744         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10745         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10747 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10749         [BZ #18589]
10750         * string/Makefile (tests): Add bug-strcoll2.
10751         (LOCALES): Add cs_CZ.UTF-8.
10752         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10754         [BZ #18589]
10755         * string/bug-strcoll2.c: New file.
10756         * locale/categories.def: Revert commit
10757         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10758         * locale/langinfo.h: Likewise.
10759         * locale/localeinfo.h: Likewise.
10760         * locale/C-collate.c: Likewise.
10761         * locale/programs/ld-collate.c (collate_output): Likewise.
10762         * string/strcoll_l.c (STRDIFF): Likewise.
10763         (STRCOLL): Likewise.
10764         * wcsmbs/wcscoll_l.c: Likewise.
10766 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10768         * math/libm-test.inc (lround_test_data): Do not expect the absence
10769         of "inexact" for some tests with non-integer arguments.
10770         (llround_test_data): Likewise.
10772         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10773         test.
10774         (libc_cv_cc_sse2avx): Likewise.
10775         * sysdeps/i386/configure: Regenerated.
10776         * sysdeps/i386/i686/multiarch/Makefile
10777         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10778         [$(subdir) = math].
10779         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10780         code unconditional.
10781         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10782         Likewise.
10783         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10784         Likewise.
10785         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10786         Likewise.
10787         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10788         test.
10789         (libc_cv_cc_sse2avx): Likewise.
10790         * sysdeps/x86_64/configure: Regenerated.
10791         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10792         unconditional.
10793         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10794         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10795         unconditional.
10796         (_dl_runtime_profile)
10797         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10798         conditional code.
10799         * sysdeps/x86_64/fpu/multiarch/Makefile
10800         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10801         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10802         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10803         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10804         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10805         * sysdeps/x86_64/fpu/multiarch/e_log.c
10806         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10807         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10808         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10809         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10810         Likewise.
10811         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10812         Likewise.
10813         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10814         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10815         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10816         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10817         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10818         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10819         (HAVE_SSE2AVX_SUPPORT): Likewise.
10821 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10823         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10824         instead of #pragma optimize.
10826 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10828         [BZ #17195]
10829         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10830         as is similarly done in systrim and _int_free already.
10832 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10834         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10836 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #19088]
10839         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10840         <limits.h>.
10841         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10842         overflows but exception would not result from cast.
10843         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10844         and <limits.h>.
10845         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10846         overflows but exception would not result from cast.
10847         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10848         <limits.h>.
10849         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10850         overflows but exception would not result from cast.
10851         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10852         <limits.h>.
10853         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10854         overflows but exception would not result from cast.
10855         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10856         <limits.h>.
10857         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10858         overflows but exception would not result from cast.
10859         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10860         <limits.h>.
10861         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10862         overflows but exception would not result from cast.
10863         * math/libm-test.inc (lround_test_data): Add more tests.
10864         (llround_test_data): Likewise.
10866 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10868         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10869         (CFLAGS-ialloc.c): Ditto.
10870         (CFLAGS-scheck.c): Ditto.
10872 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10874         [BZ #19086]
10875         * manual/filesys.texi (Storage Allocation): Fix argument order for
10876         posix_fallocate64.
10878 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10880         [BZ #19085]
10881         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10882         exponent below 48 inside case for non-overflowing exponent.
10883         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10885 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10887         * iconvdata/cp737.h (from_idx): Add const.
10888         * iconvdata/cp775.h (from_idx): Likewise.
10890 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10892         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10893         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10894         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10896         [BZ #19079]
10897         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10898         file, conditioned on [!_LP64].
10899         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10900         [!_LP64] (__lround): Do not define as function or alias.
10901         [!_LP64] (lround): Likewise.
10902         [!_LP64] (__lroundl): Likewise.
10903         [!_LP64] (lroundl): Likewise.
10904         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10905         macro.
10906         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10907         Likewise.
10909 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10911         * math/libm-test.inc (lrint_test_data): Add more tests.
10912         (llrint_test_data): Likewise.
10913         (lround_test_data): Likewise.
10914         (llround_test_data): Likewise.
10916         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10917         (llrint_test_data): Add tests used for lrint.
10919         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10920         test.
10921         * sysdeps/i386/configure: Regenerated.
10922         * sysdeps/i386/i686/multiarch/Makefile
10923         [$(config-cflags-sse4) = yes]: Make code unconditional.
10924         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10925         Likewise.
10926         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10927         Likewise.
10928         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10929         test.
10930         * sysdeps/x86_64/configure: Regenerated.
10931         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10932         Make code unconditional.
10933         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10934         Likewise.
10935         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10936         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10938         * scripts/rpm2dynsym.sh: Remove file.
10940 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10942         * configure.ac (libc_cv_cxx_thread_local): Define.
10943         * configure: Regenerate.
10944         * config.make.in (have-cxx-thread_local): Define.
10945         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10946         (LDLIBS-tst-thread_local1): Define.
10947         (tests): Add tst-thread_local1.
10948         [have-cxx-thread_local != yes] (tests-unsupported): Add
10949         tst-thread_local1.
10950         * nptl/tst-thread_local1.cc: New file.
10952 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10954         [BZ #19078]
10955         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10956         (u_thres): Likewise.
10957         (__expl): Determine whether to call __kernel_standard_l based on
10958         value of result, not argument.
10960         * math/libm-test.inc (scalb_test_data): Add more expectations for
10961         the "inexact" exception.
10963         [BZ #19077]
10964         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10965         0.0L for argument 1.0L.
10967         [BZ #19076]
10968         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10969         constant 0.0L when computing infinite result.
10971 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10973         [BZ #10432]
10974         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10975         malloc_usable_size.
10977 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10979         [BZ #19018]
10980         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10981         Mangle function pointer before storing it.
10982         (__call_tls_dtors): Demangle function pointer before calling it.
10984 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10986         [BZ #19012]
10987         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10988         Clean up on failure.
10990 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10992         [BZ #19071]
10993         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10994         long int variable to store possibly incremented high part of
10995         mantissa.
10996         * math/libm-test.inc (lround_test_data): Add tests used for
10997         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10998         for tests requiring 64-bit long.  Do not condition tests on
10999         [TEST_FLOAT] unnecessarily.
11000         (llround_test_data): Add tests used for lround.  Add another
11001         expectation for the "inexact" exception.  Do not condition tests
11002         on [TEST_FLOAT] unnecessarily.
11004         [BZ #887]
11005         [BZ #19049]
11006         [BZ #19050]
11007         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11008         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11009         <fix-int-fp-convert-zero.h>.
11010         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11011         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11012         <fix-int-fp-convert-zero.h>.
11013         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11014         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11015         <fix-int-fp-convert-zero.h>.
11016         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11017         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11018         <fix-int-fp-convert-zero.h>.
11019         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11020         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11021         <fix-int-fp-convert-zero.h>.
11022         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11023         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11024         <fix-int-fp-convert-zero.h>.
11025         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11026         * sysdeps/ieee754/flt-32/s_erff.c: Include
11027         <fix-int-fp-convert-zero.h>.
11028         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11029         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11030         <fix-int-fp-convert-zero.h>.
11031         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11033         <fix-int-fp-convert-zero.h>.
11034         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11036         <fix-int-fp-convert-zero.h>.
11037         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11038         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11039         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11040         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11041         file.
11042         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11044 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11046         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11048 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11050         [BZ #19059]
11051         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11052         overflowing computation.
11053         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11054         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11055         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11056         Likewise.
11057         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11058         Likewise.
11059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11060         Likewise.
11061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11062         Likewise.
11063         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11064         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11065         Likewise.
11066         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11067         Likewise.
11068         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11070         * nss/rewrite_field.c (__nss_rewrite_field): Use
11071         internal_function.
11072         * nss/valid_field.c (__nss_valid_field): Likewise.
11073         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11075 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11077         [BZ #18724]
11078         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11079         (__nss_invalid_field_characters, __nss_valid_field)
11080         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11081         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11082         tst-field.c: New file.
11083         * nss/Makefile (routines): Add valid_field, rewrite_field.
11084         (tests-static): Define unconditionally.
11085         (tests): Include tests-static.
11086         [build-static-nss] (tests-static): Use append.
11087         [build-static-nss] (tests): Remove modification.
11088         * nss/getent.c (print_group): Call putgrent.  Report error.
11089         (print_gshadow): Call putsgent.  Report error.
11090         (print_passwd): Call putpwent.  Report error.
11091         (print_shadow): Call putspent.  Report error.
11092         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11093         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11094         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11095         name, password, directory, shell fields for valid syntax.  Rewrite
11096         GECOS field to match syntax.
11097         * pwd/Makefile (tests): Add tst-putpwent.
11098         * pwd/tst-putpwent.c: New file.
11099         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11100         Check grName, grpasswd, gr_mem fields for valid syntax.
11101         Change loop variable i to size_t.
11102         * grp/Makefile (tests): Add tst-putgrent.
11103         * grp/tst-putgrent.c: New file.
11104         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11105         valid syntax.
11106         * shadow/Makefile (tests): Add tst-putspent.
11107         * shadow/tst-putspent.c: New file.
11108         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11109         sg_mem fields for valid syntax.
11110         * gshadow/Makefile (tests): Add tst-putsgent.
11111         * gshadow/tst-putsgent.c: New file.
11113 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11115         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11116         assembly instructions.
11118 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11120         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11121         prefix from operands.
11123 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11125         [BZ #16347]
11126         [BZ #19046]
11127         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11128         <libc-internal.h>.
11129         (MAXLGM): Do not use diagnostic control macros.
11130         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11131         threshold for ldbl-128ibm.
11132         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11133         instead of multiplying by log then subtracting.
11134         * math/auto-libm-test-in: Add more tests of lgamma.
11135         * math/auto-libm-test-out: Regenerated.
11137         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11138         (TYPE_HEX_DIG): Likewise.
11139         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11140         precisions when printing floating-point numbers.
11141         (check_float_internal): Likewise.
11143 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11145         [BZ #16620]
11146         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11147         of log (10) rounded downward to 48 bits.
11148         (log10_low): Use corresponding low part of log (10).
11150         [BZ #19032]
11151         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11152         compute result as (x - x) / (x - x) not as 0 / 0.
11153         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11154         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11156         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11157         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11158         and expm1.
11159         * math/auto-libm-test-out: Regenerated.
11160         * math/libm-test.inc (acos_test_data): Add more tests.
11161         (asin_test_data): Likewise.
11162         (asinh_test_data): Likewise.
11163         (atan_test_data): Likewise.
11164         (atanh_test_data): Likewise.
11165         (atan2_test_data): Likewise.
11166         (cbrt_test_data): Likewise.
11167         (ceil_test_data): Likewise.
11168         (copysign_test_data): Likewise.
11169         (cos_test_data): Likewise.
11170         (cosh_test_data): Likewise.
11171         (erf_test_data): Likewise.
11172         (erfc_test_data): Likewise.
11173         (exp_test_data): Likewise.
11174         (exp10_test_data): Likewise.
11175         (exp2_test_data): Likewise.
11176         (expm1_test_data): Likewise.
11177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11179 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11181         [BZ #19006]
11182         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11183         to ...
11184         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11185         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11186         to ...
11187         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11188         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11189         to ...
11190         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11191         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11192         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11193         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11194         to ...
11195         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11196         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11197         Moved to ...
11198         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11199         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11200         Moved to ...
11201         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11202         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11203         to ...
11204         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11205         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11206         Moved to ...
11207         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11208         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11209         to ...
11210         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11211         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11212         Removed.
11213         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11214         Likewise.
11215         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11216         Likewise.
11217         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11218         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11219         Likewise.
11220         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11223         Likewise.
11224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11227         Likewise.
11228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11229         Likewise.
11230         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11231         Likewise.
11232         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11233         Likewise.
11234         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11235         Likewise.
11236         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11237         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11240         Likewise.
11241         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11242         Likewise.
11243         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11244         Likewise.
11245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11246         Likewise.
11247         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11248         Replace ../i486/pthread_cond_timedwait.S with
11249         ../pthread_cond_timedwait.S.
11251 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11253         * math/libm-test.inc (acos_test_data): Refine expectations for
11254         errno and "inexact" exceptions.
11255         (acosh_test_data): Likewise.
11256         (asin_test_data): Likewise.
11257         (asinh_test_data): Likewise.
11258         (atan_test_data): Likewise.
11259         (atanh_test_data): Likewise.
11260         (atan2_test_data): Likewise.
11261         (cbrt_test_data): Likewise.
11262         (ceil_test_data): Likewise.
11263         (copysign_test_data): Likewise.
11264         (cosh_test_data): Likewise.
11265         (erf_test_data): Likewise.
11266         (erfc_test_data): Likewise.
11267         (exp_test_data): Likewise.
11268         (exp10_test_data): Likewise.
11269         (exp2_test_data): Likewise.
11270         (expm1_test_data): Likewise.
11271         (fabs_test_data): Likewise.
11272         (floor_test_data): Likewise.
11273         (fma_test_data): Likewise.
11274         (fmax_test_data): Likewise.
11275         (fmin_test_data): Likewise.
11276         (fmod_test_data): Likewise.
11277         (fpclassify_test_data): Likewise.
11278         (frexp_test_data): Likewise.
11279         (hypot_test_data): Likewise.
11280         (ilogb_test_data): Likewise.
11281         (isgreater_test_data): Likewise.
11282         (isgreaterequal_test_data): Likewise.
11283         (isinf_test_data): Likewise.
11284         (isless_test_data): Likewise.
11285         (islessequal_test_data): Likewise.
11286         (islessgreater_test_data): Likewise.
11287         (isnan_test_data): Likewise.
11288         (isnormal_test_data): Likewise.
11289         (issignaling_test_data): Likewise.
11290         (isunordered_test_data): Likewise.
11291         (j0_test_data): Likewise.
11292         (j1_test_data): Likewise.
11293         (jn_test_data): Likewise.
11294         (lgamma_test_data): Likewise.
11295         (lrint_test_data): Likewise.
11296         (llrint_test_data): Likewise.
11297         (log_test_data): Likewise.
11298         (log10_test_data): Likewise.
11299         (log1p_test_data): Likewise.
11300         (log2_test_data): Likewise.
11301         (logb_test_data): Likewise.
11302         (lround_test_data): Likewise.
11303         (llround_test_data): Likewise.
11304         (modf_test_data): Likewise.
11305         (nearbyint_test_data): Likewise.
11306         (nextafter_test_data): Likewise.
11307         (nexttoward_test_data): Likewise.
11308         (pow_test_data): Likewise.
11309         (remainder_test_data): Likewise.
11310         (remquo_test_data): Likewise.
11311         (rint_test_data): Likewise.
11312         (round_test_data): Likewise.
11313         (signbit_test_data): Likewise.
11314         (sinh_test_data): Likewise.
11315         (sqrt_test_data): Likewise.
11316         (tanh_test_data): Likewise.
11317         (tgamma_test_data): Likewise.
11318         (trunc_test_data): Likewise.
11319         (y0_test_data): Likewise.
11320         (y1_test_data): Likewise.
11321         (yn_test_data): Likewise.
11322         (significand_test_data): Likewise.
11324 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11326         * manual/filesys.texi (Storage Allocation): Document that
11327         posix_fallocate emulation fails when fd is open with O_WRONLY.
11329 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11331         [BZ #19016]
11332         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11333         allow more cases with X^2 + Y^2 >= 0.5.
11334         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11335         normal element in sum instead of special-casing based on values of
11336         arguments.
11337         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11338         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11339         -1 as normal element in sum instead of special-casing based on
11340         values of arguments.
11341         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11342         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11343         (__x2y2m1): Update comment.
11344         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11345         as normal element in sum instead of special-casing based on values
11346         of arguments.
11347         * math/s_clog.c (__clog): Handle more cases using log1p without
11348         hypot.
11349         * math/s_clog10.c (__clog10): Likewise.
11350         * math/s_clog10f.c (__clog10f): Likewise.
11351         * math/s_clog10l.c (__clog10l): Likewise.
11352         * math/s_clogf.c (__clogf): Likewise.
11353         * math/s_clogl.c (__clogl): Likewise.
11354         * math/auto-libm-test-in: Add more tests of clog and clog10.
11355         * math/auto-libm-test-out: Regenerated.
11356         * sysdeps/i386/fpu/libm-test-ulps: Update.
11357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11359 2015-09-28  Martin Sebor  <msebor@redhat.com>
11361         [BZ #18969]
11362         * string/Makefile (LOCALES): Define.
11363         (gen-locales.mk): Include.
11364         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11365         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11366         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11367         on setlocale failure.
11369 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11371         [BZ #18985]
11372         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11373         (__strftime_internal): Likewise.
11374         * time/tst-strftime.c (do_bz18985): New test.
11375         (do_test): Call it.
11377 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11379         [BZ #18956]
11380         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11381         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11382         extracting high part.
11383         * math/auto-libm-test-in: Add another test of pow.
11384         * math/auto-libm-test-out: Regenerated.
11385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11387 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11389         [BZ #18825]
11390         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11391         New macro.
11392         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11393         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11394         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11395         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11396         DBL_NARROW_EVAL, reloading the PIC register as needed.
11397         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11398         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11399         FLT_NARROW_EVAL.  Use separate return path for case when first
11400         argument is NaN.
11401         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11402         DEFINE_LDBL_MIN.
11403         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11404         PIC register.
11405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11406         math_check_force_underflow_nonneg.
11407         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11408         underflow for subnormal result.
11409         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11411         math_check_force_underflow_nonneg.
11412         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11413         math_check_force_underflow.
11414         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11415         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11416         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11417         DEFINE_LDBL_MIN.
11418         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11419         * math/auto-libm-test-in: Add more tests of pow.
11420         * math/auto-libm-test-out: Regenerated.
11422 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11424         * nss/bug17079.c (init_test_items): Add diagnostic for
11425         inconsistent entries.
11426         (test_buffer_size): Skip inconsistent entries.
11428 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11430         [BZ #13304]
11431         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11432         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11433         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11435         [BZ #13304]
11436         * sysdeps/microblaze/s_fma.c: New file.
11437         * sysdeps/microblaze/s_fmaf.c: Likewise.
11438         * sysdeps/microblaze/sfp-machine.h: Likewise.
11440 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11442         [BZ #17250]
11443         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11444         member.
11446 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11448         [BZ #18803]
11449         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11450         (MO): New macro.
11451         (__ieee754_hypot) [PIC]: Load PIC register.
11452         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11453         DBL_NARROW_EVAL.
11454         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11455         math_check_force_underflow_nonneg in case where result might be
11456         tiny.
11457         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11458         Likewise.
11459         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11460         Likewise.
11461         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11462         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11463         * math/auto-libm-test-in: Add more tests of hypot.
11464         * math/auto-libm-test-out: Regenerated.
11466 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11468         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11470 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11472         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11473         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11474         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11475         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11476         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11477         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11478         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11480         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11481         LOAD_PIC_REG.
11483         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11484         (FLT_CHECK_FORCE_UFLOW): Likewise.
11485         (DBL_CHECK_FORCE_UFLOW): Likewise.
11486         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11487         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11488         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11489         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11490         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11491         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11492         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11493         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11494         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11495         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11496         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11497         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11498         (flt_min): Replace with use of DEFINE_FLT_MIN.
11499         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11500         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11501         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11502         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11503         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11504         (flt_min): Replace with use of DEFINE_FLT_MIN.
11505         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11506         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11507         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11508         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11509         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11510         (flt_min): Replace with use of DEFINE_FLT_MIN.
11511         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11512         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11513         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11514         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11515         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11516         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11517         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11518         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11519         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11520         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11521         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11522         (flt_min): Replace with use of DEFINE_FLT_MIN.
11523         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11524         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11526         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11527         main computation.
11528         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11529         (flt_min): Replace with use of DEFINE_FLT_MIN.
11530         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11531         main computation.
11532         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11533         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11534         (MO): New macro.
11535         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11536         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11537         (flt_min): Replace with use of DEFINE_FLT_MIN.
11538         (MO): New macro.
11539         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11540         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11541         (__log1pl): Use MO.
11543         [BZ #19003]
11544         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11545         $(config-cflags-nofma).
11547 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11549         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11551 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11553         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11554         (TWO127): Likewise.
11556         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11557         (min_of_type): Likewise.
11558         (math_check_force_underflow): Likewise.
11559         (math_check_force_underflow_nonneg): Likewise.
11560         (math_check_force_underflow_complex): Likewise.
11561         * math/e_exp2l.c (__ieee754_exp2l): Use
11562         math_check_force_underflow_nonneg.
11563         * math/k_casinh.c (__kernel_casinh): Likewise.
11564         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11565         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11566         * math/s_catan.c (__catan): Use
11567         math_check_force_underflow_complex.
11568         * math/s_catanf.c (__catanf): Likewise.
11569         * math/s_catanh.c (__catanh): Likewise.
11570         * math/s_catanhf.c (__catanhf): Likewise.
11571         * math/s_catanhl.c (__catanhl): Likewise.
11572         * math/s_catanl.c (__catanl): Likewise.
11573         * math/s_ccosh.c (__ccosh): Likewise.
11574         * math/s_ccoshf.c (__ccoshf): Likewise.
11575         * math/s_ccoshl.c (__ccoshl): Likewise.
11576         * math/s_cexp.c (__cexp): Likewise.
11577         * math/s_cexpf.c (__cexpf): Likewise.
11578         * math/s_cexpl.c (__cexpl): Likewise.
11579         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11580         * math/s_clog10.c (__clog10): Likewise.
11581         * math/s_clog10f.c (__clog10f): Likewise.
11582         * math/s_clog10l.c (__clog10l): Likewise.
11583         * math/s_clogf.c (__clogf): Likewise.
11584         * math/s_clogl.c (__clogl): Likewise.
11585         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11586         * math/s_csinf.c (__csinf): Likewise.
11587         * math/s_csinh.c (__csinh): Likewise.
11588         * math/s_csinhf.c (__csinhf): Likewise.
11589         * math/s_csinhl.c (__csinhl): Likewise.
11590         * math/s_csinl.c (__csinl): Likewise.
11591         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11592         * math/s_csqrtf.c (__csqrtf): Likewise.
11593         * math/s_csqrtl.c (__csqrtl): Likewise.
11594         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11595         * math/s_ctanf.c (__ctanf): Likewise.
11596         * math/s_ctanh.c (__ctanh): Likewise.
11597         * math/s_ctanhf.c (__ctanhf): Likewise.
11598         * math/s_ctanhl.c (__ctanhl): Likewise.
11599         * math/s_ctanl.c (__ctanl): Likewise.
11600         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11601         instead of volatile.
11602         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11603         math_check_force_underflow.
11604         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11605         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11606         volatile when forcing underflow.
11607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11608         math_check_force_underflow_nonneg.
11609         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11610         Likewise.
11611         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11612         math_check_force_underflow.
11613         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11614         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11615         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11616         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11617         math_check_force_underflow_nonneg.
11618         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11619         math_check_force_underflow.
11620         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11622         instead of volatile.
11623         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11624         math_check_force_underflow.
11625         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11626         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11627         math_check_force_underflow_nonneg.
11628         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11629         math_check_force_underflow.
11630         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11631         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11632         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11633         math_check_force_underflow_nonneg.
11634         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11635         Likewise.
11636         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11637         math_check_force_underflow.
11638         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11639         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11640         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11641         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11642         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11643         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11644         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11645         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11646         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11647         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11648         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11649         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11650         Likewise.
11651         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11652         math_check_force_underflow_nonneg.
11653         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11654         Likewise.
11655         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11656         math_check_force_underflow.
11657         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11658         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11659         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11660         Likewise.
11661         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11662         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11663         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11664         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11665         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11666         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11668         instead of volatile.
11669         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11670         math_check_force_underflow.
11671         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11672         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11673         math_check_force_underflow.
11674         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11675         Likewise.
11676         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11677         Use math_check_force_underflow_nonneg.
11678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11679         math_check_force_underflow.
11680         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11681         Likewise.
11682         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11683         Likewise.
11684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11689         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11690         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11691         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11693         math_check_force_underflow_nonneg.
11694         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11695         math_check_force_underflow.
11696         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11697         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11698         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11699         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11700         math_check_force_underflow_nonneg.
11701         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11702         math_check_force_underflow.
11703         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11704         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11705         instead of volatile.
11706         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11707         math_check_force_underflow.
11709         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11710         * stdlib/strtod_l.c: Include <math_private.h>.
11711         (overflow_value): Use math_narrow_eval.
11712         (underflow_value): Likewise.
11713         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11714         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11715         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11716         (__ieee754_gamma_r): Likewise.
11717         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11718         Likewise.
11719         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11720         Likewise.
11721         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11722         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11723         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11724         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11725         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11726         (__ieee754_gammaf_r): Likewise.
11727         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11728         Likewise.
11729         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11730         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11731         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11732         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11733         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11734         volatile.
11735         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11737         math_narrow_eval.
11738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11739         Likewise.
11740         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11741         Likewise.
11742         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11743         Likewise.
11744         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11745         volatile.
11746         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11748         math_narrow_eval.
11749         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11750         Likewise.
11751         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11752         Likewise.
11754 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11756         * nptl/Versions: Remove ignored symbols.
11758 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11760         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11761         * nss/Makefile (tests): Update.
11763 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11765         * nss/bug18287.c: New file.
11766         * nss/Makefile (tests): Add bug18287.
11768 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11770         * mach/Versions (__mach_host_self_): Add symbol.
11772 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11774         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11775         vm_page_size.
11777 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11779         Really fix sysdeps/i386/fpu/s_scalbn.S build
11781         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11782         (libc: GLIBC_2_22): Remove unused version set.
11784 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11786         * config.make.in (enable-timezone-tools): New variable.
11787         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11788         (enable_timezone_tools): Export to generated files.
11789         * configure: Regenerate.
11790         * INSTALL: Regenerate.
11791         * manual/install.texi (--disable-timezone-tools): Document new flag.
11792         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11793         ifeq ($(enable-timezone-tools),yes) check.
11795 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11797         * timezone/Makefile: Revert previous change.
11799         [BZ #18980]
11800         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11801         (DEFINE_DBL_MIN): Likewise.
11802         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11803         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11804         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11805         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11806         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11807         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11808         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11809         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11810         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11811         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11812         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11813         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11814         (flt_min): Replace with use of DEFINE_FLT_MIN.
11815         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11816         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11817         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11818         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11819         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11820         (flt_min): Replace with use of DEFINE_FLT_MIN.
11821         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11822         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11823         (flt_min): Replace with use of DEFINE_FLT_MIN.
11824         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11825         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11826         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11827         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11828         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11829         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11830         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11831         (__ieee754_pow): Use DBL_NARROW_EVAL.
11832         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11833         (__ieee754_powf): Use FLT_NARROW_EVAL.
11834         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11835         (__ieee754_expf_sse2): Convert double-precision result to single
11836         precision.
11837         * sysdeps/i386/fpu/libm-test-ulps: Update.
11839 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11841         * timezone/Makefile: Ignore unused variable errors due to private.h
11842         (time_t_min) and (time_t_max).
11843         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11844         Likewise.
11846 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11848         [BZ #18981]
11849         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11850         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11851         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11852         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11853         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11854         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11855         (__scalbn): Use DBL_NARROW_EVAL.
11856         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11857         (__scalbnf): Use FLT_NARROW_EVAL.
11859 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11861         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11862         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11863         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11864         * stdio-common/printf_fp.c (___printf_fp):
11865         Use signbit to get the sign. Use isinf macro to allow inlining.
11866         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11867         * stdio-common/printf_size.c (__printf_size): Likewise.
11869 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11871         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11873 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11875         [BZ #18980]
11876         * sysdeps/generic/math_private.h: Include <float.h>.
11877         (math_narrow_eval): New macro.
11878         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11879         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11880         math_narrow_eval on overflowing return value.
11881         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11882         Likewise.
11883         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11884         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11885         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11886         Likewise.
11887         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11889 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11891         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11892         * math/Makefile: Remove isinf_ns.c.
11893         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11894         * math/multc3.c (__multc3): Likewise.
11895         * math/s_casin.c (__casin): Likewise.
11896         * math/s_casinf.c (__casinf): Likewise.
11897         * math/s_casinl.c (__casinl): Likewise.
11898         * math/s_cproj.c (__cproj): Likewise.
11899         * math/s_cprojf.c (__cprojf): Likewise.
11900         * math/s_cprojl.c (__cprofl): Likewise.
11901         * math/s_ctan.c (__ctan): Likewise.
11902         * math/s_ctanf.c (__ctanf): Likewise.
11903         * math/s_ctanh.c (__ctanh): Likewise.
11904         * math/s_ctanhf.c (__ctanhf): Likewise.
11905         * math/s_ctanhl.c (__ctanhl): Likewise.
11906         * math/s_ctanl.c (__ctanl): Likewise.
11907         * math/w_fmod.c (__fmod): Likewise.
11908         * math/w_fmodf.c (__fmodf): Likewise.
11909         * math/w_fmodl.c (_fmodl): Likewise.
11910         * math/w_remainder.c (__remainder): Likewise.
11911         * math/w_remainderf.c (__remainderf): Likewise.
11912         * math/w_remainderl.c (__remainderl): Likewise.
11913         * math/w_scalb.c (__scalb): Likewise.
11914         * math/w_scalbf.c (__scalbf): Likewise.
11915         * math/w_scalbl.c (__scalbl): Likewise.
11916         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11917         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11918         with isinf.
11919         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11920         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11921         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11922         __isinf_nsf with isinf.
11923         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11924         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11925         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11926         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11927         with isinf.
11928         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11929         __isinf_nsl with isinf.
11930         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11931         with isinf.
11932         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11933         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11934         __isinf_nsl with isinf.
11935         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11936         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11937         with isinf.
11939 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11941         * resolv/base64.c (rcsid): Remove unused static.
11942         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11943         static.  (tqpi1): Likewise.
11944         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11945         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11946         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11947         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11948         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11949         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11950         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11951         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11952         Likewise.
11954 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11956         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11957         <nptl/pthreadP.h>.
11958         (_longjmp_unwind): Use __libc_ptf_call.
11959         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11961 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11963         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11964         * sysdeps/arm/__longjmp.S: Likewise.
11966 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11968         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11969         Use __builtin_signbit.
11970         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11971         Use __builtin_signbitf.
11972         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11973         Use __builtin_signbitl.
11974         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11975         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11977 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11979         [BZ #15367]
11980         [BZ #17441]
11982         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11983         * math/math.h (fpclassify): Use __builtin_fpclassify when
11984         available.  (signbit): Use __builtin_signbit(f/l).
11985         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11986         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11987         (isinf): Use __builtin_isinf_sign.
11989 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11991         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11992         * benchtests/bench-math-inlines.c: New benchmark.
11993         * benchtests/bench-util.h: New file.
11994         * benchtests/bench-util.c: New file.
11995         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11997 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11999         * elf/tst-dlmopen1.c: Define TEST_SO.
12000         (do_test): Use TEST_SO.
12002         * elf/dl-load.c: Include libc-internal.h.
12003         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12005 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12007         [BZ #17887]
12008         * time/strptime_l.c (__strptime_internal): Make %z accept
12009         [+-]HH:MM time zones.
12011 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12013         [BZ #17886]
12014         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12015         valid time zone.
12017 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12019         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12020         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12021         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12022         (__ASSUME_FDATASYNC): Delete.
12024 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12026         * conform/linknamespace.pl: Require weak undefined symbols to be
12027         in the standard namespace.
12028         (%strong_syms): Rename to %seen_syms.
12029         (%strong_seen): Rename to %seen_where.
12031 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12033         [BZ #18970]
12034         * misc/error.c (error): Replace pthread_setcancelstate with
12035         __pthread_setcancelstate.
12036         (error_at_line): Likewise.
12037         * posix/wordexp.c (parse_comm): Likewise.
12038         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12039         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12040         (__pthread_setcancelstate): This.
12041         (pthread_setcancelstate): Add an alias.
12042         * nptl/nptl-init.c (pthread_functions): Replace
12043         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12044         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12045         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12046         hidden_proto.
12047         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12048         it with hidden_def.
12049         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12050         (pthread_setcancelstate): Renamed to ...
12051         (__pthread_setcancelstate): This.
12052         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12053         __libc_ptf_call with __pthread_setcancelstate.
12055 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12056             Andreas Schwab  <schwab@suse.de>
12058         [BZ #17118]
12059         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12060         result when imaginary part of argument is infinite using sine and
12061         cosine.
12062         * math/s_ctanf.c (__ctanf): Likewise.
12063         * math/s_ctanl.c (__ctanl): Likewise.
12064         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12065         of result when real part of argument is infinite using sine and
12066         cosine.
12067         * math/s_ctanhf.c (__ctanhf): Likewise.
12068         * math/s_ctanhl.c (__ctanhl): Likewise.
12069         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12070         (ctanh_test_data): Add more tests of ctanh.
12072 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12074         [BZ #15384]
12075         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12076         bit-mask as in subtraction.
12077         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12078         Likewise.
12079         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12080         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12081         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12083         [BZ #18951]
12084         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12085         underflow exception for small results.
12086         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12087         Likewise.
12088         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12089         Likewise.
12090         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12091         Likewise.
12092         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12093         Likewise.
12094         * math/auto-libm-test-in: Add more tests of tgamma.
12095         * math/auto-libm-test-out: Regenerated.
12097 2015-09-17  Andreas Schwab  <schwab@suse.de>
12099         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12101 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12103         [BZ #18977]
12104         * math/bits/mathcalls.h
12105         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12106         not declare.
12107         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12108         Likewise.
12109         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12110         Likewise.
12111         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12112         Likewise.
12113         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12114         Likewise.
12115         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12116         Likewise.
12117         * conform/data/math.h-data
12118         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12119         function.
12120         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12121         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12122         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12123         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12124         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12125         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12126         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12127         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12128         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12129         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12130         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12132         [BZ #6803]
12133         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12134         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12135         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12136         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12137         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12138         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12139         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12140         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12141         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12143         Likewise.
12144         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12145         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12146         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12147         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12148         long_double_symbol calls.
12149         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12150         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12151         strong alias of __ldexpl.
12152         (scalbnl): Define using long_double_symbol.
12153         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12154         Remove alias.
12155         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12156         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12157         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12158         (scalbln_test_data): Add more errno expectations.
12160 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12162         Cache the host port like we cache the task port.  This way we do not
12163         need to call the kernel just to get the port.  Furthermore, we no
12164         longer increase the reference count on every invocation of
12165         `mach_host_self'.
12167         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12168         Protect declarations against the macro expansion.
12169         * mach/mach_init.c (__mach_host_self_): New variable.
12170         (mach_init): Initialize `__mach_host_self_'.
12171         * mach/mach_init.h (__mach_host_self_): New declaration.
12172         (__mach_host_self, mach_host_self): New macros.
12173         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12174         Release reference.
12176 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12178         [BZ #4404]
12179         * po/de.po: Update from Translation Project.
12181         [BZ #16415]
12182         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12183         (__expm1l): Remove code to handle positive infinity and overflow.
12184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12185         variable.
12186         (__expm1l): Remove code to handle positive infinity and overflow.
12188 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12189             Paul Pluzhnikov  <ppluzhnikov@google.com>
12191         [BZ #18872]
12192         * stdio-common/Makefile (tst-printf-bz18872): New test.
12193         (tst-printf-bz18872-mem.out): Likewise.
12194         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12195         * stdio-common/vfprintf.c: Fix memory leaks.
12197 2015-09-16  Andreas Schwab  <schwab@suse.de>
12199         [BZ #17244]
12200         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12201         Remove extra va_start/va_end calls.
12203         [BZ #17243]
12204         * posix/execl.c (execl): Add missing va_end.
12205         * posix/execle.c (execle): Likewise.
12206         * posix/execlp.c (execlp): Likewise.
12208 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12210         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12211         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12213 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12215         [BZ #18967]
12216         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12217         undefine around includes of <bits/mathcalls.h>.
12218         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12219         not declare function.
12220         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12221         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12222         (scalb): Likewise.
12223         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12224         not define macro.
12225         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12226         variable.
12227         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12228         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12229         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12231         [BZ #18857]
12232         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12233         return non-finite argument without doing ordered comparisons on
12234         it.
12236         [BZ #16296]
12237         * math/fenv.h (fegetround): Use __attribute_pure__.
12238         * include/fenv.h (__fegetround): Likewise.
12240         [BZ #18595]
12241         * math/s_ctan.c (__ctan): Force underflow exception for results
12242         whose real or imaginary part has small absolute value.
12243         * math/s_ctanf.c (__ctanf): Likewise.
12244         * math/s_ctanh.c (__ctanh): Likewise.
12245         * math/s_ctanhf.c (__ctanhf): Likewise.
12246         * math/s_ctanhl.c (__ctanhl): Likewise.
12247         * math/s_ctanl.c (__ctanl): Likewise.
12248         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12249         and ctanh.  Add more tests of ctan and ctanh.
12251         [BZ #15918]
12252         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12253         handling of cases where one argument is an infinity.
12255         [BZ #18875]
12256         [BZ #18966]
12257         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12258         (MO): New macro.
12259         (__ieee754_exp10): For small results, force underflow exception
12260         and remove excess range and precision from return value.
12261         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12262         (MO): New macro.
12263         (__ieee754_exp10f): For small results, force underflow exception
12264         and remove excess range and precision from return value.
12265         * math/auto-libm-test-in: Add more tests of exp10.
12266         * math/auto-libm-test-out: Regenerated.
12268 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #18875]
12271         [BZ #18961]
12272         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12273         (MO): New macro.
12274         (__ieee754_exp): For small results, force underflow exception and
12275         remove excess range and precision from return value.
12276         (__exp_finite): Likewise.
12277         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12278         (MO): New macro.
12279         (__ieee754_expf): For small results, force underflow exception and
12280         remove excess range and precision from return value.
12281         (__expf_finite): Likewise.
12282         * math/auto-libm-test-in: Add more tests of exp.
12283         * math/auto-libm-test-out: Regenerated.
12285         [BZ #16521]
12286         [BZ #18875]
12287         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12288         small results.
12289         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12290         (MO): New macro.
12291         (__ieee754_exp2): For small results, force underflow exception and
12292         remove excess range and precision from return value.
12293         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12294         (MO): New macro.
12295         (__ieee754_exp2f): For small results, force underflow exception
12296         and remove excess range and precision from return value.
12297         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12298         (MO): New macro.
12299         (__ieee754_exp2l): Force underflow exception for small results.
12300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12301         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12302         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12303         (MO): New macro.
12304         (__ieee754_exp2l): Force underflow exception for small results.
12305         * math/auto-libm-test-in: Add more tests or exp2.
12306         * math/auto-libm-test-out: Regenerated.
12308 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12310         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12312         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12313         /dev/null.
12315 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12317         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12318         io fs process)): Drop spurious backslash.
12320 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12322         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12323         Use sysinfo system call instead of parsing /proc/meminfo.
12324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12325         Likewise.
12327 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12329         [BZ #16985]
12330         * programs/localedef.c (main): Display argv[remaining] when
12331         output_path is NULL.
12333 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12335         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12336         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12337         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12338         tanh.
12339         * math/auto-libm-test-out: Regenerated.
12340         * sysdeps/i386/fpu/libm-test-ulps: Update.
12341         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12342         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12345 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12347         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12348         Use 'override' keyword to freeze the value here, preventing
12349         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12351 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12353         [BZ #14912]
12354         * sysdeps/aarch64/bits/atomic.h: Move to ...
12355         * sysdeps/aarch64/atomic-machine.h: ...here.
12356         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12357         _AARCH64_ATOMIC_MACHINE_H.
12358         * sysdeps/alpha/bits/atomic.h: Move to ...
12359         * sysdeps/alpha/atomic-machine.h: ...here.
12360         * sysdeps/arm/bits/atomic.h: Move to ...
12361         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12362         * bits/atomic.h: Move to ...
12363         * sysdeps/generic/atomic-machine.h: ...here.
12364         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12365         * sysdeps/i386/bits/atomic.h: Move to ...
12366         * sysdeps/i386/atomic-machine.h: ...here.
12367         * sysdeps/ia64/bits/atomic.h: Move to ...
12368         * sysdeps/ia64/atomic-machine.h: ...here.
12369         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12370         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12371         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12372         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12373         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12374         * sysdeps/microblaze/bits/atomic.h: Move to ...
12375         * sysdeps/microblaze/atomic-machine.h: ...here.
12376         * sysdeps/mips/bits/atomic.h: Move to ...
12377         * sysdeps/mips/atomic-machine.h: ...here.
12378         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12379         * sysdeps/powerpc/bits/atomic.h: Move to ...
12380         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12381         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12382         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12383         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12384         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12385         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12386         <atomic-machine.h> instead of <bits/atomic.h>.
12387         * sysdeps/s390/bits/atomic.h: Move to ...
12388         * sysdeps/s390/atomic-machine.h: ...here.
12389         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12390         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12391         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12392         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12393         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12394         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12395         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12396         * sysdeps/tile/bits/atomic.h: Move to ...
12397         * sysdeps/tile/atomic-machine.h: ...here.
12398         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12399         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12400         <sysdeps/tile/atomic-machine.h> instead of
12401         <sysdeps/tile/bits/atomic.h>.
12402         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12403         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12404         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12405         <sysdeps/tile/atomic-machine.h> instead of
12406         <sysdeps/tile/bits/atomic.h>.
12407         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12408         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12409         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12410         <sysdeps/arm/atomic-machine.h> instead of
12411         <sysdeps/arm/bits/atomic.h>.
12412         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12413         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12414         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12415         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12416         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12417         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12418         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12419         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12420         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12421         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12422         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12423         * sysdeps/x86_64/bits/atomic.h: Move to ...
12424         * sysdeps/x86_64/atomic-machine.h: ...here.
12425         * include/atomic.h: Include <atomic-machine.h> instead of
12426         <bits/atomic.h>.
12428         * sysdeps/mips/mips32/libm-test-ulps: Update.
12429         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12431         [BZ #18952]
12432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12433         not convert non-integer negative arguments to int to determine the
12434         value of signgam.
12435         * math/auto-libm-test-in: Add more tests of lgamma.
12436         * math/auto-libm-test-out: Regenerated.
12438         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12439         cosh, csqrt, erfc, expm1 and lgamma.
12440         * math/auto-libm-test-out: Regenerated.
12441         * sysdeps/i386/fpu/libm-test-ulps: Update.
12442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12444 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12446         [BZ #2542]
12447         [BZ #2543]
12448         [BZ #2558]
12449         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12450         __lgamma_neg for arguments from -28.0 to -2.0.
12451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12452         __lgamma_negf for arguments from -15.0 to -2.0.
12453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12454         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12455         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12456         Call __lgamma_negl for arguments from -33.0 to -2.0.
12457         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12458         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12459         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12460         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12461         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12462         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12463         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12464         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12465         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12466         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12467         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12468         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12469         (__lgamma_neg): Likewise.
12470         (__lgamma_negl): Likewise.
12471         (__lgamma_product): Likewise.
12472         (__lgamma_productl): Likewise.
12473         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12474         * math/auto-libm-test-in: Add more tests of lgamma.
12475         * math/auto-libm-test-out: Regenerated.
12476         * sysdeps/i386/fpu/libm-test-ulps: Update.
12477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12479 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12481         [BZ #18675]
12482         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12484 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12486         [BZ #14912]
12487         * bits/libc-lock.h: Move to ...
12488         * sysdeps/generic/libc-lock.h: ...here.
12489         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12490         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12491         * sysdeps/mach/hurd/libc-lock.h: ...here.
12492         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12493         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12494         * sysdeps/mach/bits/libc-lock.h: Move to ...
12495         * sysdeps/mach/libc-lock.h: ...here.
12496         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12497         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12498         * sysdeps/nptl/libc-lock.h: ...here.
12499         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12500         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12501         * sysdeps/nptl/libc-lockP.h: ...here.
12502         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12503         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12504         <bits/libc-lock.h>.
12505         * dirent/scandir-tail.c: Likewise.
12506         * dlfcn/dlerror.c: Likewise.
12507         * elf/dl-close.c: Likewise.
12508         * elf/dl-iteratephdr.c: Likewise.
12509         * elf/dl-lookup.c: Likewise.
12510         * elf/dl-open.c: Likewise.
12511         * elf/dl-support.c: Likewise.
12512         * elf/dl-writev.h: Likewise.
12513         * elf/rtld.c: Likewise.
12514         * grp/fgetgrent.c: Likewise.
12515         * gshadow/fgetsgent.c: Likewise.
12516         * gshadow/sgetsgent.c: Likewise.
12517         * iconv/gconv_conf.c: Likewise.
12518         * iconv/gconv_db.c: Likewise.
12519         * iconv/gconv_dl.c: Likewise.
12520         * iconv/gconv_int.h: Likewise.
12521         * iconv/gconv_trans.c: Likewise.
12522         * include/link.h: Likewise.
12523         * inet/getnameinfo.c: Likewise.
12524         * inet/getnetgrent.c: Likewise.
12525         * inet/getnetgrent_r.c: Likewise.
12526         * intl/bindtextdom.c: Likewise.
12527         * intl/dcigettext.c: Likewise.
12528         * intl/finddomain.c: Likewise.
12529         * intl/gettextP.h: Likewise.
12530         * intl/loadmsgcat.c: Likewise.
12531         * intl/localealias.c: Likewise.
12532         * intl/textdomain.c: Likewise.
12533         * libidn/idn-stub.c: Likewise.
12534         * libio/libioP.h: Likewise.
12535         * locale/duplocale.c: Likewise.
12536         * locale/freelocale.c: Likewise.
12537         * locale/newlocale.c: Likewise.
12538         * locale/setlocale.c: Likewise.
12539         * login/getutent_r.c: Likewise.
12540         * login/getutid_r.c: Likewise.
12541         * login/getutline_r.c: Likewise.
12542         * login/utmp-private.h: Likewise.
12543         * login/utmpname.c: Likewise.
12544         * malloc/mtrace.c: Likewise.
12545         * misc/efgcvt.c: Likewise.
12546         * misc/error.c: Likewise.
12547         * misc/fstab.c: Likewise.
12548         * misc/getpass.c: Likewise.
12549         * misc/mntent.c: Likewise.
12550         * misc/syslog.c: Likewise.
12551         * nis/nis_call.c: Likewise.
12552         * nis/nis_callback.c: Likewise.
12553         * nis/nss-default.c: Likewise.
12554         * nis/nss_compat/compat-grp.c: Likewise.
12555         * nis/nss_compat/compat-initgroups.c: Likewise.
12556         * nis/nss_compat/compat-pwd.c: Likewise.
12557         * nis/nss_compat/compat-spwd.c: Likewise.
12558         * nis/nss_nis/nis-alias.c: Likewise.
12559         * nis/nss_nis/nis-ethers.c: Likewise.
12560         * nis/nss_nis/nis-grp.c: Likewise.
12561         * nis/nss_nis/nis-hosts.c: Likewise.
12562         * nis/nss_nis/nis-network.c: Likewise.
12563         * nis/nss_nis/nis-proto.c: Likewise.
12564         * nis/nss_nis/nis-pwd.c: Likewise.
12565         * nis/nss_nis/nis-rpc.c: Likewise.
12566         * nis/nss_nis/nis-service.c: Likewise.
12567         * nis/nss_nis/nis-spwd.c: Likewise.
12568         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12569         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12570         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12571         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12572         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12573         * nis/nss_nisplus/nisplus-network.c: Likewise.
12574         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12575         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12576         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12577         * nis/nss_nisplus/nisplus-service.c: Likewise.
12578         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12579         * nis/ypclnt.c: Likewise.
12580         * nptl/libc_pthread_init.c: Likewise.
12581         * nss/getXXbyYY.c: Likewise.
12582         * nss/getXXent.c: Likewise.
12583         * nss/getXXent_r.c: Likewise.
12584         * nss/nss_db/db-XXX.c: Likewise.
12585         * nss/nss_db/db-netgrp.c: Likewise.
12586         * nss/nss_db/nss_db.h: Likewise.
12587         * nss/nss_files/files-XXX.c: Likewise.
12588         * nss/nss_files/files-alias.c: Likewise.
12589         * nss/nsswitch.c: Likewise.
12590         * posix/regex_internal.h: Likewise.
12591         * posix/wordexp.c: Likewise.
12592         * pwd/fgetpwent.c: Likewise.
12593         * resolv/res_hconf.c: Likewise.
12594         * resolv/res_libc.c: Likewise.
12595         * shadow/fgetspent.c: Likewise.
12596         * shadow/lckpwdf.c: Likewise.
12597         * shadow/sgetspent.c: Likewise.
12598         * socket/opensock.c: Likewise.
12599         * stdio-common/reg-modifier.c: Likewise.
12600         * stdio-common/reg-printf.c: Likewise.
12601         * stdio-common/reg-type.c: Likewise.
12602         * stdio-common/vfprintf.c: Likewise.
12603         * stdio-common/vfscanf.c: Likewise.
12604         * stdlib/abort.c: Likewise.
12605         * stdlib/cxa_atexit.c: Likewise.
12606         * stdlib/fmtmsg.c: Likewise.
12607         * stdlib/random.c: Likewise.
12608         * stdlib/setenv.c: Likewise.
12609         * string/strsignal.c: Likewise.
12610         * sunrpc/auth_none.c: Likewise.
12611         * sunrpc/bindrsvprt.c: Likewise.
12612         * sunrpc/create_xid.c: Likewise.
12613         * sunrpc/key_call.c: Likewise.
12614         * sunrpc/rpc_thread.c: Likewise.
12615         * sysdeps/arm/backtrace.c: Likewise.
12616         * sysdeps/generic/ldsodefs.h: Likewise.
12617         * sysdeps/generic/stdio-lock.h: Likewise.
12618         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12619         * sysdeps/i386/backtrace.c: Likewise.
12620         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12621         * sysdeps/m68k/backtrace.c: Likewise.
12622         * sysdeps/mach/hurd/cthreads.c: Likewise.
12623         * sysdeps/mach/hurd/dirstream.h: Likewise.
12624         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12625         * sysdeps/nptl/malloc-machine.h: Likewise.
12626         * sysdeps/nptl/stdio-lock.h: Likewise.
12627         * sysdeps/posix/dirstream.h: Likewise.
12628         * sysdeps/posix/getaddrinfo.c: Likewise.
12629         * sysdeps/posix/system.c: Likewise.
12630         * sysdeps/pthread/aio_suspend.c: Likewise.
12631         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12632         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12633         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12634         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12635         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12636         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12637         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12638         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12639         * sysdeps/unix/sysv/linux/system.c: Likewise.
12640         * sysdeps/x86_64/backtrace.c: Likewise.
12641         * time/alt_digit.c: Likewise.
12642         * time/era.c: Likewise.
12643         * time/tzset.c: Likewise.
12644         * wcsmbs/wcsmbsload.c: Likewise.
12645         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12646         instead of <bits/libc-lock.h> in comment.
12648 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12650         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12651         Only use .set mips2 if the current ISA is below mips2.
12652         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12653         Likewise.
12654         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12655         mips32r2 if the current ISA is below mips32r2.
12656         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12657         (TLS_IE): Updated to use the TLD_RDHWR macro.
12658         (TLS_LE): Likewise.
12659         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12660         __ASSEMBLER__ condition.
12662 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12664         Fix parallel build of before-compile targets.
12666         * sysdeps/mach/Makefile ($(patsubst
12667         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12668         mach-before-compile target.
12669         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12670         io fs process)): Move rule to dedicated hurd-before-compile target.
12672 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12674         Fix rules generating headers in hurd/ and mach/ when initial make call
12675         has subdir= explicitly set.
12677         * sysdeps/mach/Makefile ($(patsubst
12678         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12679         calling $(MAKE).
12680         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12681         io fs process)): Force subdir to hurd when calling $(MAKE).
12682         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12683         subdir to mach when calling $(MAKE).
12685 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12687         Check sysheaders when looking for Mach and Hurd headers
12689         * sysdeps/mach/configure.ac: Add sysheaders check.
12690         * sysdeps/mach/configure: Regenerate.
12691         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12692         * sysdeps/mach/hurd/configure: Regenerate.
12694 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12696         [BZ #18921]
12697         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12698         Fix inverted sense of test of 'o_directory_works' value.
12699         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12700         Bernhard Voelker <mail@bernhard-voelker.de>.
12702 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12704         [BZ #14912]
12705         * bits/linkmap.h: Move to ...
12706         * sysdeps/generic/linkmap.h: ...here.
12707         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12708         * sysdeps/aarch64/linkmap.h: ...here.
12709         * sysdeps/arm/bits/linkmap.h: Move to ...
12710         * sysdeps/arm/linkmap.h: ...here.
12711         * sysdeps/hppa/bits/linkmap.h: Move to ...
12712         * sysdeps/hppa/linkmap.h: ...here.
12713         * sysdeps/ia64/bits/linkmap.h: Move to ...
12714         * sysdeps/ia64/linkmap.h: ...here.
12715         * sysdeps/mips/bits/linkmap.h: Move to ...
12716         * sysdeps/mips/linkmap.h: ...here.
12717         * sysdeps/s390/bits/linkmap.h: Move to ...
12718         * sysdeps/s390/linkmap.h: ...here.
12719         * sysdeps/sh/bits/linkmap.h: Move to ...
12720         * sysdeps/sh/linkmap.h: ...here.
12721         * sysdeps/x86/bits/linkmap.h: Move to ...
12722         * sysdeps/x86/linkmap.h: ...here.
12723         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12725 2015-09-04  Andreas Schwab  <schwab@suse.de>
12727         [BZ #18635]
12728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12729         (__makecontext): Terminate FDE before return label.
12730         (__novec_makecontext): Likewise.
12732 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12734         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12735         first member of struct sv in syscall macro.
12737 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12739         [BZ #14912]
12740         * bits/stdio-lock.h: Move to ...
12741         * sysdeps/generic/stdio-lock.h: ...here.
12742         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12743         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12744         * sysdeps/nptl/stdio-lock.h: ...here.
12745         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12746         * include/libio.h: Include <stdio-lock.h> instead of
12747         <bits/stdio-lock.h>.
12748         * sysdeps/nptl/fork.c: Likewise.
12749         * sysdeps/pthread/flockfile.c: Likewise.
12750         * sysdeps/pthread/ftrylockfile.c: Likewise.
12751         * sysdeps/pthread/funlockfile.c: Likewise.
12753         [BZ #14912]
12754         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12755         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12756         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12757         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12758         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12759         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12760         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12762 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12764         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12765         (test-xfail-tst-protected1b): New variable.
12767 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12769         [BZ #14912]
12770         * bits/libc-tsd.h: Move to ...
12771         * sysdeps/generic/libc-tsd.h: ...here.
12772         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12773         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12774         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12775         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12776         * include/ctype.h: Include <libc-tsd.h> instead of
12777         <bits/libc-tsd.h>.
12778         * include/rpc/rpc.h: Likewise.
12779         * locale/localeinfo.h: Likewise.
12780         * sunrpc/rpc_thread.c: Likewise.
12781         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12782         * sysdeps/nptl/malloc-machine.h: Likewise.
12784         * Makefile (headers): Remove bits/libc-lock.h.
12785         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12787         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12788         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12789         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12790         <bits/stdio-lock.h>.
12791         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12792         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12794 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12796         [BZ #18757]
12797         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12798         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12799         BZ #18757.
12801 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12803         * malloc/mtrace.pl: Filter out NULL entries.
12805 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12807         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12808         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12809         macro.
12811         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12812         (TCP_CC_INFO): Likewise.
12813         (TCP_SAVE_SYN): Likewise.
12814         (TCP_SAVED_SYN): Likewise.
12816 2015-08-31  Brett Neumeier <brett@neumeier.us>
12818         [BZ #18870]
12819         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12821 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12823         [BZ #18873]
12824         Fix broken overflow check in posix_fallocate
12825         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12826         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12827         Fix parenthesization typo.
12829 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12831         [BZ #18887]
12832         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12833         tst-mntent-blank-passno.
12834         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12835         * misc/tst-mntent-blank-corrupt.c: New test.
12836         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12837         * misc/tst-mntent.c (do_test): ... here.
12839 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12841         [BZ #4404]
12842         * po/de.po: Fix SIGALRM typo.
12844 2015-08-28  James Perkins  <james@loowit.net>
12846         * time/tst-strptime2.c (tests): Replace short list of test
12847         strings for strptime %z specifier with code which exhaustively
12848         tests every combination of sign and 0 to 5 digits. Tests for
12849         rejection of invalid strings.
12851 2015-08-28  James Perkins  <james@loowit.net>
12853         [BZ #16141]
12854         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12855         calculation, removing incorrect decimal time rounding, so that
12856         all minute values result in a valid seconds value.
12857         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12858         offset range limits to UTC-99:59 through UTC+99:59 to parse
12859         current and historical use cases.
12860         * time/tst-strptime2.c (tests): Modify and add tests for the
12861         strptime %z input field descriptor, specifically conversion of
12862         minutes to seconds and validating an offset range of -9959 to
12863         +9959.
12865 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12866             Dmitry V. Levin  <ldv@altlinux.org>
12868         [BZ #18877]
12869         * posix/Makefile (tests): Add tst-mmap-offset.
12870         * posix/tst-mmap.c: New file.
12871         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12872         offset calculation for negative values.
12874 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12876         * sysdeps/i386/init-arch.h: New file.
12877         * sysdeps/i386/i586/init-arch.h: Likewise.
12878         * sysdeps/i386/i686/init-arch.h: Likewise.
12879         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12880         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12881         * sysdeps/x86/cpu-features.h (bit_I586): New.
12882         (bit_I686): Likewise.
12883         (bit_CX8): Likewise.
12884         (bit_CMOV): Likewise.
12885         (index_CX8): Likewise.
12886         (index_CMOV): Likewise.
12887         (index_I586): Likewise.
12888         (index_I686): Likewise.
12889         (reg_CX8): Likewise.
12890         (reg_CMOV): Likewise.
12891         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12892         available at compile-time.
12893         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12894         available at compile-time.
12895         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12896         (USE_I686): Likewise.
12898 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12900         * sysdeps/i386/bcopy.S: New file.
12901         * sysdeps/i386/bzero.S: Likewise.
12902         * sysdeps/i386/memcpy.S: Likewise.
12903         * sysdeps/i386/memmove.S: Likewise.
12904         * sysdeps/i386/mempcpy.S: Likewise.
12905         * sysdeps/i386/memset.S: Likewise.
12906         * sysdeps/i386/bzero.c: Removed.
12907         * sysdeps/i386/memset.c: Likewise.
12908         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12909         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12910         * sysdeps/i386/i586/memset_chk.S: Likewise.
12911         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12912         * sysdeps/i386/memcpy_chk.S: Here.
12913         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12914         * sysdeps/i386/memmove_chk.S: Here.
12915         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12916         * sysdeps/i386/mempcpy_chk.S: Likewise.
12917         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12918         * sysdeps/i386/memset_chk.S: Likewise.
12920 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12922         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12923         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12924         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12925         * soft-fp/fmadf4.c: Ditto.
12926         * soft-fp/fmatf4.c: Ditto.
12928 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12930         * sysdeps/i386/i586/Implies: Removed.
12931         * sysdeps/i386/i686/Implies: Likewise.
12933 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12935         * sysdeps/i386/i486/strlen.S: Moved to ...
12936         * sysdeps/i386/strlen.S: Here.
12938 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12940         * sysdeps/i386/i486/strcat.S: Moved to ...
12941         * sysdeps/i386/strcat.S: Here.
12943 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12946         * sysdeps/i386/pthread_spin_trylock.S: Here.
12947         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12948         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12950 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12952         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12953         * sysdeps/i386/string-inlines.c: Here.
12955 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12957         * sysdeps/i386/i486/htonl.S: Moved ...
12958         * sysdeps/i386/htonl.S: here.
12960 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12962         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12963         * sysdeps/i386/bits/atomic.h: Here.
12965 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12967         * sysdeps/i386/i486/Versions: Removed.
12969 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12971         [BZ #2898]
12972         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12973         Based on patch by Aurelien Jarno.
12975 2015-08-26  Stan Shebs  <stanshebs@google.com>
12977         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12978         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12980 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12982         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12983         * sysdeps/powerpc/dl-procinfo.c:
12984         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12985         feature so it shows when LD_SHOW_AUXV=1.
12987 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12989         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12990         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12991         definition.  ISA 2.07B no longer requires full sync.
12993 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12995         [BZ #18863]
12996         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12997         (si_call_addr): Define.
12998         (si_syscall): Define.
12999         (si_arch): Define.
13001 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13003         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13004         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13005         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13006         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13007         (__memset_zero_constant_len_parameter): New.
13008         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13009         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13010         (__memset_zero_constant_len_parameter): Don't define if
13011         __memset_chk or USE_AS_BZERO are defined.
13013         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13014         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13015         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13017         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13018         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13019         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13020         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13021         comments.
13022         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13023         -mno-mmx for $(all-rtld-routines).
13024         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13025         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13026         i386.
13028 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13030         * sysdeps/generic/unwind.h
13031         (_Unwind_Word): Use __mode__(__unwind_word__)
13032         instead of __mode__(__word__).
13033         (_Unwind_Sword): Likewise.
13035         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13036         (MAX_NEEDED_INPUT): New define.
13037         (MAX_NEEDED_OUTPUT): New define.
13039         * NEWS: New item for IBM z13 string optimizations.
13041         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13042         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13043         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13044         * sysdeps/s390/multiarch/Makefile
13045         (sysdep_routines): Add memrchr functions.
13046         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13047         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13049         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13050         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13051         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13052         * sysdeps/s390/multiarch/Makefile
13053         (sysdep_routines): Add wmemcmp functions.
13054         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13055         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13056         * benchtests/bench-wmemcmp.c: New File.
13057         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13059         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13060         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13061         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13062         * sysdeps/s390/multiarch/Makefile
13063         (sysdep_routines): Add wmemset functions.
13064         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13065         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13066         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13067         * string/test-memset.c: Add wmemset support.
13068         * wcsmbs/test-wmemset.c: New File.
13069         * wcsmbs/Makefile (strop-tests): Add wmemset.
13070         * benchtests/bench-memset.c: Add wmemset support.
13071         * benchtests/bench-wmemset.c: New File.
13072         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13074         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13075         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13076         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13077         * sysdeps/s390/multiarch/Makefile
13078         (sysdep_routines): Add memccpy functions.
13079         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13080         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13081         * string/memccpy.c: Use MEMCCPY if defined.
13083         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13084         * sysdeps/s390/multiarch/memchr.c: Likewise.
13085         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13086         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13087         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13088         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13089         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13090         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13091         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13092         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13094         and rawmemchr functions.
13095         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13096         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13097         and wmemchr.
13098         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13099         * string/test-memchr.c: Add wmemchr support.
13100         * wcsmbs/test-wmemchr.c: New File.
13101         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13102         * benchtests/bench-memchr.c: Add wmemchr support.
13103         * benchtests/bench-wmemchr.c: New File.
13104         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13106         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13107         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13108         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13109         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13110         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13111         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13112         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13113         wcscspn functions.
13114         * sysdeps/s390/multiarch/ifunc-impl-list.c
13115         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13116         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13117         * string/test-strcspn.c: Add wcscspn support.
13118         * wcsmbs/test-wcscspn.c: New File.
13119         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13120         * benchtests/bench-strcspn.c: Add wcscspn support.
13121         * benchtests/bench-wcscspn.c: New File.
13122         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13124         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13125         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13126         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13127         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13128         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13129         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13130         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13131         wcspbrk functions.
13132         * sysdeps/s390/multiarch/ifunc-impl-list.c
13133         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13134         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13135         * string/test-strpbrk.c: Add wcspbrk support.
13136         * wcsmbs/test-wcspbrk.c: New File.
13137         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13138         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13139         * benchtests/bench-wcspbrk.c: New File.
13140         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13142         * sysdeps/s390/multiarch/strspn-c.c: New File.
13143         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13144         * sysdeps/s390/multiarch/strspn.c: Likewise.
13145         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13146         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13147         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13148         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13150         wcsspn functions.
13151         * sysdeps/s390/multiarch/ifunc-impl-list.c
13152         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13153         * string/test-strspn.c: Add wcsspn support.
13154         * wcsmbs/test-wcsspn.c: New File.
13155         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13156         * benchtests/bench-strspn.c: Add wcsspn support.
13157         * benchtests/bench-wcsspn.c: New File.
13158         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13160         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13161         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13162         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13163         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13164         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13165         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13166         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13167         wcsrchr functions.
13168         * sysdeps/s390/multiarch/ifunc-impl-list.c
13169         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13170         * benchtests/bench-wcsrchr.c: New File.
13171         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13173         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13174         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13175         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13176         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13177         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13178         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13180         wcschrnul functions.
13181         * sysdeps/s390/multiarch/ifunc-impl-list.c
13182         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13183         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13184         * string/test-strchr.c: Add wcschrnul support.
13185         * wcsmbs/test-wcschrnul.c: New File.
13186         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13187         * benchtests/bench-strchr.c: Add wcschrnul support.
13188         * benchtests/bench-wcschrnul.c: New File.
13189         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13191         * sysdeps/s390/multiarch/strchr-c.c: New File.
13192         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13193         * sysdeps/s390/multiarch/strchr.c: Likewise.
13194         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13195         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13196         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13198         wcschr functions.
13199         * sysdeps/s390/multiarch/ifunc-impl-list.c
13200         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13201         * string/strchr.c (STRCHR): Define and use macro.
13202         * benchtests/bench-wcschr.c: New File.
13203         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13205         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13206         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13207         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13208         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13209         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13210         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13212         wcsncmp functions.
13213         * sysdeps/s390/multiarch/ifunc-impl-list.c
13214         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13215         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13216         * benchtests/bench-strncmp.c: Add wcsncmp support.
13217         * benchtests/bench-wcsncmp.c: New File.
13218         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13220         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13221         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13222         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13223         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13224         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13225         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13226         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13228         wcscmp functions.
13229         * sysdeps/s390/multiarch/ifunc-impl-list.c
13230         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13231         * string/strcmp.c (STRCMP): Define and use macro.
13232         * benchtests/bench-wcscmp.c: New File.
13233         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13234         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13235         instead of _HAVE_STRING_ARCH_memchr.
13237         * sysdeps/s390/multiarch/strncat-c.c: New File.
13238         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13239         * sysdeps/s390/multiarch/strncat.c: Likewise.
13240         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13241         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13242         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13244         wcsncat functions.
13245         * sysdeps/s390/multiarch/ifunc-impl-list.c
13246         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13247         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13248         * string/test-strncat.c: Add wcsncat support.
13249         * wcsmbs/test-wcsncat.c: New File.
13250         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13251         * benchtests/bench-strncat.c: Add wcsncat support.
13252         * benchtests/bench-wcsncat.c: New File.
13253         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13255         * sysdeps/s390/multiarch/strcat-c.c: New File.
13256         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13257         * sysdeps/s390/multiarch/strcat.c: Likewise.
13258         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13259         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13260         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13262         wcscat functions.
13263         * sysdeps/s390/multiarch/ifunc-impl-list.c
13264         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13265         * string/strcat.c (STRCAT): Define and use macro.
13266         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13267         * string/test-strcat.c: Add wcscat support.
13268         * wcsmbs/test-wcscat.c: New File.
13269         * wcsmbs/Makefile (strop-tests): Add wcscat.
13270         * benchtests/bench-strcat.c: Add wcscat support.
13271         * benchtests/bench-wcscat.c: New File.
13272         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13274         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13275         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13276         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13277         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13278         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13279         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13280         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13281         wcpncpy functions.
13282         * sysdeps/s390/multiarch/ifunc-impl-list.c
13283         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13284         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13285         * string/test-stpncpy.c: Add wcpncpy support.
13286         * wcsmbs/test-wcpncpy.c: New File.
13287         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13288         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13289         * benchtests/bench-wcpncpy.c: New File.
13290         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13292         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13293         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13294         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13295         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13296         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13297         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13298         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13299         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13300         wcsncpy functions.
13301         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13302         * sysdeps/s390/multiarch/ifunc-impl-list.c
13303         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13304         * string/test-strncpy.c: Add wcsncpy support.
13305         * wcsmbs/test-wcsncpy.c: New File.
13306         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13307         * benchtests/bench-strncpy.c: Add wcsncpy support.
13308         * benchtests/bench-wcsncpy.c: New File.
13309         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13311         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13312         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13313         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13314         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13315         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13316         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13317         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13318         wcpcpy functions.
13319         * string/stpcpy.c: Use STPCPY if defined.
13320         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13321         * sysdeps/s390/multiarch/ifunc-impl-list.c
13322         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13323         * string/test-stpcpy.c: Add wcpcpy support.
13324         * wcsmbs/test-wcpcpy.c: New File.
13325         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13326         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13327         * benchtests/bench-wcpcpy.c: New File.
13328         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13330         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13331         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13332         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13333         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13334         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13335         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13336         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13338         wcscpy functions.
13339         * sysdeps/s390/multiarch/ifunc-impl-list.c
13340         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13341         * benchtests/bench-wcscpy.c: New File.
13342         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13344         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13345         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13346         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13347         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13348         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13349         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13350         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13351         wcsnlen functions.
13352         * sysdeps/s390/multiarch/ifunc-impl-list.c
13353         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13354         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13355         * string/test-strnlen.c: Add wcsnlen support.
13356         * wcsmbs/test-wcsnlen.c: New File.
13357         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13358         * benchtests/bench-strnlen.c: Add wcsnlen support.
13359         * benchtests/bench-wcsnlen.c: New File.
13360         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13362         * sysdeps/s390/multiarch/Makefile: New File.
13363         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13364         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13365         * sysdeps/s390/multiarch/strlen.c: Likewise.
13366         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13367         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13368         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13369         * string/strlen.c (STRLEN): Define and use macro.
13370         * sysdeps/s390/multiarch/ifunc-impl-list.c
13371         (IFUNC_VX_IMPL): New macro function.
13372         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13373         * benchtests/Makefile (wcsmbs-bench): New variable.
13374         (string-bench-all): Added wcsmbs-bench.
13375         * benchtests/bench-wcslen.c: New File.
13377         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13378         s390_vx_libc_ifunc2): New macro function.
13380         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13381         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13382         assembler support.
13383         * sysdeps/s390/configure: Regenerated.
13385         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13386         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13388         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13389         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13390         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13392         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13393         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13394         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13395         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13396         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13397         (memcmp, bcmp): Use __memcmp_default as alias source.
13398         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13399         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13400         Rename to __memcmp_default.
13401         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13402         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13403         (memcpy): Use __memcpy_default as alias source.
13404         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13405         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13406         Rename to __memcpy_default.
13407         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13408         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13409         (memset): Use __memset_default as alias source.
13410         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13411         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13412         Rename to __memset_default.
13413         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13414         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13416         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13417         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13418         (memcmp, bcmp): Use __memcmp_default as alias source.
13419         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13420         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13421         Rename to __memcmp_default.
13422         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13423         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13424         (memcpy): Use __memcpy_default as alias source.
13425         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13426         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13427         Rename to __memcpy_default.
13428         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13429         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13430         (memset): Use __memset_default as alias source.
13431         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13432         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13433         Rename to __memset_default.
13434         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13435         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13437         [BZ #18610]
13438         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13439         __ieee_instruction_pointer to __unused.
13440         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13441         __ieee_instruction_pointer.
13442         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13443         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13444         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13445         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13446         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13447         Mark dxc-field as reserved.
13449 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13451         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13452         if the weak reference is not null.
13454 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13456         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13458         [BZ #11214]
13459         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13461 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13463         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13464         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13465         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13466         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13467         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13468         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13469         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13470         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13471         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13472         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13473         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13474         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13475         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13476         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13477         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13478         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13479         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13480         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13482 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13484         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13485         register other than r0 for tabort, it has special meaning.
13486         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13487         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13488         transaction before starting syscall.
13490 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13492         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13494 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13496         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13498         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13499         * sysdeps/x86_64/rtld-memset.S: Likewise.
13500         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13501         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13502         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13503         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13505         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13507 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13509         * debug/strcpy_chk.c: Improve performance.
13510         * debug/stpcpy_chk.c: Likewise.
13511         * sysdeps/x86_64/strcpy_chk.S: Remove.
13512         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13514         [BZ #18240]
13515         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13517 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13519         [BZ #15128]
13520         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13521         ifuncmain8.
13522         (modules-names): Add ifuncmod8.
13523         ($(objpfx)ifuncmain8): New rule.
13524         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13525         <cpuid.h>.
13526         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13527         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13528         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13529         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13530         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13531         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13532         * sysdeps/x86_64/ifuncmain8.c: New file.
13533         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13534         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13535         Removed.
13536         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13537         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13538         Change rtld_savespace_sse to __glibc_unused2.
13539         (RTLD_CHECK_FOREIGN_CALL): Removed.
13540         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13541         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13542         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13544 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13546         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13548 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13550         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13551         Unconditionally set __fpcr to avoid uninialized warning.
13552         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13554 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13556         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13557         is corrupt.
13559         * malloc/arena.c (arena_get2): Drop unused argument.
13560         (arena_lock): Adjust.
13561         (arena_get_retry): Likewise.
13563 2015-08-24  Andreas Schwab  <schwab@suse.de>
13565         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13566         Don't define.
13567         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13568         (__ASSUME_IPC64): Don't undef.
13569         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13570         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13571         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13572         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13573         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13574         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13575         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13576         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13577         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13578         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13579         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13580         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13581         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13582         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13583         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13584         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13585         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13586         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13587         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13588         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13589         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13591 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13593         * manual/Makefile (install): Only build manual when perl is available.
13595 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13598         '#undef memcpy' by '#undef memchr'.
13600 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13602         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13603         memchr not point to the internal __GI_memchr implementation.
13605 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13607         * timezone/Makefile (CFLAGS-zdump.c): Remove
13608         -Wno-strict-prototypes.
13609         (CFLAGS-zic.c): Likewise.
13610         (CFLAGS-ialloc.c): Likewise.
13611         (CFLAGS-scheck.c): Likewise.
13613         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13614         -Wno-error=undef.
13616 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13618         * i386/i686/multiarch/strcasestr-c.c: Removed.
13619         * x86_64/multiarch/strcasestr.c: Likewise.
13620         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13621         Remove strcasestr.
13623 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13625         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13628         variables for high and low parts before possibly modifying them.
13630 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13632         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13633         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13634         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13635         of "multiarch/init-arch.h".
13636         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13637         * sysdeps/x86/init-arch.h: This.
13639 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13641         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13642         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13644 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13646         [BZ #17787]
13647         * manual/macros.texi: Add twoexp macro.
13648         * manual/filesys.texi: Fix exponents.
13649         * manual/llio.texi: Likewise.
13650         * manual/stdio.texi: Likewise.
13652 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13654         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13655         incorrect use.
13657 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13659         [BZ #18370]
13660         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13661         whose real or imaginary part has small absolute value.
13662         * math/s_csqrtf.c (__csqrtf): Likewise.
13663         * math/s_csqrtl.c (__csqrtl): Likewise.
13664         * math/auto-libm-test-in: Add more tests of csqrt.
13665         * math/auto-libm-test-out: Regenerated.
13666         * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13670         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13671         __ppc_set_ppr_very_low): New functions.
13672         * manual/platform.texi: Add documentation about
13673         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13675 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13677         * string/stpncpy.c (stpncpy): Improve performance using
13678         __strnlen/memcpy/memset.
13680 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13682         [BZ #18796]
13683         * scripts/test-installation.pl: Don't add -lmvec to build options if
13684         libmvec wasn't built.
13686 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13688         [BZ #14341]
13689         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13690         case when there is a gap between DT_REL and DT_JMPREL sections.
13691         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13692         (LDFLAGS-tst-split-dynreloc): New.
13693         (tst-split-dynreloc-ENV): Likewise.
13694         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13695         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13697 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13699         [BZ #18822]
13700         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13701         attribute_hidden.
13702         (__xstat64_conv): Likewise.
13703         (__xstat32_conv): Likewise.
13705 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13707         [BZ #18822]
13708         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13709         Don't load %ebx when calling __setcontext.  Call __setcontext
13710         with HIDDEN_JUMPTARGET.
13711         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13712         libc_hidden_def.
13714 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13716         * sysdeps/i386/i686/Makefile
13717         [$(subdir) == string] (sysdep_routines): Moved to ...
13718         * sysdeps/i386/Makefile: Here.
13719         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13720         * sysdeps/i386/cacheinfo.c: Here.
13721         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13722         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13723         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13724         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13726 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13728         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13729         __i586__ is defined.
13730         (HAS_I686): Defined to 1 if __i686__ is defined.
13732 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13734         * elf/Makefile [$(have-z-execstack) = yes]
13735         (CPPFLAGS-tst-execstack.c): New variable.
13737         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13738         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13739         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13740         UTMPX || _HAVE_UT_TV].
13741         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13742         UTMPX || _HAVE_UT_TV - 0].
13744 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13746         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13747         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13748         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13750 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13752         * sysdeps/powerpc/dl-procinfo.c:
13753         (_dl_powerpc_cap_flags): Added missing strings for some
13754         hwcap features.
13755         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13757 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13759         Port the 0x7efe...feff pattern to GCC 6.
13760         See Steve Ellcey's bug report in:
13761         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13762         * string/memrchr.c (MEMRCHR):
13763         * string/rawmemchr.c (RAWMEMCHR):
13764         * string/strchr.c (strchr):
13765         * string/strchrnul.c (STRCHRNUL):
13766         Rewrite code to avoid issues with signed shift overflow.
13768 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13770         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13771         whether cpuid is available only if HAS_CPUID is 0.
13772         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13773         (HAS_I586): Likewise.
13774         (HAS_I686): Likewise.
13776 2015-08-18  Zack Weinberg  <zackw@panix.com>
13778         * misc/Versions (libc): Add GLIBC_2.23.
13780 2015-08-18  Alan Modra  <amodra@gmail.com>
13782         [BZ #18421]
13783         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13784         .Lp__global.
13785         (_start): Load %dp via .Lp__global.
13786         [!SHARED]: Use .section .rodata.
13788 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13790         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13791         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13793 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13795         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13796         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13798 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13800         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13801         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13803 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13805         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13806         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13808 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13810         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13811         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13813 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13815         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13816         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13818 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13820         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13822 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13824         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13825         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13826         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13827         (__ASSUME_LWS_CAS): Delete.
13829 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13831         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13832         * sysdeps/hppa/configure: Regenerated.
13833         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13834         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13835         * sysdeps/hppa/nptl/tls.h: Likewise.
13837 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #18823]
13840         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13841         for scaling up small arguments.
13842         * math/s_csqrtf.c (__csqrtf): Likewise.
13843         * math/s_csqrtl.c (__csqrtl): Likewise.
13844         * math/auto-libm-test-in: Add more tests of csqrt.
13845         * math/auto-libm-test-out: Regenerated.
13847 2015-08-17  Andreas Schwab  <schwab@suse.de>
13849         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13850         version set GLIBC_2.19.
13852 2015-08-16  Zack Weinberg  <zackw@panix.com>
13854         [BZ #18681]
13855         * misc/regexp.h: This interface is no longer supported.
13856         Remove all contents, leaving only an #error directive.
13857         * misc/regexp.c (loc1, loc2, locs, step, advance):
13858         Demote to compatibility symbols.
13860 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13862         [BZ #18084]
13863         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13864         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13865         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13866         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13867         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13868         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13869         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13870         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13871         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13873 2015-08-15  Zack Weinberg  <zackw@panix.com>
13875         [BZ #18795]
13876         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13877         buffer length is known to be too large, not if it's known to be
13878         small enough.
13879         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13880         overflow at runtime, involving a length parameter, twice: once
13881         with a compile-time constant length parameter, once without.
13883 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13885         [BZ #18824]
13886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13887         scaling x * y up instead of down.
13888         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13890         * math/auto-libm-test-in: Add more tests of fma.
13891         * math/auto-libm-test-out: Regenerated.
13893 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13897 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13899         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13900         unnecessary movq.
13901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13902         Likewise.
13904 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13906         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13907         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13908         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13909         and tgamma.
13910         * math/auto-libm-test-out: Regenerated.
13911         * sysdeps/i386/fpu/libm-test-ulps: Update.
13912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13914         [BZ #16520]
13915         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13916         (__tanh): Force underflow exception for arguments with small
13917         absolute value.
13918         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13919         (__tanhf): Force underflow exception for arguments with small
13920         absolute value.
13921         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13922         (__tanhl): Force underflow exception for arguments with small
13923         absolute value.
13924         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13925         (__tanhl): Force underflow exception for arguments with small
13926         absolute value.
13927         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13928         (__tanhl): Force underflow exception for arguments with small
13929         absolute value.
13930         * math/auto-libm-test-in: Add more tests of tanh.
13931         * math/auto-libm-test-out: Regenerated.
13932         * sysdeps/i386/fpu/libm-test-ulps: Update.
13934 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13936         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13937         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13939 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13941         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13942         <cpuid.h>.
13944 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13946         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13947         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13949 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13951         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13952         Remove $(objpfx)init-arch.o.
13953         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13954         init-arch.
13955         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13956         (INIT_ARCH_EXT): Defined as empty.
13957         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13958         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13959         __init_cpu_features call.  Replace HAS_XXX with
13960         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13963         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13964         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13966         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13967         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13968         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13969         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13970         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13971         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13972         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13973         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13974         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13975         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13978         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13980         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13981         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13982         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13984         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13985         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13986         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13988         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13991         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13994         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13995         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13999         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14000         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14001         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14002         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14003         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14004         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14005         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14006         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14007         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14008         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14009         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14010         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14011         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14012         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14013         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14014         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14015         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14016         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14017         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14018         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14019         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14020         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14021         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14022         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14023         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14024         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14025         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14026         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14027         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14028         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14029         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14030         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14031         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14043 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14046         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14047         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14048         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14049         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14050         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14051         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14052         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14053         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14054         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14055         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14056         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14057         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14058         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14059         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14060         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14061         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14062         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14063         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14064         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14066         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14067         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14068         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14069         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14070         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14071         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14072         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14073         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14074         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14075         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14076         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14077         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14078         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14079         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14080         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14081         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14082         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14083         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14084         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14085         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14086         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14087         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14089 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14091         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14092         (dl_platform_init): Call init_cpu_features.
14093         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14094         * sysdeps/i386/i686/cacheinfo.c
14095         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14096         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14097         * sysdeps/i386/i686/multiarch/Versions: Removed.
14098         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14099         Removed.
14100         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14101         * sysdeps/unix/sysv/linux/x86/Makefile
14102         (libpthread-sysdep_routines): Remove init-arch.
14103         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14104         <sysdeps/x86_64/dl-procinfo.c> instead of
14105         sysdeps/generic/dl-procinfo.c>.
14106         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14107         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14108         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14109         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14110         [$(subdir) == elf] (tests-static): Add
14111         tst-get-cpu-features-static.
14112         * sysdeps/x86/Versions: New file.
14113         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14114         * sysdeps/x86/cpu-features.c: Likewise.
14115         * sysdeps/x86/cpu-features.h: Likewise.
14116         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14117         * sysdeps/x86/libc-start.c: Likewise.
14118         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14119         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14120         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14121         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14122         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14123         Assume USE_MULTIARCH is defined and don't check it.
14124         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14125         (is_amd): Likewise.
14126         (max_cpuid): Likewise.
14127         (intel_check_word): Likewise.
14128         (__cache_sysconf): Don't call __init_cpu_features.
14129         (__x86_preferred_memory_instruction): Removed.
14130         (init_cacheinfo): Don't call __init_cpu_features. Replace
14131         __cpu_features with GLRO(dl_x86_cpu_features).
14132         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14133         (dl_platform_init): Call init_cpu_features.
14134         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14135         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14136         * sysdeps/x86_64/multiarch/Versions: Removed.
14137         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14138         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14139         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14140         Removed.
14141         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14143 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14145         [BZ #18820]
14146         * libio/Makefile (test-fmemopen-mem): New test.
14147         * libio/test-fmemopen.c (do_bz18820): New test.
14148         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14149         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14151 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14153         [BZ #16734]
14154         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14155         (FREE_BUF): Delete.
14156         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14157         * libio/genops.c (_IO_setb): Use malloc and free directly.
14158         (_IO_default_doallocate, _IO_default_finish): Likewise.
14159         ( _IO_unbuffer_all): Likewise.
14160         ( libc_freeres_fn): Likewise.
14161         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14162         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14163         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14164         (_IO_wdefault_doallocate): Likewise.
14166 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14168         [BZ #18086]
14169         * sysdeps/posix/nice.c (nice): Restore old errno.
14170         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14172 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14176 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14178         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14179         __bcopy and add a weak_alias to bcopy.
14180         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14181         for static build.
14183         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14184         cleanup macro usage.
14185         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14188         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14190         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14191         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14192         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14193         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14194         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14196         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14198         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14200         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14201         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14202         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14203         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14205         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14206         libc_hidden_def.
14207         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14209         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14210         (sysdep_routines): Add strstr-ppc64.
14211         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14213 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14215         [BZ #18778]
14216         * elf/Makefile (tests): Add Add tst-nodelete2.
14217         (modules-names): Add tst-nodelete2mod.
14218         (tst-nodelete2mod.so-no-z-defs): New.
14219         ($(objpfx)tst-nodelete2): Likewise.
14220         ($(objpfx)tst-nodelete2.out): Likewise.
14221         (LDFLAGS-tst-nodelete2): Likewise.
14222         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14223         out of loop through all loaded libraries.
14224         * elf/tst-nodelete2.c: New file.
14225         * elf/tst-nodelete2mod.c: Likewise.
14226         * elf/tst-znodelete-zlib.cc: Delete.
14228 2015-08-11  Andreas Schwab  <schwab@suse.de>
14230         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14231         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14232         (__openat64_nocancel): Likewise.
14234 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14236         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14237         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14238         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14239         * math/auto-libm-test-out: Regenerated.
14240         * sysdeps/i386/fpu/libm-test-ulps: Update.
14241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14245         [BZ #18790]
14246         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14247         threshold for returning +/- 1.
14248         * math/auto-libm-test-in: Add more tests of tanh.
14249         * math/auto-libm-test-out: Regenerated.
14250         * sysdeps/i386/fpu/libm-test-ulps: Update.
14252 2015-08-10  Andreas Schwab  <schwab@suse.de>
14254         [BZ #18781]
14255         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14256         MORE_OFLAGS to oflag.
14257         * io/test-lfs.c (do_test): Test openat64.
14259 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14261         [BZ #18789]
14262         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14263         smaller threshold for returning the argument.
14264         * math/auto-libm-test-in: Add more tests of sinh.
14265         * math/auto-libm-test-out: Regenerated.
14266         * sysdeps/i386/fpu/libm-test-ulps: Update.
14268 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14270         [BZ #18674]
14271         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14272         break.
14274 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14276         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14277         (generated): Don't add $(addprefix z.,$(tzfiles)).
14279 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14281         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14282         * scripts/sysd-rules.awk: Likewise.
14284 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14286         * iconvdata/tst-tables.sh: Change echo -n to printf.
14287         * nss/db-Makefile: Likewise.
14288         * posix/tst-getconf.sh: Likewise.
14289         * stdio-common/tst-unbputc.sh: Likewise.
14291 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14293         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14294         MADV_*_PAGES defines behind this feature check.
14296 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14298         [BZ #18480]
14299         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14300         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14301         Define.
14302         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14303         LOAD_REGS_5, LOAD_REGS_6): Update.
14304         (INTERNAL_SYSCALL): Update using new LOAD defines.
14305         (INTERNAL_SYSCALL_NCS): Likewise.
14306         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14308 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14310         [BZ #16734]
14311         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14313 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14315         [BZ #17905]
14316         * catgets/Makefile (tst-catgets-mem): New test.
14317         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14318         * catgets/open_catalog.c (__open_catalog): Likewise.
14319         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14321 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14323         [BZ #18787]
14324         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14325         clobber registers.
14326         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14327         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14328         Cast return to __typeof (oldval).
14330 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14332         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14333         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14334         and delete sys/syscall.h include.
14336 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14338         [BZ #16517]
14339         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14340         (tan): Force underflow exception for arguments with small absolute
14341         value.
14342         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14343         (__kernel_tanf): Force underflow exception for arguments with
14344         small absolute value.
14345         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14346         (__kernel_tanl): Force underflow exception for arguments with
14347         small absolute value.
14348         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14349         (__kernel_tanl): Force underflow exception for arguments with
14350         small absolute value.
14351         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14352         (__kernel_tanl): Force underflow exception for arguments with
14353         small absolute value.
14354         * math/auto-libm-test-in: Add more tests of tan.
14355         * math/auto-libm-test-out: Regenerated.
14357 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14359         Fix sysdeps/i386/fpu/s_scalbn.S build
14361         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14363 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14365         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14367 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14369         Fix gcrt0.o compilation
14371         When static-start-installed-name is different from
14372         start-installed-name, we must not use the shared objects.
14374         * csu/Makefile
14375         (extra-objs): Add gmon-start.o when building shared library and
14376         $(static-start-installed-name) is different from
14377         $(start-installed-name).
14378         $(objpfx)g$(static-start-installed-name): When building shared
14379         library and $(static-start-installed-name) is different from
14380         $(static-start-installed-name), revert to non-shared rule,
14381         i.e. using $(objpfx)% and gmon-start.o.
14383 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #16519]
14386         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14387         (__ieee754_sinh): Force underflow exception for arguments with
14388         small absolute value.
14389         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14390         (__ieee754_sinhf): Force underflow exception for arguments with
14391         small absolute value.
14392         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14393         (__ieee754_sinhl): Force underflow exception for arguments with
14394         small absolute value.
14395         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14396         (__ieee754_sinhl): Force underflow exception for arguments with
14397         small absolute value.
14398         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14399         (__ieee754_sinhl): Force underflow exception for arguments with
14400         small absolute value.
14401         * math/auto-libm-test-in: Add more tests of sinh.
14402         * math/auto-libm-test-out: Regenerated.
14403         * sysdeps/i386/fpu/libm-test-ulps: Update.
14405 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14407         * libio/oldfileops.c: Include unistd.h.
14409 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14411         * stdlib/isomac.c: Include ctype.h.
14413 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14415         * dirent/tst-seekdir.c (main): Converted to ...
14416         (do_test): ... this.
14417         (TEST_FUNCTION): New macro.
14418         Include test-skeleton.c.
14419         * elf/tst-dlmodcount.c (main): Converted to ...
14420         (do_test): ... this.
14421         (TEST_FUNCTION): New macro.
14422         Include test-skeleton.c.
14423         * elf/tst-order-main.c (main): Converted to ...
14424         (do_test): ... this.
14425         (TEST_FUNCTION): New macro.
14426         Include test-skeleton.c.
14427         * elf/tst-pie2.c (main): Converted to ...
14428         (do_test): ... this.
14429         (TEST_FUNCTION): New macro.
14430         Include test-skeleton.c.
14431         * inet/tst-ether_aton.c (main): Converted to ...
14432         (do_test): ... this.
14433         (TEST_FUNCTION): New macro.
14434         Include test-skeleton.c.
14435         * misc/tst-mntent.c (main): Converted to ...
14436         (do_test): ... this.
14437         (TEST_FUNCTION): New macro.
14438         Include test-skeleton.c.
14439         * misc/tst-tsearch.c (main): Converted to ...
14440         (do_test): ... this.
14441         (TEST_FUNCTION): New macro.
14442         Include test-skeleton.c.
14443         * posix/tst-regexloc.c (main): Converted to ...
14444         (do_test): ... this.
14445         (TEST_FUNCTION): New macro.
14446         Include test-skeleton.c.
14447         * resolv/tst-aton.c (main): Converted to ...
14448         (do_test): ... this.
14449         (TEST_FUNCTION): New macro.
14450         Include test-skeleton.c.
14451         * stdio-common/test-fwrite.c (main): Converted to ...
14452         (do_test): ... this.
14453         (TEST_FUNCTION): New macro.
14454         Include test-skeleton.c.
14455         * stdio-common/tst-ferror.c (main): Converted to ...
14456         (do_test): ... this.
14457         (TEST_FUNCTION): New macro.
14458         Include test-skeleton.c.
14459         * stdio-common/tst-printf.c (main): Converted to ...
14460         (do_test): ... this.
14461         (TEST_FUNCTION): New macro.
14462         Include test-skeleton.c.
14463         * stdio-common/tst-printfsz.c (main): Converted to ...
14464         (do_test): ... this.
14465         (TEST_FUNCTION): New macro.
14466         Include test-skeleton.c.
14467         * stdlib/tst-strtod.c (main): Converted to ...
14468         (do_test): ... this.
14469         (TEST_FUNCTION): New macro.
14470         Include test-skeleton.c.
14471         * string/tst-strlen.c (main): Converted to ...
14472         (do_test): ... this.
14473         (TEST_FUNCTION): New macro.
14474         Include test-skeleton.c.
14475         * string/tst-svc.c (main): Converted to ...
14476         (do_test): ... this.
14477         (TEST_FUNCTION): New macro.
14478         Include test-skeleton.c.
14479         * time/tst-strptime.c (main): Converted to ...
14480         (do_test): ... this.
14481         (TEST_FUNCTION): New macro.
14482         Include test-skeleton.c.
14483         * timezone/tst-timezone.c (main): Converted to ...
14484         (do_test): ... this.
14485         (TEST_FUNCTION): New macro.
14486         Include test-skeleton.c.
14488 2015-08-05  Zack Weinberg  <zackw@panix.com>
14490         * misc/regexp.h: Update comments.
14492 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14494         [BZ #18635]
14495         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14496         before return label.
14498 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14500         [BZ #18661]
14501         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14502         when calling __errno_location.
14503         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14504         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14506 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14508         [BZ #18661]
14509         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14510         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14511         __gettimeofday.
14513 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14515         [BZ #18661]
14516         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14517         (__start_context): Don't use pop to restore %rdi so that stack
14518         is aligned to 16 bytes when calling __setcontext.
14520 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14522         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14523         only for libc.
14524         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14526 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14528         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14529         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14530         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14532 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14534         * string/memccpy.c (memccpy):
14535         Improve performance by using memchr/memcpy/__mempcpy.
14537 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14539         * string/strncpy.c (strncpy):
14540         Improve performance by using __strnlen/memcpy.
14542 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14544         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14545         Optimize to avoid an unnecessary FPCR read.
14547 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14549         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14550         Optimize to reduce FPCR/FPSR accesses.
14552 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14554         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14555         dead->data[category] != NULL.
14557 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14559         [BZ #18647]
14560         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14561         and |x| close to 1, use absolute value of x when computing log.
14562         * math/auto-libm-test-in: Add more tests of pow.
14563         * math/auto-libm-test-out: Regenerated.
14565 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14567         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14568         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14569         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14571 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14573         [BZ #18525]
14574         * locales/km_KH: Remove timezone definition.
14575         * locales/lo_LA: Likewise.
14576         * locales/my_MM: Likewise.
14577         * locales/nan_TW@latin: Likewise.
14578         * locales/th_TH: Likewise.
14579         * locales/uk_UA: Likewise.
14581 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14583         [BZ #18265]
14584         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14585         (wcsncat): Likewise.
14586         (wcscmp): Likewise.
14587         (wcsncmp): Likewise.
14589 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14591         * test-skeleton.c (usage): New function.
14592         (main): Call usage when opt is '?'.
14594 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14596         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14597         before first use.
14599 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14601         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14602         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14603         in there too.
14605 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14607         * version.h (RELEASE): Set to "development".
14608         (VERSION): Set to "2.22.90"
14610         * version.h (RELEASE): Set to "stable".
14611         (VERSION): Set to "2.22"
14612         * include/features.h (__GLIBC_MINOR__): Set to 22.
14614 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14616         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14617         Restructure macro to avoid "value computed is not used" warning.
14618         (atomic_compare_and_exchange_val_acq): Likewise.
14620 2015-08-04  Andreas Schwab  <schwab@suse.de>
14622         [BZ #18635]
14623         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14624         ret.
14625         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14627 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14629         * po/pl.po: Updated translation.
14630         * po/uk.po: Likewise.
14631         * po/fi.po: Likewise.
14632         * po/ko.po: Likewise.
14633         * po/ru.po: Likewise.
14634         * po/vi.po: Likewise.
14636 2015-07-31  Zack Weinberg  <zackw@panix.com>
14638         [BZ #18681]
14639         * regexp.h: Add unconditional #warning stating that this header
14640         will be removed soon.  Revise banner comment to match.
14641         (compile): Consistently use ERROR instead of RETURN to report
14642         errors (partial fix for bz#18681).
14643         * regexp.c: Don't include regexp.h. Remove some unnecessary
14644         declarations.
14646 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14648         * po/libc.pot: Regenerated.
14650 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14652         [BZ #18740]
14653         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14654         float-vlen4-arch-ext-cflags): Removed.
14655         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14656         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14658 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14660         [BZ #14113]
14661         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14662         aligned to __aligned__.
14663         (pthread_cond_t, pthread_rwlock_t): Likewise.
14665 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14667         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14669 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14671         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14672         (struct sigaction): Change sa_flags from a long to an int, and add
14673         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14675 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14677         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14678         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14679         sysdeps/generic/sysdep.h include.
14680         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14681         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14682         sysdeps/hppa/sysdep.h.
14683         (ENTRY, PSEUDO): Undefine before defining.
14685 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14687         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14688         from scratch to use INTERNAL_SYSCALL.
14690 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14692         [BZ #18078]
14693         * scripts/check-localplt.awk: Support alternate relocations.
14694         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14695         sections.
14696         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14697         malloc entries with + REL R_386_GLOB_DAT.
14698         * sysdeps/x86_64/localplt.data: New file.
14700 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14702         [BZ #18731]
14703         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14704         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14705         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14707 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14709         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14711 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14713         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14714         directly in terms of __sync_fetch_and_add and delete (int) cast.
14716 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14718         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14719         the -D_ASM_IA64_CURRENT_H flag.
14721 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14723         [BZ #18641]
14724         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14726 2015-07-27  Andreas Schwab  <schwab@suse.de>
14728         * conform/conformtest.pl (checknamespace): Filter out string
14729         literals while tokenizing.
14731 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14733         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14734         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14735         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14737 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14739         * nptl/tst-join7mod.c: Add #include <string.h>.
14741 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14743         * sysdeps/nios2/libm-test-ulps: Update.
14745 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14747         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14748         Fix order of arguments to the rt_sigprocmask syscall.
14749         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14750         Likewise.
14752 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14754         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14756 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14758         [BZ #18457]
14759         * nptl/Makefile (tests): New test case tst-join7.
14760         (modules-names): New test case module tst-join7mod.
14761         * nptl/tst-join7.c: New file.
14762         * nptl/tst-join7mod.c: New file.
14763         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14764         all translation units in libc.so, libpthread.so and rtld.
14766 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14770 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14772         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14773         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14774         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14776         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14778         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14779         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14784         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14785         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14786         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14787         implementation.
14789 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14791         [BZ #17711]
14792         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14793         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14794         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14795         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14796         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14797         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14799 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14801         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14802         instead of just saying load lock in the comments.
14804 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14806         * sysdeps/unix/Subdirs: Moved ...
14807         * sysdeps/posix/Subdirs: ... here.
14808         * login/pty.h (struct termios, struct winsize): Add forward decls.
14809         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14810         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14811         * sysdeps/arm/nacl/libc.abilist: Updated.
14812         * sysdeps/nacl/libutil.abilist: New file.
14814         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14815         (SIGWINCH): New macro.
14817         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14818         * sysdeps/arm/nacl/libc.abilist: Add it.
14820 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14822         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14824 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14826         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14827         Swap __glibc_reserved0 and sa_flags order.
14829 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14831         [BZ #18657]
14832         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14833         are pending TLS destructor calls.
14834         * include/link.h (struct link_map): Add concurrency note for
14835         L_TLS_DTOR_COUNT.
14836         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14837         Don't touch the link map flag.  Atomically increment
14838         l_tls_dtor_count.
14839         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14840         Avoid taking the load lock and don't touch the link map flag.
14841         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14842         * stdlib/Makefile (tests): Use it.
14843         * stdlib/tst-tls-atexit.c (do_test): dlopen
14844         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14845         to allow tst-tls-atexit-nodelete test case to use it.
14847 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14849         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14850         to bits/types.h.
14851         (msgqnum_t): New typedef.
14852         (msglen_t): Likewise.
14853         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14854         and msg_qbytes type to msglen_t.
14856 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14858         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14859         pad0 to __glibc_reserved0.
14860         (struct stat64): Likewise.
14862 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14864         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14865         Change sa_flags from a long to an int and add __glibc_reserved0 before
14866         it for padding.
14868 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14870         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14871         anonymous by deleting "siginfo" name.
14873 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14875         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14876         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14877         rather than __nacl_irt_filename.
14878         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14880         * NEWS: New item for arm-nacl port.
14881         * sysdeps/arm/nacl/libc.abilist: New file.
14882         * sysdeps/nacl/ld.abilist: New file.
14883         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14884         * sysdeps/nacl/libanl.abilist: New file.
14885         * sysdeps/nacl/libcrypt.abilist: New file.
14886         * sysdeps/nacl/libdl.abilist: New file.
14887         * sysdeps/nacl/libm.abilist: New file.
14888         * sysdeps/nacl/libpthread.abilist: New file.
14889         * sysdeps/nacl/libresolv.abilist: New file.
14890         * sysdeps/nacl/librt.abilist: New file.
14892 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14894         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14895         __startcontext to initialize the new context.
14896         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14897         up CFI directive to forbid further backtracing.
14899 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14901         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14902         reference.
14903         * charmaps/ANSI_X3.4-1968: Likewise.
14904         * charmaps/BS_4730: Likewise.
14905         * charmaps/BS_VIEWDATA: Likewise.
14906         * charmaps/CP1250: Likewise.
14907         * charmaps/CP1251: Likewise.
14908         * charmaps/CP1252: Likewise.
14909         * charmaps/CP1253: Likewise.
14910         * charmaps/CP1254: Likewise.
14911         * charmaps/CP1255: Likewise.
14912         * charmaps/CP1256: Likewise.
14913         * charmaps/CSN_369103: Likewise.
14914         * charmaps/EBCDIC-DK-NO: Likewise.
14915         * charmaps/GB_1988-80: Likewise.
14916         * charmaps/GREEK-CCITT: Likewise.
14917         * charmaps/GREEK7: Likewise.
14918         * charmaps/INIS-8: Likewise.
14919         * charmaps/ISIRI-3342: Likewise.
14920         * charmaps/ISO_2033-1983: Likewise.
14921         * charmaps/ISO_5427-EXT: Likewise.
14922         * locales/POSIX: Likewise.
14923         * locales/ar_SA: Likewise.
14924         * locales/be_BY: Likewise.
14925         * locales/be_BY@latin: Likewise.
14926         * locales/ca_ES: Likewise.
14927         * locales/cs_CZ: Likewise.
14928         * locales/da_DK: Likewise.
14929         * locales/de_BE: Likewise.
14930         * locales/de_CH: Likewise.
14931         * locales/de_LU: Likewise.
14932         * locales/en_AU: Likewise.
14933         * locales/en_BW: Likewise.
14934         * locales/en_CA: Likewise.
14935         * locales/en_DK: Likewise.
14936         * locales/en_GB: Likewise.
14937         * locales/en_IE: Likewise.
14938         * locales/en_NZ: Likewise.
14939         * locales/en_ZA: Likewise.
14940         * locales/en_ZW: Likewise.
14941         * locales/es_AR: Likewise.
14942         * locales/es_BO: Likewise.
14943         * locales/es_CL: Likewise.
14944         * locales/es_CO: Likewise.
14945         * locales/es_DO: Likewise.
14946         * locales/es_EC: Likewise.
14947         * locales/es_ES: Likewise.
14948         * locales/es_HN: Likewise.
14949         * locales/es_MX: Likewise.
14950         * locales/es_PA: Likewise.
14951         * locales/es_PE: Likewise.
14952         * locales/es_PY: Likewise.
14953         * locales/es_SV: Likewise.
14954         * locales/es_US: Likewise.
14955         * locales/es_UY: Likewise.
14956         * locales/es_VE: Likewise.
14957         * locales/et_EE: Likewise.
14958         * locales/fa_IR: Likewise.
14959         * locales/fo_FO: Likewise.
14960         * locales/fr_CA: Likewise.
14961         * locales/fr_CH: Likewise.
14962         * locales/gv_GB: Likewise.
14963         * locales/he_IL: Likewise.
14964         * locales/hr_HR: Likewise.
14965         * locales/id_ID: Likewise.
14966         * locales/is_IS: Likewise.
14967         * locales/it_CH: Likewise.
14968         * locales/iw_IL: Likewise.
14969         * locales/kl_GL: Likewise.
14970         * locales/ko_KR: Likewise.
14971         * locales/kw_GB: Likewise.
14972         * locales/lg_UG: Likewise.
14973         * locales/lt_LT: Likewise.
14974         * locales/lv_LV: Likewise.
14975         * locales/mi_NZ: Likewise.
14976         * locales/nhn_MX: Likewise.
14977         * locales/nl_BE: Likewise.
14978         * locales/pl_PL: Likewise.
14979         * locales/sk_SK: Likewise.
14980         * locales/sl_SI: Likewise.
14981         * locales/sv_FI: Likewise.
14982         * locales/tl_PH: Likewise.
14983         * locales/tr_TR: Likewise.
14984         * locales/vi_VN: Likewise.
14986 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14988         [BZ #17475]
14989         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14990         of tu_IN and bh_IN.
14992 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14994         [BZ #18694]
14995         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14996         bits/wordsize.h.
14997         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14999 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15001         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15002         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15003         (spawn_thread): New function.
15004         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15005         (do_test): ... here.  Use IS_LOADED to test for its
15006         availability.
15008 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15010         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15012 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15014         [BZ #18696]
15015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15016         si_addr_bnd.
15017         (si_lower): New.
15018         (si_upper): Likewise.
15020 2015-07-16  David S. Miller  <davem@davemloft.net>
15022         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15024 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15026         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15027         buffer.
15028         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15029         fail output information.
15031 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15034         and strstr-ppc64..
15035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15036         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15037         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15038         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15039         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15041 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15043         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15044         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15045         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15046         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15048 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15050         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15051         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15052         rtld_hidden_proto.
15053         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15055 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15057         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15058         the test can fail.
15060         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15062         [BZ #18676]
15063         * elf/tst-nodelete-opened.c: New test case.
15064         * elf/tst-nodelete-opened-lib.c: New test case module.
15065         * elf/Makefile (tests, modules-names): Use them.
15066         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15067         early.
15069 2015-07-15  David S. Miller  <davem@davemloft.net>
15071         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15072         futex-intenal.h
15073         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15074         * sysdeps/sparc/sparc64/Makefile: Likewise.
15075         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15076         Remove space from macro define.
15077         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15079 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15081         [BZ #17475]
15082         * locale/iso-639.def: Update Bhili and Tulu language codes as
15083         per iso639-3.
15085 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15087         * elf/tst-leaks1.c (main): Converted to ...
15088         (do_test): ... this.
15089         (TEST_FUNCTION): New macro.
15090         Include test-skeleton.c.
15091         * localedata/tst-langinfo.c (main): Converted to ...
15092         (do_test): ... this.
15093         (TEST_FUNCTION): New macro.
15094         Include test-skeleton.c.
15095         * math/test-fpucw.c (main): Converted to ...
15096         (do_test): ... this.
15097         (TEST_FUNCTION): New macro.
15098         Include test-skeleton.c.
15099         * math/test-tgmath.c (main): Converted to ...
15100         (do_test): ... this.
15101         (TEST_FUNCTION): New macro.
15102         Include test-skeleton.c.
15103         * math/test-tgmath2.c (main): Converted to ...
15104         (do_test): ... this.
15105         (TEST_FUNCTION): New macro.
15106         Include test-skeleton.c.
15107         * setjmp/tst-setjmp.c (main): Converted to ...
15108         (do_test): ... this.
15109         (TEST_FUNCTION): New macro.
15110         Include test-skeleton.c.
15111         * stdio-common/tst-sscanf.c (main): Converted to ...
15112         (do_test): ... this.
15113         (TEST_FUNCTION): New macro.
15114         Include test-skeleton.c.
15115         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15116         (do_test): ... this.
15117         (TEST_FUNCTION): New macro.
15118         Include test-skeleton.c.
15120         * elf/tst-audit9.c (main): Converted to ...
15121         (do_test): ... this.
15122         (TEST_FUNCTION): New macro.
15123         Include test-skeleton.c.
15125 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15127         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15129 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15131         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15132         New variable.
15134 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15136         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15138 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15140         * sysdeps/generic/dl-fileid.h: New file.
15141         * sysdeps/posix/dl-fileid.h: New file.
15142         * sysdeps/nacl/dl-fileid.h: New file.
15143         * include/link.h: Include <dl-fileid.h>.
15144         (struct link_map): Replace l_dev and l_ino with l_file_id.
15145         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15146         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15147         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15149 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15151         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15153 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15155         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15156         Add iff $CXX is set.
15157         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15158         Likewise.
15159         (tst-nodelete-zmodiff): Likewise.
15160         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15162 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15164         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15166 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15168         * sysdeps/aarch64/fpu/math_private.h
15169         (define math_opt_barrier): Add AArch64 version.
15170         (math_force_eval): Likewise.
15172 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15174         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15176 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15178         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15179         %ld with %jd and cast to intmax_t.
15180         (do_test_length_zero): Likewise.
15182 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15184         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15186 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15188         * sysdeps/tile/libm-test-ulps: Regenerated.
15190         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15191         Comment out the whole function, not just its body.
15193 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15196         locks.
15198         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15200 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15202         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15203         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15205 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15207         * sysdeps/nptl/futex-internal.h: New file.
15208         * sysdeps/nacl/futex-internal.h: New file.
15209         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15210         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15211         error checking.
15212         (setxid_unmark_thread): Likewise.
15213         (__nptl_setxid): Likewise.
15214         (__wait_lookup_done): Likewise.
15215         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15216         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15217         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15218         * nptl/pthread_once.c (clear_once_control): Likewise.
15219         (__pthread_once_slow): Likewise.
15220         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15221         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15222         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15223         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15224         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15225         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15226         Likewise.
15227         (__pthread_rwlock_rdlock): Likewise.
15228         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15229         Likewise.
15230         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15231         Likewise.
15232         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15233         Likewise.
15234         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15235         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15236         Likewise.
15237         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15238         __ASSUME_PRIVATE_FUTEX check.
15239         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15240         Check that shared futexes are supported.
15241         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15242         wrappers with error checking.
15243         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15244         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15245         * nptl/pthread_barrierattr_setpshared.c
15246         (pthread_barrierattr_setpshared): Check that shared futexes are
15247         supported.
15248         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15249         Likewise.
15250         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15251         Likewise.
15252         * nptl/sem_init.c (futex_private_if_supported): Remove.
15253         (__new_sem_init): Adapt and check that shared futexes are supported.
15254         * nptl/sem_open.c (sem_open): Likewise.
15255         * nptl/sem_post.c (futex_wake): Remove.
15256         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15257         (do_futex_wait): Use futex wrappers with error checking.
15258         * nptl/sem_wait.c: Include lowlevellock.h.
15259         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15260         Use futex_supports_pshared.
15261         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15262         Use futex wrappers with error checking.
15263         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15264         Likewise.
15265         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15266         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15267         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15268         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15269         (futex_wake): Likewise.
15270         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15271         (do_futex_wait): Use futex wrappers with error checking.
15272         (__new_sem_wait_slow): Update EINTR handling.
15273         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15275 2015-07-09  Martin Sebor  <msebor@redhat.com>
15277         [BZ #18435]
15278         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15279         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15280         * nptl/Makefile (test-xfail-tst-once5): Define.
15282 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15284         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15285         * elf/dl-minimal.c: For readability, reorder some definitions and
15286         introduce more page breaks.  Include <stdio.h>.
15287         (__libc_fatal): New function.
15289         * include/unistd.h: Add rtld_hidden_proto for _exit.
15290         * posix/_exit.c: Add rtld_hidden_def.
15291         * sysdeps/mach/hurd/_exit.c: Likewise.
15292         * sysdeps/nacl/_exit.c: Likewise.
15293         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15294         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15296 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15298         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15299         bndmov encoding with zero displacement.
15301 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15302             H.J. Lu  <hongjiu.lu@intel.com>
15304         [BZ #18134]
15305         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15306         * sysdeps/i386/configure: Regenerated.
15307         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15308         (_dl_runtime_profile): Save and restore Intel MPX return bound
15309         registers when calling _dl_call_pltexit.  Add
15310         PRESERVE_BND_REGS_PREFIX before return.
15311         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15312         (LRV_BND1_OFFSET): Likewise.
15313         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15314         lrv_bnd1.
15315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15316         typo in bndmov encoding.
15317         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15318         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15319         branch instructions to preserve bounds.
15321 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15324         [GLIBC_2.22]: Add fmemopen.
15326 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15328         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15329         returns an error, also try to use host port from __mach_host_self for
15330         the __vm_wire call.
15331         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15333 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15335         [BZ #18400]
15336         [BZ #18648]
15337         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15338         Fix pr_uid and pr_gid members.
15339         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15340         definition to elf_greg_t.
15342 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15344         [BZ #18383]
15345         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15346         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15347         * sysdeps/arm/configure: Regenerated.
15348         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15349         (test-xfail-tst-tlsalign-static): Variable removed.
15351         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15352         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15353         rather than explicit 'ln -s'.
15355         * resolv/rpc/netdb.h: New file.
15356         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15358 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15360         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15361         length buffers.
15362         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15363         test-skeleton.c.
15365         [BZ #6544]
15366         [BZ #11216]
15367         [BZ #12836]
15368         [BZ #13151]
15369         [BZ #13152]
15370         [BZ #14292]
15371         * include/stdio.h (fmemopen): Remove hidden prototype.
15372         (__fmemopen): Add new hidden prototype.
15373         * libio/Makefile: Add oldfmemopen object.
15374         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15375         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15376         compliance.
15377         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15378         symbol compatibility.
15379         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15380         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15381         fmemopen.
15382         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15383         on append and read mode.
15384         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15385         fmemopen.
15386         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15387         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15388         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15389         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15390         Likewise.
15391         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15392         [GLIBC_2.22]: Likewise.
15393         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15394         Likewise.
15395         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15396         Likewise.
15397         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15398         [GLIBC_2.22]: Likewise.
15399         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15400         [GLIBC_2.22]: Likewise.
15401         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15402         [GLIBC_2.22]: Likewise.
15403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15404         [GLIBC_2.22]: Likewise.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15406         [GLIBC_2.22]: Likewise.
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15408         [GLIBC_2.22]: Likewise.
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15410         [GLIBC_2.22]: Likewise.
15411         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15412         Likewise.
15413         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15414         Likewise.
15415         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15416         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15417         [GLIBC_2.22]: Likewise.
15418         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15419         [GLIBC_2.22]: Likewise.
15420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15421         [GLIBC_2.22]: Likewise.
15422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15423         [GLIBC_2.22]: Likewise.
15424         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15425         Likewise.
15426         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15427         Likewise.
15428         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15429         Likewise.
15430         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15431         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15433 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15435         [BZ #18643]
15436         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15437         IPV6_PATHMTU, and IPV6_DONTFRAG.
15439 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15441         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15442         and _IO_UNBUFFERED.
15443         * libio/oldfileops.c: Likewise.
15444         * libio/wfileops.c: Likewise.
15446 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15448         * nscd/selinux.c: Delete selinux/flask.h include.
15450 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15452         [BZ #18641]
15453         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15454         (putpwent): Likewise.
15455         (getpwnam): Likewise.
15456         (getpwent_r): Likewise.
15457         (getpwuid_r): Likewise.
15458         (getpwnam_r): Likewise.
15459         (fgetpwent_r): Likewise.
15461 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15463         [BZ #18557]
15464         * inet/rcmd.c (__validuser2_sa): Check user first to
15465         short-circuit host check.
15467 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15468             Mikhail Ilin  <m.ilin@samsung.com>
15470         [BZ #17833]
15471         * elf/Makefile (tests): Add tst-nodelete.
15472         (modules-names): Add tst-nodelete-uniquemod.
15473         (tst-nodelete-uniquemod.so-no-z-defs): New.
15474         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15475         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15476         ($(objpfx)tst-nodelete): Likewise.
15477         ($(objpfx)tst-nodelete.out): Likewise.
15478         (LDFLAGS-tst-nodelete): Likewise.
15479         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15480         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15481         implement forced object deletion.
15482         (_dl_close): Pass false to _dl_close_worker.
15483         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15484         * elf/tst-nodelete.cc: New file.
15485         * elf/tst-nodeletelib.cc: Likewise.
15486         * elf/tst-znodeletelib.cc: Likewise.
15487         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15489 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15491         [BZ #18508]
15492         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15493         Depend on $(libdl).
15494         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15495         is not called infinitely times.
15496         (backtrace_helper): New function.
15497         (trace_arg): New struct.
15498         (st1): Enlarge stack size.
15499         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15500         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15501         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15502         Likewise.
15504 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15506         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15508 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15510         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15511         Include sys/types.h instead of bits/types.h.
15512         Remove inclusion of bits/wordsize.h.
15514 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15516         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15517         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15518         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15519         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15520         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15521         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15523 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15525         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15526         link-defines.sym.
15527         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15528         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15529         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15530         and LR_SIZE.
15531         * sysdeps/i386/link-defines.sym: New file.
15533 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15535         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15536         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15537         ($(objpfx)tst-audit3): New rule.
15538         ($(objpfx)tst-audit3.out): Likewise.
15539         * sysdeps/i386/tst-audit3.c: New file.
15540         * sysdeps/i386/tst-audit3.h: Likewise.
15541         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15542         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15544 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15546         [BZ #18633]
15547         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15548         pointer in C code.
15549         (__strcat_c): Likewise.
15550         (__strcat_g): Likewise.
15552 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15554         [BZ #18592]
15555         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15557 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15559         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15560         New function.  (__ieee754_sqrtf): New function.
15561         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15562         New function.
15563         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15564         New function.
15566 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15568         * sysdeps/ieee754/support.c: Remove unused file.
15570 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15572         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15573         registers instead of d ones so the layout is kernel abi compatible.
15574         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15575         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15576         Likewise.
15578 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15580         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15582 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15584         [BZ #18619]
15585         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15586         and return argument in case of subnormal argument.
15588 2015-07-01  Martin Sebor  <msebor@redhat.com>
15590         [BZ #18435]
15591         * nptl/Makefile: Add tst-once5.cc.
15592         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15593         Remove macro redefinitions.
15594         * nptl/tst-once5.cc: New test.
15596 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15598         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15600         * sysdeps/arm/libm-test-ulps: Regenerated.
15602         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15603         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15605 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15607         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15608         lll_lock_wait_private and lll_futex_wake probes.
15610         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15612         Likewise.
15613         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15614         atomic_spin_nop.
15615         * sysdeps/x86_64/bits/atomic.h: Likewise.
15616         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15617         to atomic_spin_nop and move ...
15618         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15619         ... here and ...
15620         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15621         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15622         atomic_spin_nop instead of BUSY_WAIT_NOP.
15623         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15624         Likewise.
15625         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15626         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15627         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15628         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15629         instead of atomic_delay.
15631 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #18613]
15634         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15635         X_ADJ not X when adjusting exponent.
15636         (__ieee754_gamma_r): Do intermediate computations in
15637         round-to-nearest then adjust overflowing and underflowing results
15638         as needed.
15639         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15640         of X_ADJ not X when adjusting exponent.
15641         (__ieee754_gammaf_r): Do intermediate computations in
15642         round-to-nearest then adjust overflowing and underflowing results
15643         as needed.
15644         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15645         log of X_ADJ not X when adjusting exponent.
15646         (__ieee754_gammal_r): Do intermediate computations in
15647         round-to-nearest then adjust overflowing and underflowing results
15648         as needed.  Use 1.0L not 1.0f as numerator of division.
15649         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15650         log of X_ADJ not X when adjusting exponent.
15651         (__ieee754_gammal_r): Do intermediate computations in
15652         round-to-nearest then adjust overflowing and underflowing results
15653         as needed.  Use 1.0L not 1.0f as numerator of division.
15654         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15655         of X_ADJ not X when adjusting exponent.
15656         (__ieee754_gammal_r): Do intermediate computations in
15657         round-to-nearest then adjust overflowing and underflowing results
15658         as needed.  Use 1.0L not 1.0f as numerator of division.
15659         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15660         to auto-libm-test-in.
15661         (tgamma_test): Use ALL_RM_TEST.
15662         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15663         tests of tgamma with spurious-overflow.
15664         * math/auto-libm-test-out: Regenerated.
15665         * math/gen-libm-have-vector-test.sh: Do not check for START.
15666         * sysdeps/i386/fpu/libm-test-ulps: Update.
15667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669         [BZ #18612]
15670         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15671         arguments, just return 0.5 times the argument, with underflow
15672         forced as needed.
15673         * math/auto-libm-test-in: Add more tests of j1.
15674         * math/auto-libm-test-out: Regenerated.
15676         [BZ #16559]
15677         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15678         (__ieee754_j1): Force underflow exception for small results.
15679         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15680         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15681         (__ieee754_j1f): Force underflow exception for small results.
15682         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15683         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15684         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15685         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15686         (__ieee754_j1l): Force underflow exception for small results.
15687         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15688         * math/auto-libm-test-in: Add more tests of j1 and jn.
15689         * math/auto-libm-test-out: Regenerated.
15691         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15692         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15693         (PF_MPLS): Likewise.
15694         (AF_IB): Likewise.
15695         (AF_MPLS): Likewise.
15696         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15697         value and macro.
15698         (MS_RMT_MASK): Include MS_LAZYTIME.
15700 2015-06-26  Mel Gorman  <mgorman@suse.de>
15702         [BZ #18502]
15703         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15704         already minimal.
15706 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15708         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15709         (DT_MIPS_NUM): Update.
15710         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15711         DT_MIPS_RLD_MAP_REL.
15713 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15715         [BZ #16559]
15716         [BZ #18602]
15717         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15718         round-to-nearest internally then recompute results that
15719         underflowed to zero in the original rounding mode.
15720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15721         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15724         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15725         * sysdeps/i386/fpu/libm-test-ulps: Update.
15726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15728 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15730         * NEWS: Fixed description of link with vector math library.
15732 2015-06-25  Andreas Schwab  <schwab@suse.de>
15734         [BZ #18549]
15735         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15736         * libio/test-fmemopen.c (do_test): Add test for it.
15738 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15740         [BZ #17841]
15741         * Makeconfig (no-pie-ldflag): New.
15742         (+link): Set to $(+link-pie) if default to PIE.
15743         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15744         * config.make.in (build-pie-default): New.
15745         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15746         is default.  AC_SUBST.
15747         * configure: Regenerated.
15748         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15750 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15752         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15753         to 'unsigned int'.
15755         * resolv/gai_misc.h (struct waitlist): Change type of field
15756         counterp to 'volatile unsigned int *'.
15757         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15758         FUTEXADDR and OLDVAL.
15759         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15760         Give local variable TOTAL type 'volatile unsigned int'.
15761         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15762         * resolv/gai_suspend.c (gai_suspend):
15763         Give local variable CNTR type 'unsigned int'.
15765         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15766         counterp to 'volatile unsigned int *'.
15767         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15768         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15769         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15770         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15771         Give local variable TOTAL type 'volatile unsigned int'.
15772         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15774 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15776         [BZ #18383]
15777         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15778         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15779         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15780         comment for i386/x86-64.
15781         (test-xfail-tst-tlsalign-extern-static): Removed.
15783 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15785         * math/test-double.h: New file.
15786         * math/test-float.h: Likewise.
15787         * math/test-ldouble.h: Likewise.
15788         * math/test-math-inline.h: Likewise.
15789         * math/test-math-no-inline.h: Likewise.
15790         * math/test-math-scalar.h: Likewise.
15791         * math/test-math-vector.h: Likewise.
15792         * math/test-vec-loop.h: Remove file.  Contents moved into
15793         test-math-vector.h.
15794         * math/libm-test.inc (MATHCONST): Do not document macro.
15795         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15796         and test-math-scalar.h.
15797         (FUNC): Remove macro.
15798         (FUNC_TEST): Likewise.
15799         (FLOAT): Likewise.
15800         (MATHCONST): Likewise.
15801         (PRINTF_EXPR): Likewise.
15802         (PRINTF_XEXPR): Likewise.
15803         (PRINTF_NEXPR): Likewise.
15804         (TEST_DOUBLE): Likewise.
15805         (TEST_MATHVEC): Likewise.
15806         (__NO_MATH_INLINES): Likewise.
15807         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15808         and test-math-scalar.h.
15809         (FUNC): Remove macro.
15810         (FUNC_TEST): Likewise.
15811         (FLOAT): Likewise.
15812         (MATHCONST): Likewise.
15813         (PRINTF_EXPR): Likewise.
15814         (PRINTF_XEXPR): Likewise.
15815         (PRINTF_NEXPR): Likewise.
15816         (TEST_FLOAT): Likewise.
15817         (TEST_MATHVEC): Likewise.
15818         (__NO_MATH_INLINES): Likewise.
15819         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15820         and test-math-scalar.h.
15821         (FUNC): Remove macro.
15822         (FUNC_TEST): Likewise.
15823         (FLOAT): Likewise.
15824         (MATHCONST): Likewise.
15825         (PRINTF_EXPR): Likewise.
15826         (PRINTF_XEXPR): Likewise.
15827         (PRINTF_NEXPR): Likewise.
15828         (TEST_DOUBLE): Likewise.
15829         (TEST_MATHVEC): Likewise.
15830         (TEST_INLINE): Likewise.
15831         (__NO_MATH_INLINES): Likewise.
15832         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15833         test-math-scalar.h.
15834         (FUNC): Remove macro.
15835         (FUNC_TEST): Likewise.
15836         (FLOAT): Likewise.
15837         (MATHCONST): Likewise.
15838         (PRINTF_EXPR): Likewise.
15839         (PRINTF_XEXPR): Likewise.
15840         (PRINTF_NEXPR): Likewise.
15841         (TEST_FLOAT): Likewise.
15842         (TEST_MATHVEC): Likewise.
15843         (TEST_INLINE): Likewise.
15844         (__NO_MATH_INLINES): Likewise.
15845         * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
15855         (TEST_MATHVEC): Likewise.
15856         (TEST_INLINE): Likewise.
15857         (__NO_MATH_INLINES): Likewise.
15858         * math/test-ldouble.c: Include test-ldouble.h,
15859         test-math-no-inline.h and test-math-scalar.h.
15860         (FUNC): Remove macro.
15861         (FUNC_TEST): Likewise.
15862         (FLOAT): Likewise.
15863         (MATHCONST): Likewise.
15864         (PRINTF_EXPR): Likewise.
15865         (PRINTF_XEXPR): Likewise.
15866         (PRINTF_NEXPR): Likewise.
15867         (TEST_LDOUBLE): Likewise.
15868         (TEST_MATHVEC): Likewise.
15869         (__NO_MATH_INLINES): Likewise.
15870         * math/test-double-vlen2.h: Include test-double.h,
15871         test-math-no-inline.h and test-math-vector.h.
15872         (FLOAT): Remove macro.
15873         (FUNC): 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         (__NO_MATH_INLINES): Likewise.
15881         (CNCT): Likewise.
15882         (CONCAT): Likewise.
15883         (WRAPPER_NAME): Likewise.
15884         (WRAPPER_DECL): Likewise.
15885         (WRAPPER_DECL_ff): Likewise.
15886         (WRAPPER_DECL_fFF): Likewise.
15887         (VECTOR_WRAPPER): Likewise.
15888         (VECTOR_WRAPPER_ff): Likewise.
15889         (VECTOR_WRAPPER_fFF): Likewise.
15890         (VEC_LEN): New macro.
15891         * math/test-double-vlen4.h: Include test-double.h,
15892         test-math-no-inline.h and test-math-vector.h.
15893         (FLOAT): Remove macro.
15894         (FUNC): Likewise.
15895         (MATHCONST): Likewise.
15896         (PRINTF_EXPR): Likewise.
15897         (PRINTF_XEXPR): Likewise.
15898         (PRINTF_NEXPR): Likewise.
15899         (TEST_DOUBLE): Likewise.
15900         (TEST_MATHVEC): Likewise.
15901         (__NO_MATH_INLINES): Likewise.
15902         (CNCT): Likewise.
15903         (CONCAT): Likewise.
15904         (WRAPPER_NAME): Likewise.
15905         (WRAPPER_DECL): Likewise.
15906         (WRAPPER_DECL_ff): Likewise.
15907         (WRAPPER_DECL_fFF): Likewise.
15908         (VECTOR_WRAPPER): Likewise.
15909         (VECTOR_WRAPPER_ff): Likewise.
15910         (VECTOR_WRAPPER_fFF): Likewise.
15911         (VEC_LEN): New macro.
15912         * math/test-double-vlen8.h: Include test-double.h,
15913         test-math-no-inline.h and test-math-vector.h.
15914         (FLOAT): Remove macro.
15915         (FUNC): Likewise.
15916         (MATHCONST): Likewise.
15917         (PRINTF_EXPR): Likewise.
15918         (PRINTF_XEXPR): Likewise.
15919         (PRINTF_NEXPR): Likewise.
15920         (TEST_DOUBLE): Likewise.
15921         (TEST_MATHVEC): Likewise.
15922         (__NO_MATH_INLINES): Likewise.
15923         (CNCT): Likewise.
15924         (CONCAT): Likewise.
15925         (WRAPPER_NAME): Likewise.
15926         (WRAPPER_DECL): Likewise.
15927         (WRAPPER_DECL_ff): Likewise.
15928         (WRAPPER_DECL_fFF): Likewise.
15929         (VECTOR_WRAPPER): Likewise.
15930         (VECTOR_WRAPPER_ff): Likewise.
15931         (VECTOR_WRAPPER_fFF): Likewise.
15932         (VEC_LEN): New macro.
15933         * math/test-float-vlen4.h: Include test-float.h,
15934         test-math-no-inline.h and test-math-vector.h.
15935         (FLOAT): Remove macro.
15936         (FUNC): Likewise.
15937         (MATHCONST): Likewise.
15938         (PRINTF_EXPR): Likewise.
15939         (PRINTF_XEXPR): Likewise.
15940         (PRINTF_NEXPR): Likewise.
15941         (TEST_FLOAT): Likewise.
15942         (TEST_MATHVEC): Likewise.
15943         (__NO_MATH_INLINES): Likewise.
15944         (CNCT): Likewise.
15945         (CONCAT): Likewise.
15946         (WRAPPER_NAME): Likewise.
15947         (WRAPPER_DECL): Likewise.
15948         (WRAPPER_DECL_ff): Likewise.
15949         (WRAPPER_DECL_fFF): Likewise.
15950         (VECTOR_WRAPPER): Likewise.
15951         (VECTOR_WRAPPER_ff): Likewise.
15952         (VECTOR_WRAPPER_fFF): Likewise.
15953         (VEC_LEN): New macro.
15954         * math/test-float-vlen8.h: Include test-float.h,
15955         test-math-no-inline.h and test-math-vector.h.
15956         (FLOAT): Remove macro.
15957         (FUNC): Likewise.
15958         (MATHCONST): Likewise.
15959         (PRINTF_EXPR): Likewise.
15960         (PRINTF_XEXPR): Likewise.
15961         (PRINTF_NEXPR): Likewise.
15962         (TEST_FLOAT): Likewise.
15963         (TEST_MATHVEC): Likewise.
15964         (__NO_MATH_INLINES): Likewise.
15965         (CNCT): Likewise.
15966         (CONCAT): Likewise.
15967         (WRAPPER_NAME): Likewise.
15968         (WRAPPER_DECL): Likewise.
15969         (WRAPPER_DECL_ff): Likewise.
15970         (WRAPPER_DECL_fFF): Likewise.
15971         (VECTOR_WRAPPER): Likewise.
15972         (VECTOR_WRAPPER_ff): Likewise.
15973         (VECTOR_WRAPPER_fFF): Likewise.
15974         (VEC_LEN): New macro.
15975         * math/test-float-vlen16.h: Include test-float.h,
15976         test-math-no-inline.h and test-math-vector.h.
15977         (FLOAT): Remove macro.
15978         (FUNC): Likewise.
15979         (MATHCONST): Likewise.
15980         (PRINTF_EXPR): Likewise.
15981         (PRINTF_XEXPR): Likewise.
15982         (PRINTF_NEXPR): Likewise.
15983         (TEST_FLOAT): Likewise.
15984         (TEST_MATHVEC): Likewise.
15985         (__NO_MATH_INLINES): Likewise.
15986         (CNCT): Likewise.
15987         (CONCAT): Likewise.
15988         (WRAPPER_NAME): Likewise.
15989         (WRAPPER_DECL): Likewise.
15990         (WRAPPER_DECL_ff): Likewise.
15991         (WRAPPER_DECL_fFF): Likewise.
15992         (VECTOR_WRAPPER): Likewise.
15993         (VECTOR_WRAPPER_ff): Likewise.
15994         (VECTOR_WRAPPER_fFF): Likewise.
15995         (VEC_LEN): New macro.
15996         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15997         test-vec-loop.h.
15998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15999         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16001         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16002         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16004         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16006 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16008         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16009         (__getlogin_r): ... this.
16011 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16013         [BZ #18594]
16014         * math/s_ccosh.c (__ccosh): Compare with least normal value
16015         instead of comparing class with FP_SUBNORMAL.
16016         * math/s_ccoshf.c (__ccoshf): Likewise.
16017         * math/s_ccoshl.c (__ccoshl): Likewise.
16018         * math/s_cexp.c (__cexp): Likewise.
16019         * math/s_cexpf.c (__cexpf): Likewise.
16020         * math/s_cexpl.c (__cexpl): Likewise.
16021         * math/s_csin.c (__csin): Likewise.
16022         * math/s_csinf.c (__csinf): Likewise.
16023         * math/s_csinh.c (__csinh): Likewise.
16024         * math/s_csinhf.c (__csinhf): Likewise.
16025         * math/s_csinhl.c (__csinhl): Likewise.
16026         * math/s_csinl.c (__csinl): Likewise.
16027         * math/s_ctan.c (__ctan): Likewise.
16028         * math/s_ctanf.c (__ctanf): Likewise.
16029         * math/s_ctanh.c (__ctanh): Likewise.
16030         * math/s_ctanhf.c (__ctanhf): Likewise.
16031         * math/s_ctanhl.c (__ctanhl): Likewise.
16032         * math/s_ctanl.c (__ctanl): Likewise.
16033         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16034         csin, csinh, ctan and ctanh.
16035         * math/auto-libm-test-out: Regenerated.
16036         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16037         * sysdeps/i386/fpu/libm-test-ulps: Update.
16038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16040 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16042         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16043         return value is wrong, print the expected value too.
16045 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16047         [BZ #18585]
16048         * elf/readlib.c (is_gdb_python_file): New.
16049         (process_file): Don't issue errors on filenames with -gdb.py
16050         suffix.
16052 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16054         * math/auto-libm-test-in: Add more tests of csin and csinh.
16055         * math/auto-libm-test-out: Regenerated.
16056         * math/libm-test.inc (csin_test_data): Remove tests moved to
16057         auto-libm-test-in.
16058         (csinh_test_data): Likewise.
16060         [BZ #18593]
16061         * math/s_csin.c (__csin): Negate before rather than after possibly
16062         overflowing multiplication.
16063         * math/s_csinf.c (__csinf): Likewise.
16064         * math/s_csinh.c (__csinh): Likewise.
16065         * math/s_csinhf.c (__csinhf): Likewise.
16066         * math/s_csinhl.c (__csinhl): Likewise.
16067         * math/s_csinl.c (__csinl): Likewise.
16068         * math/auto-libm-test-in: Add some tests of csin and csinh.
16069         * math/auto-libm-test-out: Regenerated.
16070         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16071         (csinh_test_data): Likewise.
16072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16074         [BZ #18586]
16075         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16076         underflow exception for small results.
16078 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16080         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16081         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16082         variable and included header.
16083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16085         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16086         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16091         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16092         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16093         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16094         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16095         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16096         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16097         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16098         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16100 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16102         [BZ #16526]
16103         [BZ #16538]
16104         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16105         (__sin): Force underflow exception for arguments with small
16106         absolute value.
16107         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16108         (__kernel_sinf): Force underflow exception for arguments with
16109         small absolute value.
16110         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16111         (__kernel_sincosl): Force underflow exception for arguments with
16112         small absolute value.
16113         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16114         (__kernel_sinl): Force underflow exception for arguments with
16115         small absolute value.
16116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16117         (__kernel_sincosl): Force underflow exception for arguments with
16118         small absolute value.
16119         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16120         (__kernel_sinl): Force underflow exception for arguments with
16121         small absolute value.
16122         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16123         (__kernel_sinl): Force underflow exception for arguments with
16124         small absolute value.
16125         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16126         (__kernel_sinf): Force underflow exception for arguments with
16127         small absolute value.
16128         * math/auto-libm-test-in: Add more tests of sin and sincos.
16129         * math/auto-libm-test-out: Regenerated.
16131         [BZ #18245]
16132         [BZ #18583]
16133         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16134         (__kernel_standard_l): Use feholdexcept and fesetenv around
16135         conversion to double instead of special-casing overflow and
16136         underflow.
16137         * math/libm-test.inc (fmod_test_data): Add more tests.
16138         (remainder_test_data): Likewise.
16139         (sqrt_test_data): Likewise.
16141 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16143         [BZ #17403]
16144         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16145         atomic_read_barrier, atomic_write_barrier): Define.
16146         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16147         atomic_read_barrier, atomic_write_barrier): Define.
16149 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16151         * math/Makefile [$(PERL) != no]
16152         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16153         dependency on libm-test.stmp below the inclusion of Rules.
16155 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16157         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16159         and included header.
16160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16162         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16165         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16166         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16168         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16169         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16170         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16171         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16172         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16173         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16174         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16175         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16176         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16177         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16178         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16180 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #18371]
16183         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16184         intermediate but not final result might underflow.
16185         * math/s_csqrtf.c (__csqrtf): Likewise.
16186         * math/s_csqrtl.c (__csqrtl): Likewise.
16187         * math/auto-libm-test-in: Add more tests of csqrt.
16188         * math/auto-libm-test-out: Regenerated.
16189         * sysdeps/i386/fpu/libm-test-ulps: Update.
16191         [BZ #18219]
16192         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16193         threshold on absolute value of exponent for which scaling is used.
16194         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16195         * math/auto-libm-test-in: Add more tests of exp2.
16196         * math/auto-libm-test-out: Regenerated.
16198 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16200         [BZ #17977]
16201         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16202         when initializing interface list, based on the bug analysis
16203         and the patch proposed by Eric Newton.
16204         * resolv/tst-res_hconf_reorder.c: New test.
16205         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16206         tst-res_hconf_reorder.
16207         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16208         and $(shared-thread-library).
16209         (tst-res_hconf_reorder-ENV): New variable.
16211         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16212         in comment.
16214 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16216         [BZ #16353]
16217         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16218         (__expm1): Force underflow exception for arguments with small
16219         absolute value.
16220         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16221         (__expm1f): Force underflow exception for arguments with small
16222         absolute value.
16223         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16224         (__expm1): Force underflow exception for arguments with small
16225         absolute value.
16226         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16227         (__expm1f): Force underflow exception for arguments with small
16228         absolute value.
16229         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16230         Check for small arguments before calling __expm1.
16231         * math/auto-libm-test-in: Do not mark underflow exceptions as
16232         possibly missing for bug 16353.
16233         * math/auto-libm-test-out: Regenerated.
16235 2015-06-22  Andreas Schwab  <schwab@suse.de>
16237         [BZ #18513]
16238         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16239         PTR queries.
16241 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16243         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16245         * string/strcoll_l.c: Remove unused struct element idxnow.
16247 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16249         [BZ #18569]
16250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16251         underflow and return argument in case of subnormal argument.
16252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16253         Likewise.
16254         * math/auto-libm-test-in: Add more tests of expm1.
16255         * math/auto-libm-test-out: Regenerated.
16257         [BZ #16361]
16258         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16259         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16260         tiny results.
16261         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16262         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16263         tiny results.
16264         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16265         mark underflow exceptions as possibly missing for bug 16361.
16266         * math/auto-libm-test-out: Regenerated.
16268 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16270         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16271         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16272         Remove variable.
16273         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16274         (test-xfail-XOPEN2K8/utmpx.h/conform).
16276         * conform/conformtest.pl ($xerrors): New variable.
16277         (note_error): New function.
16278         (compiletest): New argument $xfail.  Use not_error.
16279         (runtest): Likewise.
16280         (top level): Handle xfail- lines.  Update calls to compiletest and
16281         runtest.  Handle xfail- and optional- in headers listed with
16282         allow-header.
16283         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16284         (O_EXEC): Likewise.
16285         (O_SEARCH): Likewise.
16286         * conform/data/stropts.h-data (ioctl): Likewise.
16287         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16288         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16289         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16290         (msghdr.msg_controllen): Likewise.
16291         (cmsghdr.cmsg_len): Likewise.
16292         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16293         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16294         variable.
16295         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16296         (test-xfail-XPG4/stropts.h/conform): Likewise.
16297         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16298         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16299         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16300         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16301         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16302         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16303         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16304         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16305         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16306         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16307         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16308         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16309         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16310         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16311         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16312         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16313         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16314         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16315         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16317 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16319         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16320         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16321         definitions for proper unfolding of __MATHDECL_VEC.
16323 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16325         * benchtests/bench-strcoll.c:
16326         Include string.h.
16327         (main): Remove unused variable res.
16329 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16331         * timezone/Makefile (%/UTC %/Universal):
16332         Generate test-result files for UTC and Universal.
16334 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16336         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16338 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16340         [BZ #16350]
16341         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16342         for arguments with small absolute value.
16343         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16344         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16345         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16346         (__asinh): Force underflow exception for arguments with small
16347         absolute value.
16348         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16349         (__asinhf): Force underflow exception for arguments with small
16350         absolute value.
16351         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16352         (__asinhl): Force underflow exception for arguments with small
16353         absolute value.
16354         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16355         (__asinhl): Force underflow exception for arguments with small
16356         absolute value.
16357         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16358         (__asinhl): Force underflow exception for arguments with small
16359         absolute value.
16360         * math/auto-libm-test-in: Do not mark underflow exceptions as
16361         possibly missing for bug 16350.
16362         * math/auto-libm-test-out: Regenerated.
16364         * include/bits/ipc.h: Remove file.
16365         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16366         variable.
16367         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16368         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16369         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16370         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16371         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16372         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16373         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16374         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16375         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16377         * math/auto-libm-test-in: Remove spurious underflow allowance for
16378         tests of cexp.
16379         * math/auto-libm-test-out: Regenerated.
16381         [BZ #18558]
16382         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16383         unconditional definition.
16384         (MCAST_BLOCK_SOURCE): Likewise.
16385         (MCAST_UNBLOCK_SOURCE): Likewise.
16386         (MCAST_LEAVE_GROUP): Likewise.
16387         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16388         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16389         (MCAST_MSFILTER): Likewise.
16390         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16391         Remove variable.
16392         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16393         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16394         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16395         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16396         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16398 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16400         * NEWS: Mention addition of x86_64 vector sincosf.
16401         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16402         * math/test-float-vlen4.h: Likewise.
16403         * math/test-float-vlen8.h: Likewise.
16404         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16405         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16407         * sysdeps/x86_64/fpu/Versions: New versions added.
16408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16409         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16410         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16417         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16418         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16419         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16420         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16421         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16422         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16423         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16424         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16425         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16426         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16427         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16430         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16431         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16433         * NEWS: Mention addition of x86_64 vector sincos.
16434         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16435         * math/math.h (__MATHDECL_VEC): New macro.
16436         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16437         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16438         declaration under condition.
16439         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16440         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16441         TEST_VEC_LOOP change.
16442         * math/test-double-vlen4.h: Likewise.
16443         * math/test-double-vlen8.h: Likewise.
16444         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16445         * math/test-float-vlen4.h: Likewise.
16446         * math/test-float-vlen8.h: Likewise.
16447         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16448         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16449         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16450         * sysdeps/x86_64/fpu/Versions: New versions added.
16451         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16452         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16453         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16456         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16457         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16458         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16460         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16461         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16462         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16463         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16464         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16465         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16466         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16468         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16471         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16472         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16473         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16474         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16478         redirections for powf.
16479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16480         * sysdeps/x86_64/fpu/Versions: New versions added.
16481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16483         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16484         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16488         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16489         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16490         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16491         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16492         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16493         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16494         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16495         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16496         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16497         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16498         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16499         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16500         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16503         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16504         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16505         * math/test-float-vlen16.h: Fixed 2 argument macro.
16506         * math/test-float-vlen4.h: Likewise.
16507         * math/test-float-vlen8.h: Likewise.
16508         * NEWS: Mention addition of x86_64 vector powf.
16510 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16512         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16513         and redefine.
16514         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16515         and redefine.
16516         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16520         [BZ #18553]
16521         * resource/getpriority.c (getpriority): Rename to __getpriority
16522         and define as weak alias of __getpriority.
16523         * resource/setpriority.c (setpriority): Rename to __setpriority
16524         and define as weak alias of __setpriority.
16525         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16526         __getpriority and define as weak alias of __getpriority.
16527         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16528         __setpriority and define as weak alias of __setpriority.
16529         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16530         strong name.
16531         (setpriority): Use __setpriority as strong name.
16532         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16533         __getpriority and define as weak alias of __getpriority.
16534         * include/sys/resource.h (__getpriority): Declare.  Use
16535         libc_hidden_proto.
16536         (__setpriority): Likewise.
16537         (getpriority): Don't use libc_hidden_proto.
16538         (setpriority): Likewise.
16539         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16540         getpriority.  Call __setpriority instead of setpriority.
16541         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16542         Remove variable.
16544         [BZ #18547]
16545         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16546         as weak alias of __getttynam.  Use prototype function definition.
16547         Call __setttyent, __getttyent and __endttyent instead of
16548         setttyent, getttyent and endttyent.
16549         (getttyent): Rename to __getttyent and define as weak alias of
16550         __getttyent.  Call __setttyent instead of setttyent.  Call
16551         __fgets_unlocked instead of fgets_unlocked.
16552         (setttyent): Rename to __setttyent and define as weak alias of
16553         __setttyent.
16554         (endttyent): Rename to __endttyent and define as weak alias of
16555         __endttyent.
16556         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16557         (__setttyent): Likewise.
16558         (__endttyent): Likewise.
16559         (getttyent): Don't use libc_hidden_proto.
16560         (setttyent): Likewise.
16561         (endttyent): Likewise.
16562         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16563         __endttyent instead of setttyent, getttyent and endttyent.
16564         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16565         Remove variable.
16567         [BZ #18546]
16568         * socket/recv.c (__recv): Use libc_hidden_def.
16569         * socket/socket.c (__socket): Likewise.
16570         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16571         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16572         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16573         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16574         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16575         libc_hidden_def.
16576         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16577         libc_hidden_weak.
16578         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16579         Use libc_hidden_proto.
16580         (__recv): Likewise.
16581         * socket/Versions (libc): Export __recv and __socket at version
16582         GLIBC_PRIVATE.
16583         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16584         instead of recv.
16585         (init_mq_netlink): Call __socket instead of socket.
16586         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16587         Remove variable.
16589         [BZ #18545]
16590         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16591         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16592         hidden_weak.
16593         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16594         define as alias of __mq_timedsend.  Use hidden_weak.
16595         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16596         __mq_timedsend as strong name.
16597         (mq_timedreceive): Use __mq_timedreceive as strong name.
16598         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16599         (__mq_timedreceive): Likewise.
16600         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16601         __mq_timedreceive instead of mq_timedreceive.
16602         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16603         instead of mq_timedsend.
16604         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16605         Remove variable.
16607         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16608         hidden_def and hidden_weak instead of libc_hidden_def and
16609         libc_hidden_weak.
16610         (top level): Refer to hidden_def in comment.
16611         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16612         macro.  Use it instead of libc_hidden_def.
16613         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16614         specify __GI_* name explicitly.
16615         (mq_timedreceive): Likewise.
16616         (mq_setattr): Likewise.
16618         [BZ #18544]
16619         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16620         __pthread_barrier_init and define as weak alias of
16621         __pthread_barrier_init.
16622         * sysdeps/sparc/nptl/pthread_barrier_init.c
16623         (pthread_barrier_init): Likewise.
16624         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16625         __pthread_barrier_wait and define as weak alias of
16626         __pthread_barrier_wait.
16627         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16628         (pthread_barrier_wait): Likewise.
16629         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16630         (pthread_barrier_wait): Likewise.
16631         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16632         (pthread_barrier_wait): Likewise.
16633         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16634         (pthread_barrier_wait): Likewise.
16635         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16636         __pthread_barrier_wait at version GLIBC_PRIVATE.
16637         * include/pthread.h (__pthread_barrier_init): Declare.
16638         (__pthread_barrier_wait): Likewise.
16639         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16640         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16641         (helper_thread): Likewise.
16642         (init_mq_netlink): Call __pthread_barrier_init instead of
16643         pthread_barrier_init.
16645         [BZ #18542]
16646         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16647         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16648         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16649         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16650         vswscanf.
16651         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16652         Remove variable.
16654         [BZ #18540]
16655         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16656         strong alias of _IO_fflush.  Use libc_hidden_def.
16657         * libio/iofflush_u.c (fflush_unlocked): Rename to
16658         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16659         Use libc_hidden_weak.
16660         * include/stdio.h (__fflush_unlocked): Declare.  Use
16661         libc_hidden_proto.
16662         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16663         fflush_unlocked.
16664         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16665         Remove variable.
16667         [BZ #18539]
16668         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16669         define as weak alias of __addseverity.
16670         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16671         Remove variable.
16672         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16673         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16674         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16676         [BZ #18536]
16677         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16678         (__tfind): Likewise.
16679         (__tdelete): Likewise.
16680         (__twalk): Likewise.
16681         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16682         __twalk to GLIBC_PRIVATE.
16683         * include/search.h (__tsearch): Use libc_hidden_proto.
16684         (__tfind): Likewise.
16685         (__tdelete): Likewise.
16686         (__twalk): Likewise.
16687         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16688         Call __tdelete instead of tdelete.
16689         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16690         tfind.  Call __tsearch instead of tsearch.
16691         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16692         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16693         Remove variable.
16694         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16696         [BZ #18534]
16697         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16698         (dprintf): Define as a weak alias of __dprintf, not a strong
16699         alias.
16700         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16701         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16702         dprintf.
16703         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16704         Remove variable.
16705         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16706         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16708         [BZ #18533]
16709         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16710         not a strong alias.
16711         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16712         Remove variable.
16714         [BZ #18532]
16715         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16716         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16717         (in6addr_loopback): Rename to __in6addr_loopback and define as
16718         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16719         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16720         libc_hidden_proto.
16721         (__in6addr_any): Likewise.
16722         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16723         in6addr_any.
16724         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16725         variable.
16726         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16728 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16730         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16731         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16734         redirections for pow.
16735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16736         * sysdeps/x86_64/fpu/Versions: New versions added.
16737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16738         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16739         build of SSE, AVX2 and AVX512 IFUNC versions.
16740         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16743         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16744         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16747         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16748         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16749         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16750         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16751         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16752         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16753         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16754         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16757         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16758         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16759         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16760         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16761         * NEWS: Mention addition of x86_64 vector pow.
16763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16765         redirections for expf.
16766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16767         * sysdeps/x86_64/fpu/Versions: New versions added.
16768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16770         build of SSE, AVX2 and AVX512 IFUNC versions.
16771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16777         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16778         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16779         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16780         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16781         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16782         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16791         * NEWS: Mention addition of x86_64 vector expf.
16793         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16794         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16796         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16797         redirections for exp.
16798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16799         * sysdeps/x86_64/fpu/Versions: New versions added.
16800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16802         build of SSE, AVX2 and AVX512 IFUNC versions.
16803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16808         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16809         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16810         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16811         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16812         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16813         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16814         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16815         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16816         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16817         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16819         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16821         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16822         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16823         * NEWS: Mention addition of x86_64 vector exp.
16825         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16826         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16827         redirections for logf.
16828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16829         * sysdeps/x86_64/fpu/Versions: New versions added.
16830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16832         build of SSE, AVX2 and AVX512 IFUNC versions.
16833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16834         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16836         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16839         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16840         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16841         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16842         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16843         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16844         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16845         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16846         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16847         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16848         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16849         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16851         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16852         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16853         * NEWS: Mention addition of x86_64 vector logf.
16855         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16856         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16857         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16858         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16859         redirections for log.
16860         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16861         * sysdeps/x86_64/fpu/Versions: New versions added.
16862         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16863         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16864         build of SSE, AVX2 and AVX512 IFUNC versions.
16865         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16866         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16867         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16868         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16869         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16871         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16872         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16873         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16874         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16875         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16876         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16877         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16878         test.
16879         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16880         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16882         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16883         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16884         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16885         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16886         * NEWS: Mention addition of x86_64 vector log.
16888 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16890         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16891         cfi_adjust_cfa_offset argument.
16892         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16893         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16895         [BZ #18034]
16896         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16897         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16898         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16899         ordering using ldar.
16900         (_dl_tlsdesc_dynamic): Likewise.
16901         (_dl_tlsdesc_return_lazy): Likewise.
16902         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16903         relaxed atomics instead of volatile and synchronize with release store.
16904         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16905         volatile.
16906         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16908 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16910         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16911         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16912         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16913         * sysdeps/x86_64/fpu/Versions: New versions added.
16914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16915         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16916         build of SSE, AVX2 and AVX512 IFUNC versions.
16917         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16921         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16922         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16923         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16924         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16925         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16926         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16927         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16928         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16929         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16930         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16931         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16932         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16933         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16935         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16936         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16937         * NEWS: Mention addition of x86_64 vector sinf.
16939 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16941         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16942         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16943         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16944         Remove variable.
16945         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16946         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16948 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16950         [BZ #18530]
16951         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16952         strong alias of _IO_fputs.  Use libc_hidden_def.
16953         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16954         and define as weak alias of __fputs_unlocked.  Use
16955         libc_hidden_weak.
16956         * include/stdio.h (__fputs_unlocked): Declare.  Use
16957         libc_hidden_proto.
16958         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16959         fputs_unlocked.
16961         [BZ #18529]
16962         * resolv/netdb.h [__USE_POSIX]: Change condition to
16963         [__USE_XOPEN2K].
16964         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16965         not expect.
16966         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16967         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16968         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16969         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16970         [XPG4 || UNIX98] (AI_ALL): Likewise.
16971         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16972         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16973         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16974         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16975         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16976         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16977         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16978         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16979         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16980         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16981         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16982         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16983         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16984         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16985         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16986         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16987         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16988         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16989         [XPG4 || UNIX98] (gai_strerror): Likewise.
16990         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16991         [XPG4 || UNIX98] (getnameinfo): Likewise.
16993         [BZ #18528]
16994         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16995         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16996         __USE_XOPEN2K8].
16997         (getgrent): Likewise.
16998         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16999         expect.
17000         [XPG3 || POSIX2008] (endgrent): Likewise.
17001         [XPG3] (setgrent): Likewise.
17002         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17003         variable.
17004         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17006         [BZ #18527]
17007         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17008         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17009         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17010         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17011         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17012         * include/unistd.h (__getlogin_r): Declare.  Use
17013         libc_hidden_proto.
17014         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17015         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17016         variable.
17017         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17018         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17019         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17021 2015-06-12  Martin Sebor  <msebor@redhat.com>
17023         [BZ #18512]
17024         * Makerules (check-install-supported): New target.
17025         (install): Add check-install-supported as a dependency.
17026         * manual/install.texi (Installing the C Library): Document
17027         that overriding prefix and exec_prefix is not supported.
17028         Mention DESTDIR.
17029         * INSTALL: Regenerate from the above.
17031 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #18519]
17034         * posix/Versions (libc): Export __libc_pread at version
17035         GLIBC_PRIVATE.
17036         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17037         instead of pread.
17038         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17039         variable.
17041         [BZ #18522]
17042         * misc/efgcvt_r.c
17043         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17044         (cvt_symbol): Use weak_alias instead of strong_alias.
17045         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17046         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17047         Remove variable.
17048         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17049         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17051         [BZ #18520]
17052         * inet/herrno.c (h_errno): Rename to __h_errno.
17053         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17054         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17055         to __h_errno instead of h_errno.
17056         * nptl/herrno.c (h_errno): Rename to __h_errno.
17057         (__h_errno_location): Refer to __h_errno not h_errno.
17058         * resolv/Versions (h_errno): Rename to __h_errno.
17059         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17060         Remove variable.
17061         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17063 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17065         * configure.ac: More strict check for AVX512 assembler support.
17066         * configure: Regenerated.
17068         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17069         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17070         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17071         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17073         * sysdeps/x86_64/fpu/Versions: New versions added.
17074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17076         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17077         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17078         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17083         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17084         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17085         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17086         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17087         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17088         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17090         test.
17091         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17094         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17095         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17096         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17097         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17098         * NEWS: Mention addition of x86_64 vector sin.
17100 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17102         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17103         comment.
17105 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17107         [BZ #18479]
17108         * nptl/pt-interp.c: New file.
17109         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17110         Add pt-interp.
17111         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17112         $(common-objpfx)runtime-linker.h.
17114 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17116         * Makeconfig (+interp): Remove unused variable.
17117         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17118         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17119         $(elf-objpfx)runtime-linker.h.
17120         ($(elf-objpfx)runtime-linker.h): Rename to
17121         $(common-objpfx)runtime-linker.h and move ...
17122         * Makerules [$(build-shared) = yes]: ... here.
17123         * elf/interp.c: Include <runtime-linker.h> instead of
17124         <elf/runtime-linker.h>.
17126 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17128         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17129         (__gettimeofday_syscall): Remove vsyscall fallback.
17130         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17131         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17132         Add syscall fallback function.
17133         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17134         if vDSO is not present.
17135         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17136         fallback function.
17137         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17138         present.
17139         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17140         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17142 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17144         [BZ #18497]
17145         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17146         of wcscmp.
17147         (wcscmp): Define as weak alias of WCSCMP.
17148         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17149         wcscoll.
17150         (USE_HIDDEN_DEF): Define.
17151         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17152         __wcscoll.  Don't use libc_hidden_weak.
17153         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17154         wcscmp.
17155         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17156         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17157         __GI_wcscmp.
17158         (weak_alias): Undefine and redefine.
17159         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17160         __wcscmp and define as weak alias of __wcscmp.
17161         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17162         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17163         (__wcscoll): Likewise.
17164         (wcscmp): Don't use libc_hidden_proto.
17165         (wcscoll): Likewise.
17166         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17167         wcscoll.
17168         * posix/regexec.c (check_node_accept_bytes): Likewise.
17169         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17170         variable.
17171         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17172         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17174         [BZ #18507]
17175         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17176         __fstatvfs and define as weak alias of __fstatvfs.  Use
17177         libc_hidden_weak.
17178         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17179         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17180         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17181         Define as alias of __fstatvfs, not fstatvfs.
17182         (fstatvfs64): Likewise.
17183         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17184         Define as alias of __statvfs, not statvfs.
17185         (statvfs64): Likewise.
17186         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17187         Remove variable.
17189 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17192         (HAVE_GETCPU_VSYSCALL): Define.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17194         (HAVE_GETCPU_VSYSCALL): Likewise.
17195         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17196         * sysdeps/unix/sysv/linux/sched_getcpu.c
17197         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17198         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17199         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17200         prototype.
17201         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17202         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17203         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17205         Define.
17206         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17208         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17209         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17211 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17213         * sysdeps/x86_64/fpu/Makefile: New file.
17214         * sysdeps/x86_64/fpu/Versions: New file.
17215         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17216         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17217         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17218         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17219         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17220         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17221         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17222         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17223         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17229         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17230         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17231         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17232         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17233         * sysdeps/x86_64/configure: Regenerated.
17234         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17236         * manual/install.texi (Configuring and compiling): Document
17237         --disable-mathvec.
17238         * INSTALL: Regenerated.
17239         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17241         * math/Makefile: Added rules for vector tests.
17242         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17243         declaration under condition.
17244         * math/test-double-vlen2.h: New file.
17245         * math/test-double-vlen4.h: New file.
17246         * math/test-double-vlen8.h: New file.
17247         * math/test-vec-loop.h: Added initialization macro.
17248         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17249         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17250         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17251         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17252         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17255         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17256         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17257         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17258         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17261         * sysdeps/x86_64/fpu/Versions: New versions added.
17262         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17265         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17266         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17269         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17271         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17272         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17273         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17274         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17275         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17276         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17277         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17278         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17279         * NEWS: Mention addition of x86_64 vector cosf.
17281         * math/Makefile: Added CFLAGS for new tests.
17282         * math/test-float-vlen16.h: New file.
17283         * math/test-float-vlen4.h: New file.
17284         * math/test-float-vlen8.h: New file.
17285         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17286         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17288         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17289         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17290         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17291         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17294         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17295         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17297 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17299         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17300         * locale/programs/ld-ctype.c: Likewise.
17302 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17304         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17305         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17306         bit_ZMM16_31_state): New macro.
17307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17308         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17310 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17312         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17314 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17316         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17318 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17320         [BZ #18498]
17321         * libio/memstream.c (open_memstream): Rename to __open_memstream
17322         and define as weak alias of __open_memstream.
17323         * include/stdio.h (__open_memstream): Declare.  Use
17324         libc_hidden_proto.
17325         (open_memstream): Don't use libc_hidden_proto.
17326         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17327         open_memstream.
17328         * posix/getopt.c (_getopt_internal_r): Likewise.
17329         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17330         variable.
17331         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17332         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17333         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17335         [BZ #18496]
17336         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17337         instead of wcrtomb.
17339         [BZ #18483]
17340         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17341         [__USE_XOPEN2K8].  Remove redundant #endif.
17342         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17343         Remove redundant #if.
17344         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17345         Remove variable.
17346         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17347         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17349         [BZ #18495]
17350         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17351         (__iswlower): Likewise.
17352         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17353         (__iswlower): Likewise.
17354         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17355         instead of towlower.
17356         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17357         instead of iswlower.  Call __towupper instead of towupper.
17358         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17359         instead of iswalnum.
17361 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17363         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17364         errors to stderr.
17366 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17368         [BZ #15661]
17369         [BZ #17322]
17370         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17371         Check for overflow properly.  Check for O_APPEND.  Ignore large
17372         file system block sizes.  Add comments about problems.
17373         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17374         * manual/filesys.texi (Storage Allocation): New node.
17376 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17378         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17379         cancellable syscalls.
17380         (SYS_ify): Add guard to no redefine it.
17381         (INLINE_SYSCALL): Likewise.
17382         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17383         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17384         SYSCALL_CANCEL instead.
17385         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17386         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17387         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17388         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17389         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17390         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17391         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17392         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17393         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17394         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17395         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17396         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17397         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17398         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17399         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17401         Likewise.
17402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17403         (__libc_pread64): Likewise.
17404         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17405         (__libc_preadv): Likewise.
17406         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17407         (__libc_readv64): Likewise.
17408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17409         (__libc_pwrite): Likewise.
17410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17411         (__libc_pwrite64): Likewise.
17412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17413         (__libc_pwritev): Likewise.
17414         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17415         (__libc_pwritev64): Likewise.
17416         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17417         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17418         (sync_file_range): Likewise.
17419         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17420         Likewise.
17421         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17422         Likewise.
17423         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17424         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17425         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17426         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17427         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17428         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17429         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17430         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17432         Likewise.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17434         (__libc_read64): Likewise.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17436         Likewise.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17438         Likewise.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17440         Likewise.
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17442         Likewise.
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17444         (__libc_pread64): Likewise.
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17446         Likewise.
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17448         (__libc_pwrite64): Likewise.
17449         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17450         (sync_file_range): Likewise.
17451         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17452         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17453         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17454         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17455         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17456         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17457         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17458         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17459         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17460         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17461         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17462         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17463         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17464         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17465         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17466         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17467         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17468         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17469         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17472         Likewise.
17473         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17474         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17475         Likewise.
17476         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17477         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17478         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17479         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17480         Likewise.
17481         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17482         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17483         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17484         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17485         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17487 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17489         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17490         Include dl-vdso.
17491         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17492         Use VDSO routines for gettimeofday, clock_gettime if
17493         available.
17494         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17495         Declare VDSO symbols.
17496         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17497         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17498         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17499         * sysdeps/unix/sysv/linux/arm/Versions: Add
17500         __vdso_clock_gettime.
17502 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17504         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17505         be an inline implementation regardless of library is built within.
17506         (open_not_cancel_2): Likewise.
17507         (__read_nocancel): Likewise.
17508         (__write_nocancel): Likewise.
17509         (openat_not_cancel): Likewise.
17510         (openat_not_cancel_3): Likewise.
17511         (openat64_not_cancel): Likewise.
17512         (openat64_not_cancel_3): Likewise.
17513         (__close_nocancel): Likewise.
17514         (pause_not_cancel): Likewise.
17515         (nanosleep_not_cancel): Likewise.
17516         (sigsuspend_not_cancel): Likewise.
17518 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17520         [BZ #14958]
17521         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17522         wake-up.
17523         (__pthread_rwlock_rdlock_slow): Likewise.
17524         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17525         Likewise.
17526         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17527         Likewise.
17528         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17529         * nptl/tst-rwlock16.c: New file.
17530         * nptl/Makefile (tests): Add new test.
17532 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17534         [BZ #18324]
17535         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17536         missing wake-up of readers.
17537         * nptl/tst-rwlock15.c: New file.
17538         * nptl/Makefile (tests): Add new test.
17540 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17542         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17543         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17544         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17545         and __nacl_supply_interface_rtld.
17546         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17547         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17548         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17549         Add __nacl_supply_interface_rtld.
17550         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17552 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17555         isfinite.
17556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17557         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17559 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17561         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17562         __signbit* with standard C99 macros.
17563         * math/e_exp10l.c: Likewise.
17564         * math/e_exp2l.c: Likewise.
17565         * math/e_scalb.c: Likewise.
17566         * math/e_scalbf.c: Likewise.
17567         * math/e_scalbl.c: Likewise.
17568         * math/s_ldexp.c: Likewise.
17569         * math/s_ldexpf.c: Likewise.
17570         * math/s_ldexpl.c: Likewise.
17571         * math/w_atan2.c: Likewise.
17572         * math/w_atan2f.c: Likewise.
17573         * math/w_atan2l.c: Likewise.
17574         * math/w_cosh.c: Likewise.
17575         * math/w_coshf.c: Likewise.
17576         * math/w_coshl.c: Likewise.
17577         * math/w_exp10.c: Likewise.
17578         * math/w_exp10f.c: Likewise.
17579         * math/w_exp10l.c: Likewise.
17580         * math/w_exp2.c: Likewise.
17581         * math/w_exp2f.c: Likewise.
17582         * math/w_exp2l.c: Likewise.
17583         * math/w_fmod.c: Likewise.
17584         * math/w_fmodf.c: Likewise.
17585         * math/w_fmodl.c: Likewise.
17586         * math/w_hypot.c: Likewise.
17587         * math/w_hypotf.c: Likewise.
17588         * math/w_hypotl.c: Likewise.
17589         * math/w_jnl.c: Likewise.
17590         * math/w_lgamma.c: Likewise.
17591         * math/w_lgamma_r.c: Likewise.
17592         * math/w_lgammaf.c: Likewise.
17593         * math/w_lgammaf_r.c: Likewise.
17594         * math/w_lgammal.c: Likewise.
17595         * math/w_lgammal_r.c: Likewise.
17596         * math/w_pow.c: Likewise.
17597         * math/w_powf.c: Likewise.
17598         * math/w_powl.c: Likewise.
17599         * math/w_remainder.c: Likewise.
17600         * math/w_remainderf.c: Likewise.
17601         * math/w_remainderl.c: Likewise.
17602         * math/w_scalb.c: Likewise.
17603         * math/w_scalbf.c: Likewise.
17604         * math/w_scalbl.c: Likewise.
17605         * math/w_scalbln.c: Likewise.
17606         * math/w_scalblnf.c: Likewise.
17607         * math/w_scalblnl.c: Likewise.
17608         * math/w_sinh.c: Likewise.
17609         * math/w_sinhf.c: Likewise.
17610         * math/w_sinhl.c: Likewise.
17611         * math/w_tgamma.c: Likewise.
17612         * math/w_tgammaf.c: Likewise.
17613         * math/w_tgammal.c: Likewise.
17614         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17615         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17616         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17618         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17620         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17621         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17622         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17623         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17624         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17642         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17645         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17646         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17647         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17648         * stdio-common/printf_fp.c: Likewise.
17649         * stdio-common/printf_fphex.c: Likewise.
17650         * stdio-common/printf_size.c: Likewise.
17652 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17654         [BZ #18470]
17655         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17656         strnlen.
17657         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17658         Remove variable.
17659         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17660         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17661         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17662         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17663         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17664         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17665         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17666         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17667         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17668         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17670         [BZ #18468]
17671         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17672         weak alias of __wmemchr.  Use libc_hidden_weak.
17673         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17674         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17675         instead of wmemchr.
17677 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17679         [BZ #18383]
17680         * elf/tst-tlsalign-extern.c: New file.
17681         * elf/tst-tlsalign-extern-static.c: New file.
17682         * elf/tst-tlsalign-vars.c: New file.
17683         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17684         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17685         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17686         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17687         (test-xfail-tst-tlsalign-extern-static): New variable.
17689 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17691         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17692         Use variable name _sc_err instead of err.
17693         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17694         instead of ret.
17695         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17696         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17697         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17698         (INLINE_SYSCALL): Likewise.
17700         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17701         * include/string.h (__strnlen): Use libc_hidden_proto.
17702         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17703         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17704         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17705         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17706         (libc_hidden_def): Undefine and redefine.
17707         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17708         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17709         __GI_strnlen.
17710         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17711         libc_hidden_def.
17712         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17714         [BZ #18469]
17715         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17716         weak alias of __towlower.  Use libc_hidden_weak.
17717         (towupper): Rename to __towupper and define as weak alias of
17718         __towupper.  Use libc_hidden_weak.
17719         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17720         (__towupper): Likewise.
17721         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17722         __towlower instead of towlower.
17724 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17726         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17727         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17729 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17731         * sysdeps/aarch64/libm-test-ulps: Update.
17733 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17735         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17736         Define.
17737         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17739         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17740         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17741         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17742         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17743         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17745 2015-06-01  Martin Sebor  <msebor@redhat.com>
17747         [BZ #18116]
17748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17749         (__setcontext): Use extended four-operand version of mtsf whenever
17750         possible.
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17752         (__novec_swapcontext): Likewise.
17754 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17756         * benchtests/scripts/compare_bench.py: New file.
17757         * benchtests/scripts/import_bench.py (mean): New function.
17758         (split_list): Likewise.
17759         (do_for_all_timings): Likewise.
17760         (compress_timings): Likewise.
17762         * benchtests/scripts/import_bench.py: New file.
17763         * benchtests/scripts/validate_benchout.py: Import import_bench
17764         instead of jsonschema.
17765         (validate_bench): Remove function.
17766         (main): Use import_bench.
17768 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17770         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17771         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17773 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17777 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17779         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17780         set THREAD_SELF->tid to a magic value and futex-wake it.
17781         Pass its address to the thread_exit system call.
17782         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17783         bit is clear.
17784         * sysdeps/nacl/lowlevellock.h: New file.
17785         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17787         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17788         Add TIMEOUT to current time, don't subtract it.
17790 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17792         [BZ #2981]
17793         [BZ #18422]
17794         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17795         ($(objpfx)tst-audit2.out): Also depend on
17796         $(objpfx)tst-auditmod9b.so.
17797         * elf/tst-audit2.c: Include <dlfcn.h>.
17798         (calloc_called): New.
17799         (calloc): Allow to be called more than once.
17800         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17802 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17804         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17805         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17807 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17809         * stdlib/monetary.h: Fix comment.
17811 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17813         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17814         Avoid using variables in #defines that might cause shadowing.
17815         (INTERNAL_VSYSCALL_CALL): Likewise.
17817 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17819         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17821         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17822         * nptl/lll_timedlock_wait.c: ... to this new file.
17823         * nptl/Makefile (libpthread-routines): Add it.
17824         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17825         * nptl/lll_timedwait_tid.c: ... to this new file.
17826         * nptl/Makefile (libpthread-routines): Add it.
17827         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17828         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17829         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17830         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17831         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17832         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17833         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17834         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17835         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17836         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17838 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17840         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17841         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17842         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17844         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17846         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17848         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17849         * sysdeps/unix/sysv/linux/tile/sysdep.h
17850         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17851         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17852         using vDSO syscall macro.
17854 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17856         [BZ #17293]
17857         * uk_UA: Fix sorting order for Ukrainian locale
17859 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17861         * stdlib/monetary.h: Fix comment.
17863 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17865         [BZ #18234]
17866         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17867         st_mtim and st_ctim members.
17868         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17869         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17870         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17871         (struct stat64): Likewise.
17872         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17873         (struct stat64): Likewise.
17874         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17875         (struct stat64): Likewise.
17877 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17879         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17880         Define and include sysdep-vdso.h.
17881         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17882         Likewise.
17883         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17884         Likewise.
17885         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17886         Define with VDSO_SYMBOL and use PTR_MANGLE.
17887         (__vdso_clock_gettime): Likewise.
17888         (__vdso_clock_getres): Likewise.
17889         (_libc_vdso_platform_setup): Likewise.
17890         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17891         Likewise.
17892         (_libc_vdso_platform_setup): Likewise.
17893         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17894         Likewise.
17895         (__vdso_clock_gettime): Likewise.
17896         (__vdso_clock_getres): Likewise.
17897         (__vdso_get_tbfreq): Likewise.
17898         (__vdso_getcpu): Likewise.
17899         (__vdso_time): Likewise.
17900         (__vdso_sigtramp_rt64): Likewise.
17901         (__vdso_signtramp32): Likewise.
17902         (__vdso_sigtramp_rt32): Likewise.
17903         (_libc_vdso_platform_setup): Likewise.
17904         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17905         Likewise.
17906         (__vdso_clock_gettime): Likewise.
17907         (__vdso_clock_getres): Likewise.
17908         (_libc_vdso_platform_setup): Likewise.
17909         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17910         Likewise.
17911         (__vdso_clock_gettime): Likewise.
17912         (_libc_vdso_platform_setup): Likewise.
17913         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17914         Likewise.
17915         (__vdso_getcpu): Likewise.
17916         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17917         Use VDSO_SYMBOL macro to define.
17918         (__vdso_clock_gettime): Likewise.
17919         (__vdso_clock_getres): Likewise.
17920         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17921         Likewise.
17922         (__vdso_clock_gettime): Likewise.
17923         (__vdso_clock_getres): Likewise.
17924         (__vdso_get_tbfreq): Likewise.
17925         (__vdso_getcpu): Likewise.
17926         (__vdso_time): Likewise.
17927         (__vdso_sigtramp_rt64): Likewise.
17928         (__vdso_signtramp32): Likewise.
17929         (__vdso_sigtramp_rt32): Likewise.
17930         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17931         Likewise.
17932         (__vdso_clock_gettime): Likewise.
17933         (__vdso_clock_getres): Likewise.
17934         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17935         Likewise.
17936         (__vdso_clock_gettime): Likewise.
17937         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17938         Likewise.
17939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17940         macro.
17941         (INTERNAL_VSYSCALL): Likewise.
17942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17943         Remove macro.
17944         (INTERNAL_VSYSCALL): Likewise.
17945         (INTERNAL_VSYSCALL_NCS): Likewise.
17946         (INTERNAL_VSYSCALL_CALL): New macro.
17947         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17949         Likewise.
17950         (INTERNAL_VSYSCALL): Likewise.
17951         (INTERNAL_VSYSCALL_NCS): Likewise.
17952         (INTERNAL_VSYSCALL_CALL): New macro.
17953         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17955         (INLINE_VSYSCALL): Remove macro.
17956         (INTERNAL_VSYSCALL): Remove macro.
17957         (INTERNAL_VSYSCALL_NCS): Remove macro.
17958         (INTERNAL_VSYSCALL_CALL): New macro.
17959         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17960         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17961         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17962         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17963         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17965         (INLINE_VSYSCALL): Remove macro.
17966         (INTERNAL_VSYSCALL): Likewise.
17967         (INTERNAL_VSYSCALL_NCS): Likewise.
17968         (INTERNAL_VSYSCALL_CALL): New macro.
17969         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17970         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17971         PTR_DEMANGLE on vDSO pointer.
17972         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17973         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17974         macro.
17975         (INTERNAL_SYSCALL): Likewise.
17976         (INTERNAL_VSYSCALL_NCS): Remove macro.
17977         (INTERNAL_VSYSCALL_CALL): New macro.
17978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17979         Remove macro.
17980         (INTERNAL_VSYSCALL): Likewise.
17981         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17982         sysdep-vdso.h instead of libc-vdso.h.
17983         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17984         definition.
17985         (INLINE_VSYSCALL): Likewise.
17986         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17987         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17988         definition.
17989         (INLINE_VSYSCALL): Likewise.
17990         (INTERNAL_VSYSCALL): Likewise.
17991         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17992         * sysdeps/unix/sysv/linux/timespec_get.c
17993         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17994         (timespec_get): Use ANSI prototype.
17995         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17996         and definition for Linux.
17998 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18000         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18001         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18003 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18005         [BZ #2981]
18006         [BZ #18410]
18007         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18008         for missing DT_PLTRELSZ.
18010 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18012         Remove obsolete aliases that broke 'locale -a'
18013         [BZ #18412]
18014         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18015         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18016         breaking some applications that use 'locale -a' output.
18017         Change the encoding of this file from Latin-1 to ASCII to avoid
18018         other potential problems with people grepping this file.
18020 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18022         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18023         -fasynchronous-unwind-tables.
18024         (CFLAGS-sendto.c): Likewise.
18025         (CFLAGS-sendmsg.c): Likewise.
18026         (CFLAGS-connect.c): Likewise.
18027         (CFLAGS-recvmsg.c): Likewise.
18028         (CFLAGS-recvfrom.c): Likewise.
18029         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18030         (SOCKETCALL): New macro: non-cancellable socketcall.
18031         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18032         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18033         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18034         * sysdeps/unix/sysv/linux/accept.c: New file.
18035         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18036         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18037         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18038         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18039         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18040         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18041         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18042         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18043         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18044         * sysdeps/unix/sysv/linux/send.c: Likewise.
18045         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18046         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18047         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18048         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18049         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18050         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18051         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18052         prototype.
18053         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18054         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18055         instead of __internal_xxx function.
18056         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18057         prototype.
18058         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18059         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18060         instead of __internal_xxx function.
18061         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18062         prototype.
18063         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18064         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18065         instead of __internal_xxx function.
18066         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18067         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18068         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18069         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18070         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18071         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18072         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18073         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18074         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18075         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18076         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18077         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18078         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18079         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18080         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18081         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18082         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18083         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18084         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18085         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18088         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18089         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18090         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18091         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18092         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18093         * sysdeps/unix/sysv/linux/send.S: Likewise.
18094         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18095         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18096         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18097         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18098         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18099         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18100         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18101         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18102         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18103         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18104         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18105         socketcall is implemented in GLIBC.
18107 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18109         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18110         (__fma): Ignore uninitialized warnings around packing.
18111         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18112         (__fmaf): Ignore uninitialized warnings around packing.
18113         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18114         (__fmal): Ignore uninitialized warnings around packing.
18116         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18117         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18118         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18119         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18121         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18122         switch statement into default case.
18123         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18125         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18126         a conditional in forcing "inexact".
18127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18128         Likewise.
18130 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18132         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18133         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18134         for each INTERNAL_SYSCALL use.
18136 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18138         [BZ #438]
18139         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18140         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18141         variable.
18143         [BZ #18444]
18144         * string/basename.c (basename): Rename to __basename and define as
18145         weak alias of __basename.  Use libc_hidden_weak.
18146         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18147         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18148         __basename instead of basename.
18149         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18150         Remove variable.
18151         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18153 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18155         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18156         (_IO_JUMPS_FILE_plus): New.
18157         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18158         _IO_CAST_FIELD_ACCESS.
18159         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18160         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18161         * libio/freopen.c (freopen): Likewise.
18162         * libio/freopen64.c (freopen64): Likewise.
18163         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18164         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18165         * libio/iofwide.c (_IO_fwide): Likewise.
18166         * libio/memstream.c (open_memstream): Likewise.
18167         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18168         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18169         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18171 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18173         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18174         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18175         NADJ.
18176         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18177         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18178         NADJ.
18179         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18180         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18181         NADJ.
18183         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18184         (p == 4) case.
18186         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18187         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18188         Remove variable.
18189         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18190         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18191         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18193 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18195         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18196         Adjust jump table label generation macros.
18198 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18200         * stdio-common/vfprintf.c (vfprintf): Move local variables
18201         args_malloced, specs, specs_malloced, and the code after
18202         do_positional to the printf_positional function.
18203         (printf_positional): New function.
18205 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18207         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18208         function.
18209         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18210         STEP4_TABLE, process_arg): Move macro definitions
18211         out of the vfprintf function.  (Cosmetic change only.)
18213 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18215         * benchtests/Makefile (stdio-common-bench): Define.
18216         (benchset): Add stdio-common-bench.
18217         * sprintf-inputs: New file.
18218         * sprintf-source.c: New file.
18220 2015-05-21  Andreas Schwab  <schwab@suse.de>
18222         [BZ #13028]
18223         [BZ #17053]
18224         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18225         of struct __res_state.
18226         * resolv/res_send.c (__libc_res_nsend): Likewise.
18227         (get_nsaddr): New function.
18228         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18229         statp directly.
18231 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18233         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18234         -D_POSIX_C_SOURCE=199506L.
18236         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18238         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18239         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18240         Do not mention otherwise.
18241         [POSIX] (_XOPEN_VERSION): Do not expect.
18242         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18243         [POSIX] (_POSIX2_C_BIND): Likewise.
18244         [POSIX] (_POSIX2_VERSION): Likewise.
18245         [POSIX] (_XOPEN_XPG2): Likewise.
18246         [POSIX] (_XOPEN_XPG3): Likewise.
18247         [POSIX] (_XOPEN_XPG4): Likewise.
18248         [POSIX] (_XOPEN_UNIX): Likewise.
18249         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18250         [POSIX] (_POSIX_BARRIERS): Likewise.
18251         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18252         [POSIX] (_POSIX_CPUTIME): Likewise.
18253         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18254         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18255         [POSIX] (_POSIX_SHELL): Likewise.
18256         [POSIX] (_POSIX_SPAWN): Likewise.
18257         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18258         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18259         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18260         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18261         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18262         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18263         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18264         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18265         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18266         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18267         [POSIX] (_POSIX2_PBS): Likewise.
18268         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18269         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18270         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18271         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18272         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18273         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18274         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18275         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18276         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18277         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18278         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18279         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18280         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18281         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18282         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18283         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18284         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18285         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18286         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18287         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18288         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18289         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18290         [POSIX] (_SC_2_C_BIND): Likewise.
18291         [POSIX] (_SC_2_C_VERSION): Likewise.
18292         [POSIX] (_SC_2_PBS): Likewise.
18293         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18294         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18295         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18296         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18297         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18298         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18299         [POSIX] (_SC_BARRIERS): Likewise.
18300         [POSIX] (_SC_BASE): Likewise.
18301         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18302         [POSIX] (_SC_DEVICE_IO): Likewise.
18303         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18304         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18305         [POSIX] (_SC_FD_MGMT): Likewise.
18306         [POSIX] (_SC_FIFO): Likewise.
18307         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18308         [POSIX] (_SC_FILE_LOCKING): Likewise.
18309         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18310         [POSIX] (_SC_IOV_MAX): Likewise.
18311         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18312         [POSIX] (_SC_NETWORKING): Likewise.
18313         [POSIX] (_SC_PAGE_SIZE): Likewise.
18314         [POSIX] (_SC_PASS_MAX): Likewise.
18315         [POSIX] (_SC_PIPE): Likewise.
18316         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18317         [POSIX] (_SC_REGEXP): Likewise.
18318         [POSIX] (_SC_SHELL): Likewise.
18319         [POSIX] (_SC_SIGNALS): Likewise.
18320         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18321         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18322         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18323         [POSIX] (_SC_USER_GROUPS): Likewise.
18324         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18325         [POSIX] (_SC_STREAMS): Likewise.
18326         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18327         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18328         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18329         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18330         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18331         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18332         [POSIX] (_PC_FILESIZEBITS): Likewise.
18333         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18334         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18335         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18336         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18337         [POSIX] (uid_t): Likewise.
18338         [POSIX] (gid_t): Likewise.
18339         [POSIX] (off_t): Likewise.
18340         [POSIX] (pid_t): Likewise.
18341         [POSIX] (cuserid): Allow.
18342         (_SC_2_CHAR_TERM): Require constant.
18343         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18344         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18345         variable.
18347 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18349         * sysdeps/nacl/pthread-pids.h: New file.
18350         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18351         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18353         * nptl/pthread-pids.h: New file.
18354         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18355         * nptl/nptl-init.c: Include <pthread-pids.h>.
18356         (__pthread_initialize_minimal_internal):
18357         Call __pthread_initialize_pids instead of set_tid_address syscall.
18359         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18360         * sysdeps/posix/usleep.c: ... here.
18362 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18364         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18365         call_pselect6 object.
18366         [$(subdir) = io]: Remove call_sync_file_range object.
18367         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18368         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18369         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18370         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18372 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18374         * math/s_cproj.c: Add include "math_private.h".
18375         * math/s_cprojf.c: Likewise.
18376         * math/s_cprojl.c: Likewise.
18378 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #18244]
18381         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18382         high mantissa bit when testing whether P is a NaN.
18383         * math/libm-test.inc (remainder_test_data): Add more tests.
18384         (remquo_test_data): Likewise.
18386         [BZ #18049]
18387         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18388         below -32, return the argument, with underflow if subnormal.
18389         * math/auto-libm-test-in: Add more tests of atanh.
18390         * math/auto-libm-test-out: Regenerated.
18392 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18394         [BZ #18434]
18395         * nptl/tst-sem15.c: New file.
18396         * nptl/Makefile (tests): Add it.
18397         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18398         s/<</>>/ to fix typo in EOVERFLOW check.
18399         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18401 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18403         * manual/strings.texi (envz_remove): Fix typo in safety
18404         annotations.
18406 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18407             Steve Ellcey  <sellcey@imgtec.com>
18409         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18410         in order to avoid strict alias warnings.
18411         (iruserok_af): Ditto for ra.
18413 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18415         [BZ #17581]
18416         * malloc/hooks.c
18417         (magicbyte): Convert to a function and avoid returning 0x01.
18418         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18419         (mem2chunk_check): Fix unsigned comparisons to zero.
18420         Hoist defs of sz and magic.
18422 2015-05-19  Richard Henderson  <rth@redhat.com>
18424         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18426         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18428 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18430         [BZ #16159]
18431         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18432         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18433         (reused_arena): Find a non-corrupt arena.
18434         (heap_trim): Pass arena to unlink.
18435         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18436         malloc_printerr.
18437         (top_check): Likewise.
18438         (free_check): Likewise.
18439         (realloc_check): Likewise.
18440         * malloc/malloc.c (malloc_printerr): Add arena argument.
18441         (unlink): Likewise.
18442         (munmap_chunk): Adjust.
18443         (ARENA_CORRUPTION_BIT): New macro.
18444         (arena_is_corrupt): Likewise.
18445         (set_arena_corrupt): Likewise.
18446         (sysmalloc): Use mmap if there are no usable arenas.
18447         (_int_malloc): Likewise.
18448         (__libc_malloc): Don't fail if arena_get returns NULL.
18449         (_mid_memalign): Likewise.
18450         (__libc_calloc): Likewise.
18451         (__libc_realloc): Adjust for additional argument to
18452         malloc_printerr.
18453         (_int_free): Likewise.
18454         (malloc_consolidate): Likewise.
18455         (_int_realloc): Likewise.
18456         (_int_memalign): Don't touch corrupt arenas.
18457         * malloc/tst-malloc-backtrace.c: New test case.
18459         * Makefile (summarize-tests): Fix return value on success.
18461         * manual/string.texi (Envz Functions): Add envz_remove.
18463 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18465         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18466         (invalid_name): New function, broken out of ...
18467         (__opendirat): ... here.  Call it.
18468         (need_isdir_precheck): New function, broken out of ...
18469         (__opendirat): ... here.  Call it.
18470         Use __fxstatat64, not __xstatat64.
18471         (opendir_oflags): New function, broken out of ...
18472         (__opendirat): ... here.  Call it.
18473         (opendir_tail): New function, broken out of ...
18474         (__opendirat): ... here.  Call it.
18475         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18476         opendir_tail, rather than punting to __opendirat.
18477         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18479 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18481         * .gitignore: Ignore generated *.pyc.
18483 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18485         * include/stdio.h: Define __need_wint_t.
18486         * test-skeleton.c: Avoid `for' loop initial declaration.
18487         * nptl/tst-initializers1.c: Use test-skeleton.c.
18489 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18491         [BZ #18418]
18492         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18494 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18496         [BZ #16352]
18497         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18498         (__ieee754_atanh): Force underflow exception for results with
18499         small absolute value.
18500         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18501         (__ieee754_atanhf): Force underflow exception for results with
18502         small absolute value.
18503         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18504         (__ieee754_atanh): Force underflow exception for results with
18505         small absolute value.
18506         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18507         (__ieee754_atanhf): Force underflow exception for results with
18508         small absolute value.
18509         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18510         (__ieee754_atanhl): Force underflow exception for results with
18511         small absolute value.
18512         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18513         (__ieee754_atanhl): Force underflow exception for results with
18514         small absolute value.
18515         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18516         (__ieee754_atanhl): Force underflow exception for results with
18517         small absolute value.
18518         * math/auto-libm-test-in: Do not allow missing underflow
18519         exceptions from atanh.
18520         * math/auto-libm-test-out: Regenerated.
18522         [BZ #18221]
18523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18524         2**-28 as threshold for returning x or +/- 1/x.
18525         * math/auto-libm-test-in: Add more tests of tan.
18526         * math/auto-libm-test-out: Regenerated.
18528         [BZ #18220]
18529         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18530         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18531         * math/auto-libm-test-in: Add another test of lgamma.
18532         * math/auto-libm-test-out: Regenerated.
18534 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18536         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18537         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18538         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18539         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18540         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18541         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18542         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18543         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18544         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18545         (log1): Use fabs.  (my_log2): Use fabs.
18546         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18547         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18549         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18551         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18552         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18553         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18554         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18555         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18556         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18558 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18560         [BZ #18217]
18561         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18562         as threshold for returning 1 - x.
18563         * math/auto-libm-test-in: Add more tests of erfc.
18564         * math/auto-libm-test-out: Regenerated.
18566 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18568         [BZ #18196]
18569         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18570         threshold for large arguments.
18571         * math/auto-libm-test-in: Add another test of atan.
18572         * math/auto-libm-test-out: Regenerated.
18574         [BZ #16339]
18575         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18576         (__log1p): Force underflow exception for results with small
18577         absolute value.
18578         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18579         (__log1pf): Force underflow exception for results with small
18580         absolute value.
18581         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18582         (__log1p): Force underflow exception for results with small
18583         absolute value.
18584         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18585         (__log1pf): Force underflow exception for results with small
18586         absolute value.
18587         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18588         (__log1pl): Force underflow exception for results with small
18589         absolute value.
18590         * math/auto-libm-test-in: Do not allow missing underflow
18591         exceptions from log1p.
18592         * math/auto-libm-test-out: Regenerated.
18594 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18595             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18597         [BZ #16704]
18598         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18600 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18602         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18603         (libmvec): New variable.
18604         * configure.ac: Added option for mathvec build.
18605         * configure: Regenerated.
18606         * mathvec/Depend: New file.
18607         * mathvec/Makefile: New file.
18608         * shlib-versions: Added libmvec.
18609         * math/Makefile: Added rule for libm.so installation.
18611         * bits/math-vector.h: New file.
18612         * bits/libm-simd-decl-stubs.h: New header.
18613         * math/Makefile (headers): Added new header
18614         libm-simd-decl-stubs.h.
18615         * math/math.h (__MATHCALL_VEC): New macro.
18617         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18618         for conditions in testing functions.
18619         * math/Makefile: Added call of libm-have-vector-test.sh.
18620         * math/libm-test.inc (HAVE_VECTOR): New macros.
18622         * math/libm-test.inc: START refactored.
18623         * math/test-double.c (TEST_MATHVEC): Add define.
18624         * math/test-float.c: Likewise.
18625         * math/test-idouble.c: Likewise.
18626         * math/test-ifloat.c: Likewise.
18627         * math/test-ildoubl.c: Likewise.
18628         * math/test-ldouble.c: Likewise.
18629         * sysdeps/generic/math-tests-arch.h
18630         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18631         architecture check.
18633         * math/test-double.c (FUNC_TEST): New macro.
18634         * math/test-float.c: Likewise.
18635         * math/test-idouble.c: Likewise.
18636         * math/test-ifloat.c: Likewise.
18637         * math/test-ildoubl.c: Likewise.
18638         * math/test-ldouble.c: Likewise.
18639         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18641 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18643         * sysdeps/nacl/fdopendir.c: New file.
18645         * dirent/scandir-tail.c: New file.
18646         * dirent/scandir64-tail.c: New file.
18647         * dirent/Makefile (routines): Add them.
18648         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18649         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18650         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18651         [!SCANDIR] (SCANDIR_TAIL): New macro.
18652         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18653         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18654         (SCANDIRAT): Macro removed.
18655         (SCANDIR_TAIL): New macro.
18656         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18657         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18658         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18659         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18660         (READDIR): Macro removed.
18661         (SCANDIR_TAIL): New macro.
18662         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18663         (SCANDIR_TAIL): New macro.
18665         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18666         * dirent/scandir-cancel.c: ... to this new file.
18667         * dirent/Makefile (routines): Add it.
18668         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18669         * sysdeps/unix/sysv/linux/i386/scandir64.c
18670         (SKIP_SCANDIR_CANCEL): Macro removed.
18671         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18673         * dirent/tst-scandir.c: New file.
18674         * dirent/tst-scandir64.c: New file.
18675         * dirent/Makefile (tests): Add them.
18677 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18679         [BZ #18409]
18680         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18682 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18684         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18685         list.
18687 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18689         * benchtests/bench-strcoll.c: New benchmark.
18690         * benchtests/Makefile: Generate locales and run benchmark.
18691         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18692         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18693         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18694         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18695         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18696         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18697         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18698         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18699         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18700         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18701         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18702         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18703         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18704         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18705         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18706         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18707         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18708         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18709         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18710         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18711         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18712         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18713         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18714         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18716 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18718         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18719         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18721 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18723         * posix/uname-values.h: New file.
18724         * posix/uname.c: Include that instead of <config-name.h>.
18725         * sysdeps/nacl/uname-values.h: New file.
18726         * sysdeps/arm/nacl/uname-values.h: New file.
18728 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18730         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18731         splitting into fields.
18733 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18735         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18736         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18737         * locale/localeinfo.h: Add enum collation_encoding_type.
18738         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18739         * programs/ld-collate.c (collate_output): Add encoding type info.
18740         * string/strcoll_l.c (STRDIFF): New function.
18741         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18742         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18744 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18746         [BZ #18397]
18747         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18748         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18749         <fpu_control.h> instead of <math/fpu_control.c>.
18750         * sysdeps/mips/mips32/fpu/Makefile: New file.
18752 2015-05-11  Andreas Schwab  <schwab@suse.de>
18754         [BZ #18007]
18755         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18756         nss_endgrent.
18757         (_nss_compat_endgrent): Call nss_endgrent.
18758         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18759         nss_endpwent.
18760         (_nss_compat_endpwent): Call nss_endpwent.
18761         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18762         needent, call nss_setspent only if non-zero.
18763         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18764         (internal_endspent): Don't call nss_endspent.
18765         (_nss_compat_endspent): Call nss_endspent.
18766         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18767         Remove.  All uses removed.
18768         (internal_setent): Remove parameter stayopen, add parameter
18769         stream.  Use it instead of global variable.
18770         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18771         (internal_endent, internal_getent): Add parameter stream.  Use it
18772         instead of global variable.
18773         (CONCAT(_nss_files_end,ENTNAME))
18774         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18775         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18776         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18777         uses removed.
18778         (internal_setent, internal_endent): Add parameter stream.  Use it
18779         instead of global variable.
18780         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18781         stream.
18782         (get_next_alias): Add parameter stream.
18783         (_nss_files_getaliasent_r): Pass global stream.
18784         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18785         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18786         (_nss_files_gethostbyname4_r): Pass local stream to
18787         internal_setent, internal_getent and internal_endent.  Remove
18788         locking.
18790 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18792         * tst-strfmon1.c (tests): Update expected currency symbol.
18794 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18796         * sysdeps/nacl/gethostname.c: New file.
18798 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18800         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18801         and sinh.
18802         * math/auto-libm-test-out: Regenerated.
18803         * sysdeps/i386/fpu/libm-test-ulps: Update.
18804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18806 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18808         [BZ #18125]
18809         * stdlib/tst-setcontext3.c: New file.
18810         * stdlib/tst-setcontext3.sh: New file.
18811         * stdlib/Makefile (tests): Add tst-setcontext3.
18812         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18813         to verify test program created output file.
18814         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18815         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18816         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18817         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18819 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18821         [BZ #18383]
18822         * elf/tst-tlsalign.c: New file.
18823         * elf/tst-tlsalign-static.c: New file.
18824         * elf/tst-tlsalign-lib.c: New file.
18825         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18826         (tests-static): Add tst-tlsalign-static.
18827         (modules-names): Add tst-tlsalign-lib.
18828         (test-xfail-tst-tlsalign): New variable.
18829         (test-xfail-tst-tlsalign-static): New variable.
18831         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18832         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18834 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18836         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18837         csqrt, erfc, sin and sincos.
18838         * math/auto-libm-test-out: Regenerated.
18839         * sysdeps/i386/fpu/libm-test-ulps: Update.
18840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18844         * sysdeps/aarch64/libm-test-ulps: Update.
18846 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18848         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18849         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18850         * math/auto-libm-test-out: Regenerated.
18851         * sysdeps/i386/fpu/libm-test-ulps: Update.
18852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18854 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18856         [BZ #18265]
18857         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18858         (wcsncpy): Likewise.
18860 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18862         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18863         Assume __ASSUME_FALLOCATE is always true.
18864         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18865         (__posix_fallocate64_l64): Likweise.
18866         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18867         (posix_fallocate): Likewise.
18868         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18869         (__posix_fallocate64_l64): Likewise.
18870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18871         [!__ASSUME_FALLOCATE]: Add comment.
18873 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18875         * sysdeps/unix/sysv/linux/i386/Makefile
18876         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18877         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18878         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18879         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18880         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18881         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18882         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18884 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18886         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18887         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18888         tgamma.
18889         * math/auto-libm-test-out: Regenerated.
18890         * sysdeps/i386/fpu/libm-test-ulps: Update.
18891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18893 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18895         * math/auto-libm-test-in: Add more tests of tgamma.
18896         * math/auto-libm-test-out: Regenerated.
18897         * sysdeps/i386/fpu/libm-test-ulps: Update.
18898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18900         * math/auto-libm-test-in: Add more tests of tanh.
18901         * math/auto-libm-test-out: Regenerated.
18902         * sysdeps/i386/fpu/libm-test-ulps: Update.
18903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18905         * math/auto-libm-test-in: Add more tests of tan.
18906         * math/auto-libm-test-out: Regenerated.
18907         * sysdeps/i386/fpu/libm-test-ulps: Update.
18908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18910         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18911         * math/auto-libm-test-out: Regenerated.
18912         * sysdeps/i386/fpu/libm-test-ulps: Update.
18913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18915         * math/auto-libm-test-in: Add another test of pow.
18916         * math/auto-libm-test-out: Regenerated.
18917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18919         * math/auto-libm-test-in: Add more tests of lgamma.
18920         * math/auto-libm-test-out: Regenerated.
18921         * sysdeps/i386/fpu/libm-test-ulps: Update.
18922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18924         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18925         log1p.
18926         * math/auto-libm-test-out: Regenerated.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18932         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18933         Elf64_Chdr structs and ELFCOMPRESS constants.
18935 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18937         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18938         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
18944         * math/auto-libm-test-out: Regenerated.
18945         * sysdeps/i386/fpu/libm-test-ulps: Update.
18946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18950         * config.h.in (HAVE_AARCH64_BE): Add.
18952 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18954         * math/auto-libm-test-in: Add more tests of csqrt.
18955         * math/auto-libm-test-out: Regenerated.
18956         * sysdeps/i386/fpu/libm-test-ulps: Update.
18957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18959         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18960         * math/auto-libm-test-out: Regenerated.
18961         * sysdeps/i386/fpu/libm-test-ulps: Update.
18962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18964         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18966 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18968         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18969         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18971         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18972         (euidaccess, eaccess): Define as weak aliases.
18974         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18975         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18976         but __suseconds_t is often 'long int' so some sources assume that
18977         type is being used (e.g. they use %ld to print tv_usec).
18979 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18981         [BZ #18007]
18982         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18983         (CVE-2014-8121)
18984         * nss/tst-nss-getpwent.c: New file.
18985         * nss/Makefile (tests): Add new test.
18987 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18989         [BZ #18346]
18990         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18991         exponents less than 48 as cases where high part of mantissa needs
18992         examining to determine whether argument is integral.
18993         * math/libm-test.inc (round_test_data): Add more tests.
18995 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18997         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18999 2015-04-27  David S. Miller  <davem@davemloft.net>
19001         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19002         __tls_get_addr.
19003         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19005 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19007         [BZ#18333]
19008         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19010 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19012         [BZ#18333]
19013         * time/tzset.c (parse_tzname): Return error on memory allocation
19014         failure.
19015         * test-skeleton.c (struct temp_name_list): Change type of name
19016         member to non-const.
19017         (add_temp_file): Create a copy of the file name.
19018         (delete_temp_files): Deallocate memory.
19019         (create_temp_file): Add comment.
19021 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19023         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19024         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19026 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19028         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19029         * sysdeps/arm/configure: Regenerated.
19031 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19033         [BZ #17715]
19034         * time/tzfile.c (__tzfile_read): Check for large values of
19035         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19036         * time/tzset.c (__tzstring_len): New function, based on the old
19037         __tzstring function.
19038         (__tzstring): Call __tzstring_len.
19039         (parse_tzname): New helper function extracted from
19040         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19041         the input string.
19042         (parse_offset): New helper function extracted from
19043         __tzset_parse_tz.  Replace switch with fallthrough with
19044         initialization before sscanf.
19045         (parse_rule): Likewise.
19046         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19047         new-style function definition.
19048         * timezone/Makefile (tests): Add tst-tzset.
19049         (tst-tzset.out): Dependencies on time zone files.
19050         (tst-tzset-ENV): Set TZDIR.
19051         (testdata/XT%): Copy crafted time zone files.
19052         * timezone/README: Mention crafted time zone files.
19053         * timezone/testdata/XT1, timezone/testdata/XT2,
19054         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19055         files.
19056         * timezone/tst-tzset.c: New test.
19058 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19060         * Makeconfig (+gccwarn): Remove -Winline.
19062 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19064         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19066 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19068         * NEWS: Mention sysconf() cache information support for s390.
19069         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19071 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19073         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19074         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19075         (__nearbyint): Likewise.
19076         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19077         (copysignl): Likewise.
19079 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19081         [BZ #18287]
19082         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19083         based on padding.  (CVE-2015-1781)
19085 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19087         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19088         libc-vdso.h.
19089         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19090         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19091         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19092         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19093         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19094         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19095         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19097         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19098         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19099         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19100         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19101         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19102         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19103         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19104         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19105         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19106         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19107         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19108         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19109         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19110         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19111         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19113 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19115         * stdlib/setenv.c (__add_to_environ):
19116         Dump core quickly if setenv (..., NULL, ...) is called.
19117         This time, do it the right way, and pacify GCC with a pragma.
19119 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19121         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19122         IMAP->l_prev cannot be null, and #if out the code for the contrary
19123         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19124         believe that NS (&_dl_ns[NSID]) could point outside the array.
19126         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19127         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19128         before using NSID as an index.
19130 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19132         [BZ #17825]
19133         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19134         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19135         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19137 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19139         Add preliminary port to Google Native Client on ARM.
19140         * abi-tags (.*-.*-nacl.*): New entry.
19141         * sysdeps/arm/nacl: New directory.
19142         * sysdeps/nacl: New directory.
19144 2015-04-16  David S. Miller  <davem@davemloft.net>
19146         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19147         lowlevellock-futex.h
19149 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19151         * sysdeps/tile/configure.ac: New file.
19152         * sysdeps/tile/configure: Regenerated.
19154 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19156         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19157         conditionals for weak_alias and libc_hidden_weak.
19158         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19159         libc_hidden_weak and weak_alias.
19160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19161         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19162         and weak_alias for static one.
19164 2015-04-15  David S. Miller  <davem@davemloft.net>
19166         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19168 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19170         [BZ #18206]
19171         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19172           Use signed comparision instead of substraction to avoid
19173           overflow bug.
19174         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19175           Take the sign of ret.
19176         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19177           Do not expect precise return values. Only the sign matters.
19178         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19179         * wcsmbs/test-wcsncmp.c: New File.
19180         * string/test-strncmp.c: Add wcsncmp support.
19182 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19184         [BZ #6792]
19185         * math/w_log1p.c: New file.
19186         * math/w_log1pf.c: Likewise.
19187         * math/w_log1pl.c: Likewise.
19188         * math/Makefile (libm-calls): Add w_log1p.
19189         * math/s_log1pl.c (log1pl): Remove weak_alias.
19190         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19191         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19192         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19193         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19194         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19195         [NO_LONG_DOUBLE] (log1pl): Likewise.
19196         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19198         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19199         (log1p): Remove long_double_symbol.
19200         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19201         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19202         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19203         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19204         remove weak_alias for corresponding log1p function.
19205         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19206         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19207         * sysdeps/ia64/fpu/w_log1p.c: New file.
19208         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19209         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19210         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19212 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19214         [BZ #18247]
19215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19216         decimal exponent by 1.
19217         * stdlib/tst-strtod-round-data: Add more tests.
19218         * stdlib/tst-strtod-round.c (tests): Regenerated.
19220 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19222         * math/auto-libm-test-in: Add more tests of clog and clog10.
19223         * math/auto-libm-test-out: Regenerated.
19224         * sysdeps/i386/fpu/libm-test-ulps: Update.
19225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19227 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19229         * Makeconfig (module-cppflags): Exclude all .v.i files.
19230         (skip-module-cppflags): Variable removed.
19232         * configure.ac (libc_config_ok): Initialize before reading
19233         preconfigure scripts, not after.
19234         * configure: Regenerated.
19236         * test-skeleton.c (TIMEOUT): Move #define to top level.
19237         (main): Grok environment variable TEST_DIRECT.  If set, print
19238         test expectation details into that file and then behave as if
19239         given --direct.
19241 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19243         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19244         warning on 32-bit.
19246 2015-04-08  David S. Miller  <davem@davemloft.net>
19248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19250 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19252         * math/auto-libm-test-in: Add more tests of atanh.
19253         * math/auto-libm-test-out: Regenerated.
19254         * sysdeps/i386/fpu/libm-test-ulps: Update.
19255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19257         * math/auto-libm-test-in: Add more tests of atan.
19258         * math/auto-libm-test-out: Regenerated.
19259         * sysdeps/i386/fpu/libm-test-ulps: Update.
19260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19264         * elf/pldd.c (main): Rewrite to use struct
19265         scratch_buffer instead of extend_alloca.
19266         * elf/pldd-xx.c (find_maps): Likewise.
19267         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19268         <alloca.h>.
19269         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19270         scratch_buffer instead of extend_alloca.
19271         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19272         grp/compat-initgroups.c.
19273         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19274         Rewrite to use struct scratch_buffer instead of extend_alloca.
19275         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19276         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19278 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19280         * math/auto-libm-test-in: Add more tests of cbrt.
19281         * math/auto-libm-test-out: Regenerated.
19282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19284         * math/auto-libm-test-in: Add more tests of cabs.
19285         * math/auto-libm-test-out: Regenerated.
19286         * sysdeps/i386/fpu/libm-test-ulps: Update.
19287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289         [BZ #18210]
19290         [BZ #18211]
19291         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19292         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19293         computations.
19294         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19295         clog10.
19296         * math/auto-libm-test-out: Regenerated.
19297         * sysdeps/i386/fpu/libm-test-ulps: Update.
19298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19300         [BZ #18197]
19301         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19302         (atan): Set FE_TONEAREST mode for internal computations.
19303         * math/auto-libm-test-in: Add more tests of atan.
19304         * math/auto-libm-test-out: Regenerated.
19306 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19308         [BZ #17930]
19309         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19311 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19313         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19315 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19317         * include/scratch_buffer.h: New file.
19318         * malloc/scratch_buffer_grow.c: Likewise.
19319         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19320         * malloc/scratch_buffer_set_array_size.c: Likewise.
19321         * malloc/tst-scratch_buffer.c: Likewise.
19322         * malloc/Makefile (routines): Add scratch_buffer_grow.
19323         (tests): Add test case.
19324         * malloc/Versions (GLIBC_PRIVATE): Export
19325         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19326         __libc_scratch_buffer_set_array_size.
19328 2015-04-06  Richard Henderson  <rth@redhat.com>
19330         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19331         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19333         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19334         unsigned int before printing.
19336 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19338         [BZ #17596]
19339         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19340         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19342 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19344         * include/libc-internal.h (libc_max_align_t): Define.
19346 2015-04-02  Andreas Schwab  <schwab@suse.de>
19348         [BZ #16850]
19349         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19351 2015-04-02  Mel Gorman  <mgorman@suse.de>
19353         [BZ #17195]
19354         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19355         as well as the main arena.
19357 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19359         [BZ #18185]
19360         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19361         sharing L2 cache to 2 for Silvermont/Knights Landing.
19363 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #17711]
19366         * config.make.in (have-protected-data): New.
19367         * configure.ac: Check linker support for protected data symbol.
19368         * configure: Regenerated.
19369         * elf/Makefile (modules-names): Add tst-protected1moda and
19370         tst-protected1modb if $(have-protected-data) is yes.
19371         (tests): Add tst-protected1a and tst-protected1b if
19372         $(have-protected-data) is yes.
19373         ($(objpfx)tst-protected1a): New.
19374         ($(objpfx)tst-protected1b): Likewise.
19375         (tst-protected1modb.so-no-z-defs): Likewise.
19376         * elf/tst-protected1a.c: New file.
19377         * elf/tst-protected1b.c: Likewise.
19378         * elf/tst-protected1mod.h: Likewise.
19379         * elf/tst-protected1moda.c: Likewise.
19380         * elf/tst-protected1modb.c: Likewise.
19382 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19384         [BZ #17711]
19385         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19386         indicates it is called from do_lookup_x on relocation against
19387         protected data, skip the data definion in the executable from
19388         copy reloc.
19389         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19390         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19391         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19392         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19393         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19394         otherwise to 0.
19395         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19396         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19397         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19398         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19399         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19400         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19402 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19404         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19405         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19407 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19409         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19410         THREAD_SETMEM_NC.
19411         * sysdeps/x86_64/nptl/tls.h: Ditto.
19413 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19415         * dlfcn/tststatic.c (main): Converted to ...
19416         (do_test): ... this.
19417         (TEST_FUNCTION): New macro.
19418         Include test-skeleton.c.
19420 2015-03-26  Alan Modra  <amodra@gmail.com>
19422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19423         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19424         zero for undefined weak.
19425         (elf_machine_plt_conflict): Similarly.
19427 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19429         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19430         atanh.
19431         * math/auto-libm-test-out: Regenerated.
19432         * sysdeps/i386/fpu/libm-test-ulps: Update.
19433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19435         * math/auto-libm-test-in: Add another test of asin.
19436         * math/auto-libm-test-out: Regenerated.
19437         * sysdeps/i386/fpu/libm-test-ulps: Update.
19438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19441         Remove macro.
19442         (LLL_EBX_REG): Likewise.
19443         (LLL_ENTER_KERNEL): Likewise.
19445         * math/auto-libm-test-in: Add more tests of asin.
19446         * math/auto-libm-test-out: Regenerated.
19447         * sysdeps/i386/fpu/libm-test-ulps: Update.
19448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19450         [BZ #18138]
19451         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19452         libc_do_syscall_args): New structure.
19453         (INTERNAL_SYSCALL_MAIN_0): New macro.
19454         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19455         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19456         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19457         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19458         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19459         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19460         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19461         Replace conditional definitions by conditional definitions of ....
19462         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19463         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19464         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19465         (libpthread-sysdep_routines): Add libc-do-syscall.
19466         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19467         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19468         to __NR_futex not 240.
19470 2015-03-25  Alan Modra  <amodra@gmail.com>
19472         * NEWS: Advertise TLS optimization.
19473         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19474         (DT_PPC_NUM): Increment.
19475         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19476         (CHECK_STATIC_TLS): Use here.
19477         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19478         TLS descriptors.
19479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19480         * sysdeps/powerpc/dl-tls.c: New file.
19481         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19482         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19483         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19484         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19489 2015-03-25  Alan Modra  <amodra@gmail.com>
19491         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19492         for overlapping .opd entries" to "support...".
19493         * sysdeps/powerpc/powerpc64/configure: Regenerate
19495 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19497         * math/auto-libm-test-in: Add more tests of acos.
19498         * math/auto-libm-test-out: Regenerated.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502         * math/auto-libm-test-in: Add more tests of expm1.
19503         * math/auto-libm-test-out: Regenerated.
19504         * sysdeps/i386/fpu/libm-test-ulps: Update.
19505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19507 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19509         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19510         * math/auto-libm-test-out: Regenerated.
19511         * sysdeps/i386/fpu/libm-test-ulps: Update.
19512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19514         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19517         * math/auto-libm-test-in: Add more tests of log2.
19518         * math/auto-libm-test-out: Regenerated.
19519         * sysdeps/i386/fpu/libm-test-ulps: Update.
19520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19524         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19525         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19526         _IO_IS_APPENDING bit in READ_WRITE instead.
19528 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19530         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19531         (__determine_cpumask_size): Replace extend_alloca with a
19532         variable-length array.  Do not treat res == 0 as an error.
19534 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19536         [BZ #18100]
19537         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19538         and integer overflow.
19539         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19540         (main): Add integer overflow tests.
19541         * manual/pattern.texi (Calling Wordexp): Document additional use
19542         for WRDE_SYNTAX.
19544 2015-03-23  Alan Modra  <amodra@gmail.com>
19546         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19547         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19548         and false branch of conditional.
19549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19550         Likewise.
19552 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19554         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19555         libc-modules.h
19556         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19557         unused declaration of _hurd_intr_rpc_msg_in_trap.
19558         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19559         defined instead of whether it is non-zero.
19560         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19561         input constraint instead of both input and output constraint.  Use ecx
19562         clobber instead of %ecx.
19563         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19564         mutex_unlock): Use a statement expression instead of an expression list.
19565         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19566         type to vm_size_t instead of vm_address_t.
19567         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19568         defined instead of whether it is non-zero.
19569         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19570         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19571         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19572         comparisons with mapaddr.
19573         * nscd/nscd-client.h: Include <time.h>.
19574         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19575         9th parameter to __vm_region instead of int.
19576         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19577         * scripts/check-local-headers.sh (exclude): Add device/,
19578         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19579         cthreads.h.
19581 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19583         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19584         to account for alignment padding.
19585         * sysdeps/arm/memmove.S: Likewise.
19587 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19589         * sysdeps/unix/sysv/linux/generic/README: New file.
19591 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19593         [BZ #18138]
19594         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19595         (futex_abstimed_wait)
19596         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19597         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19598         of lll_futex_timed_wait.
19600 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19602         [BZ #17542]
19603         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19605 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19607         [BZ #17090]
19608         [BZ #17620]
19609         [BZ #17621]
19610         [BZ #17628]
19611         * NEWS: Update.
19612         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19613         entries with Static TLS too.  Skip entries past the end of the
19614         allocated DTV, from Alan Modra.
19615         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19616         Static TLS DTV entry set up from...
19617         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19618         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19619         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19620         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19621         for Static TLS.
19622         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19623         that the slot we find is associated with the given map before
19624         using its generation count.
19625         * nptl_db/db_info.c: Include ldsodefs.h.
19626         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19627         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19628         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19629         (link_map::l_tls_offset): New struct field.
19630         (dtv_t::counter): Likewise.
19631         (rtld_global): New struct.
19632         (_rtld_global): New rtld variable.
19633         (dl_tls_dtv_slotinfo_list): New rtld global field.
19634         (dtv_slotinfo_list): New struct.
19635         (dtv_slotinfo): Likewise.
19636         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19637         (td_lookup): Rename to...
19638         (td_mod_lookup): ... this.  Use new mod parameter instead of
19639         LIBPTHREAD_SO.
19640         * nptl_db/td_thr_tlsbase.c: Include link.h.
19641         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19642         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19643         addresses even if the DTV is out of date or missing them.
19644         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19645         index zero-length arrays.
19646         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19647         (td_lookup): Make it a macro implemented in terms of...
19648         (td_mod_lookup): ... this declaration.
19649         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19650         (DB_MAIN_VARIABLE): Likewise.
19652 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19654         [BZ #18134]
19655         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19657 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19659         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19661 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19663         [BZ #18128]
19664         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19665         (atomic_add, atomic_increment_and_test)
19666         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19668 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19670         * stdlib/setenv.c (__add_to_environ):
19671         Dump core quickly if setenv (..., NULL, ...) is called.
19673 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19675         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19676         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19677         all the necessary asm magic in one place.
19678         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19679         using those.
19681 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19683         [BZ #14906]
19684         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19685         traced file mtime. Use consistent log message.
19686         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19687         (register_traced_file): Call install_watches. Always set mtime.
19688         (invalidate_cache): Iterate over all trace files. Call install_watches.
19689         (inotify_check_files): Don't inline. Handle watching parent
19690         directories and configuration file movement in and out.
19691         (handle_inotify_events): New function.
19692         (main_loop_poll): Call handle_inotify_events.
19693         (main_loop_epoll): Likewise.
19694         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19695         (struct traced_file): Use array of inotify fds. Add parent directory,
19696         and basename.
19697         (struct database_dyn): Remove unused file_mtime.
19698         (init_traced_file): New inline function.
19699         (define_traced_file): New macro.
19700         * nss/nss_db/db-init.c: Use define_traced_file.
19701         (_nss_db_init): Use init_traced_file.
19702         * nss/nss_files/files-init.c: Use define_traced_file.
19703         (_nss_files_init): Use init_traced_file.
19705 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19707         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19708         [_LIBC]: Do not include <stdlib.h>.
19709         [!_LIBC] (abort): Remove declaration.
19710         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19711         _FP_STATIC_ASSERT instead of conditionally calling abort.
19712         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19713         (_FP_EXTEND_CNAN): Likewise.
19714         (FP_TRUNC): Likewise.
19715         (__FP_CLZ): Likewise.
19716         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19718 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19720         * manual/string.texi (XPG basename): Fix prototype.
19722 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19724         [BZ #18080]
19725         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19726         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19727         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19728         (__setcontext): Likewise.
19729         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19730         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19731         Call rt_sigprocmask syscall one time to set new signal mask
19732         and retrieve the current signal mask instead of two calls.
19733         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19734         (__swapcontext): Likewise.
19735         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19736         * stdlib/tst-setcontext2.c: New file.
19738 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19740         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19742 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19744         [BZ #18093]
19745         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19746         the wrong size.
19748 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19750         [BZ #18043]
19751         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19753 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19755         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19756         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19757         Remove define.
19758         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19759         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19760         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19761         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19762         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19763         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19764         define.
19765         * nptl_db/td_symbol_list.c (td_lookup): Remove
19766         HAVE_ASM_GLOBAL_DOT_NAME code.
19767         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19768         HAVE_ASM_GLOBAL_DOT_NAME check.
19769         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19770         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19771         (DOT_LABEL): Remove define.
19772         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19773         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19774         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19775         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19776         (__TLS_GET_ADDR): Likewise.
19777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19778         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19780 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19782         [BZ #18111]
19783         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19784         (_FPU_SETCW): Initialize cw from fpsr before storing.
19785         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19786         (fesetexceptflag): Rewrite using fpu_control.h.
19787         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19789 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19791         [BZ #18110]
19792         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19793         asms.
19794         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19796 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19798         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19799         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19800         abort.
19801         (_FP_FMA): Likewise.
19802         (_FP_DIV): Likewise.
19804 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19806         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19807         with 0 in that case.
19808         * Makefile (summarize-tests): New canned sequence, factored out of
19809         commands for targets tests and xtests.  Display summary lines that
19810         don't start with PASS: or XFAIL: rather than ones that do start with
19811         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19812         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19813         do start with ERROR: or FAIL:.
19814         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19815         (except for [$(build-shared) = yes]).
19816         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19817         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19818         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19819         * nptl/Makefile: Revert 2015-03-04 changes.
19820         [$(CXX) empty] (tests-unsupported): New variable.
19821         * debug/Makefile: Likewise.
19823         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19824         gnulib file.  Replace __attribute with __attribute__ throughout.
19826 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19828         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19830 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19832         [BZ #18104]
19833         * math/auto-libm-test-in: Add another test of pow.
19834         * math/auto-libm-test-out: Regenerated.
19836 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19839         $(config-cflags-nofma).
19841 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19843         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19844         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19845         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19846         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19847         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19848         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19849         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19850         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19851         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19852         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19853         Add comment on closing #endif.
19855 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19857         * posix/wordexp.c (CHAR_IN_SET): New macro.
19858         (parse_param): Use it.
19860 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19862         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19864 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19866         [BZ #18043]
19867         * posix/wordexp.c (parse_param): Fix buffer overflow.
19868         * posix/wordexp-test.c (test_case): Add test case.
19870 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19872         [BZ #18042]
19873         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19874         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19876 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19878         [BZ #18043]
19879         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19880         (do_bz18043): Delete.
19881         (at_page_end): New.
19882         (testit): Refactor to have words at the edge of unreadable page.
19884 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19886         [BZ #16734]
19887         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19888         Cleanup read-only streams as well.
19889         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19891 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19893         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19894         <bits/libc-lockP.h>
19896 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19898         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19899         on [__KERNEL__].
19900         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19901         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19902         * soft-fp/op-common.h (_FP_DECL): Likewise.
19904 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19906         * elf/ifuncdep2.c (global): Replace
19907         __attribute__((visibility("protected"))) with
19908         asm (".protected global").
19909         * elf/ifuncmod1.c (global): Likewise.
19910         * elf/ifuncmod5.c (global): Likewise.
19912 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19914         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19915         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19917 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19919         * manual/install.texi (Configuring and compiling):
19920         Document test-wrapper-env-only.
19921         * INSTALL: Regenerated.
19923 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19925         [BZ #18043]
19926         * posix/wordexp.c (parse_param): Fix buffer overflow.
19927         * posix/wordexp-test.c (do_bz18043): Add test case.
19929 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19931         * time/tst-strptime2.c (do_test): Ensure failing tests are
19932         reported correctly.
19933         * time/tst-strptime3.c (do_test): Likewise.
19935 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19937         Fix aio_error thread-safety.
19938         * sysdeps/pthread/aio_error.c: New file
19939         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19940         synchronization.
19942 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19944         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19945         (group_number, vfprintf): Use it.
19946         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19947         (JUMP, REF): Use it.
19948         (WORK_BUFFER_SIZE): New enum constant.
19949         (process_arg, vfprintf): Use it.
19951 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19953         * manual/errno.texi (Error Messages): Complete example function
19954         by adding missing #define.
19955         (program_invocation_name): Add statement indicating GNU
19956         extension and reference which header file declares the variable.
19957         (program_invocation_short_name): Likewise.
19959 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19961         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19962         compatibility note.
19964 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19966         * Makeconfig (test-wrapper-env-only): New variable.
19967         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19968         then use that with $(test-wrapper-env-only) rather than using
19969         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19971 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19973         [BZ #18082]
19974         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19975         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19976         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19977         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19978         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19979         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19980         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19981         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19982         Likewise.
19983         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19984         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19985         Likewise.
19986         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19987         Likewise.
19988         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19989         Likewise.
19990         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19991         Likewise.
19992         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19993         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19994         Likewise.
19995         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19996         Likewise.
19997         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19998         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20000 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20002         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20003         (ETH_ALEN): New macro.
20004         (struct ether_addr): Use it for length of ether_addr_octet.
20006         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20007         (setdb): Don't call __nss_configure_lookup for "rpc".
20008         (do_test): Don't call test_rpc.
20009         (output_rpcent, test_rpc): Functions moved ...
20010         * sunrpc/test-rpcent.c: ... to this new file.
20011         * sunrpc/Makefile (tests): Add it.
20013         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20014         __xpg_sigpause.
20015         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20016         * nptl/tst-signal6.c: Likewise.
20017         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20018         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20020         * configure.ac (libc_cv_cxx_link_ok): New check.
20021         Reset CXX to empty if it fails to link.
20022         * configure: Regenerated.
20023         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20024         bug-atexit3-lib only if $(CXX) is nonempty.
20025         * nptl/Makefile (tests): Likewise for tst-cancel24.
20026         (tests, tests-static): Likewise for tst-cancel24-static.
20027         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20028         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20029         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20030         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20032 2015-03-04  Andreas Schwab  <schwab@suse.de>
20034         [BZ #17631]
20035         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20036         for non-GCC compilers.
20037         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20038         Likewise.
20040 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20042         [BZ #17776]
20043         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20044         integer before bitwise and assembly operations.
20045         (feclearexcept): Likewise.
20046         * math/test-fenvinline.c: New file.
20047         * math/Makefile: Add test-fenvinline test.
20049 2015-03-03  Alan Modra  <amodra@gmail.com>
20051         [BZ #16512]
20052         * scripts/localplt.awk: Strip off symbol version.
20053         * NEWS: Mention bug fix.
20055 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20057         * sysdeps/pthread/timer_routines.c
20058         (timer_free_list, thread_free_list, thread_active_list): Make static.
20060 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20062         [BZ #17779]
20063         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20064         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20065         Undefine.
20066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20067         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20068         Likewise.
20069         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20070         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20071         Likewise.
20073 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20075         [BZ #18036]
20076         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20077         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20079 2015-03-02  Andreas Schwab  <schwab@suse.de>
20081         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20082         variable name.
20084 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20086         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20087         Return error status.
20089 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20091         [BZ #15969]
20092         * locale/findlocale.c (_nl_find_locale): Introduce const
20093         version of loc_name and drop unsafe type casts.
20095 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20097         * dlfcn/tststatic2.c (main): Converted to ...
20098         (do_test): ... this.
20099         (TEST_FUNCTION): New macro.
20100         Include test-skeleton.c.
20102 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20104         [BZ #17711]
20105         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20106         (tests-pie): Add vismain.
20107         (CFLAGS-vismain.c): New.
20108         * elf/vismain.c: Add comments for PIE requirement.
20110 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20112         [BZ #18046]
20113         [BZ #18047]
20114         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20115         0x1p-56L as threshold for just returning the argument.
20116         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20117         0x1p-32L as threshold for just returning the argument.
20118         * math/auto-libm-test-in: Add more tests of atanh.
20119         * math/auto-libm-test-out: Regenerated.
20120         * sysdeps/i386/fpu/libm-test-ulps: Update.
20121         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20123 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20125         * string/bcopy.c (bcopy): Call memmove for performance.
20127 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20129         * string/bzero.c (__bzero): Call memset for performance.
20131 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20133         [BZ #18068]
20134         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20135         to 00100000.
20137 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20139         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20141 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20143         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20144         (__kernel_standard): Use CSTR macro when setting exc.name.
20145         * sysdeps/ieee754/Makefile [$(subdir) = math]
20146         (CFLAGS-k_standard.c): Remove variable.
20148         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20149         setting p and q from "else if" to "else".
20150         (qzero): Likewise.
20151         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20152         (qone): Likewise.
20153         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20154         (qzerof): Likewise.
20155         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20156         (qonef): Likewise.
20157         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20158         (qzero): Likewise.
20159         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20160         (qone): Likewise.
20162         [BZ #18038]
20163         [BZ #18039]
20164         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20165         return pi/2 for arguments below 0x1p-113L.
20166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20167         return pi/2 for arguments below 0x1p-106L.
20168         * math/auto-libm-test-in: Add more tests of acos.
20169         * math/auto-libm-test-out: Regenerated.
20171         [BZ #16351]
20172         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20173         (MO): New macro.
20174         (__ieee754_asin): Force underflow exception for results with small
20175         absolute value.
20176         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20177         (MO): New macro.
20178         (__ieee754_asinf): Force underflow exception for results with
20179         small absolute value.
20180         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20181         (__ieee754_asin): Force underflow exception for results with small
20182         absolute value.
20183         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20184         (__ieee754_asinf): Force underflow exception for results with
20185         small absolute value.
20186         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20187         (__ieee754_asinl): Force underflow exception for results with
20188         small absolute value.
20189         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20190         (__ieee754_asinl): Force underflow exception for results with
20191         small absolute value.
20192         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20193         (__ieee754_asinl): Force underflow exception for results with
20194         small absolute value.
20195         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20196         Include <math.h>.
20197         * math/auto-libm-test-in: Do not mark underflow exceptions as
20198         possibly missing for bug 16351.
20199         * math/auto-libm-test-out: Regenerated.
20201         [BZ #18030]
20202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20203         of power of 2 down when low part has opposite sign.
20204         * math/libm-test.inc (logb_test_data): Add more tests.
20206 2015-02-26  Andreas Schwab  <schwab@suse.de>
20208         [BZ #18032]
20209         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20210         over collating symbol inside a bracket expression.  Minor cleanup.
20211         * posix/tst-fnmatch3.c (do_test): Add test case.
20213 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20215         [BZ #18029]
20216         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20217         Adjust exponent of power of 2 down when low part has opposite
20218         sign.
20219         * math/libm-test.inc (ilogb_test_data): Add more tests.
20221 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20223         [BZ #15969]
20224         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20225         the previous change.
20227         [BZ #15969]
20228         * locale/findlocale.c (_nl_find_locale): Retry archive search
20229         after alias expansion.
20231 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20233         * iconv/tst-iconv3.c (main): Converted to ...
20234         (do_test): ... this.
20235         (TEST_FUNCTION): New macro.
20236         Include test-skeleton.c.
20238         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20239         (convert): Make function static.
20240         (test_unalign): Likewise.  Add const to argument pointee types.
20241         (main): Replace with static function do_test.
20242         Print "Succeeded." only if RET is zero.
20243         (TEST_FUNCTION): New macro.
20244         Include test-skeleton.c.
20246         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20247         returns a null pointer.
20249 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20251         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20252         to __memcpy_ppc only for static builds.
20254 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20256         [BZ #18020]
20257         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20258         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20259         * math/auto-libm-test-in: Add more tests of asinh.
20260         * math/auto-libm-test-out: Regenerated.
20261         * sysdeps/i386/fpu/libm-test-ulps: Update.
20262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20264 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20266         [BZ #15850]
20267         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20268         and ip6_mtuinfo definitions here.
20269         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20270         in this define too.  Update comment.
20272 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20274         * elf/sprof.c (load_shobj): Tweak error message to match others.
20276 2015-02-24  Kevin Easton  <kevin@guarana.org>
20278         [BZ #16145] (partial fix)
20279         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20280         to reduce lock contention.
20282 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20284         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20285         (struct timex): Update time comment.
20286         (ADJ_SETOFFSET): Define.
20288 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20290         [BZ #18019]
20291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20292         2**56 not 2**28 as threshold for log (2x) formula.
20293         * math/auto-libm-test-in: Add more tests of acosh.
20294         * math/auto-libm-test-out: Regenerated.
20295         * sysdeps/i386/fpu/libm-test-ulps: Update.
20296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20298 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20300         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20301         parenthesis around the buf assignment.
20302         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20304 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20306         [BZ #16783]
20307         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20308         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20309         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20310         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20311         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20312         * math/libm-test.inc (scalb_test_data): Add more tests.
20314 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20316         [BZ #17916]
20317         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20318         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20320 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20322         [BZ #17523]
20323         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20324         * io/bits/fcntl2.h (open): Use it.
20325         (openat): Likewise.
20326         * io/open.c (__libc_open): Likewise.
20327         * io/open64.c (__libc_open64): Likewise.
20328         * io/open64_2.c (__open64_2): Likewise.
20329         * io/open_2.c (__open_2): Likewise.
20330         * io/openat.c (__openat): Likewise.
20331         * io/openat64.c (__openat64): Likewise.
20332         * io/openat64_2.c (__openat64_2): Likewise.
20333         * io/openat_2.c (__openat_2): Likewise.
20334         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20335         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20336         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20337         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20338         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20339         (__open_nocancel): Likewise.
20340         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20341         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20342         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20344 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20346         [BZ #14841]
20347         * resolv/gethnamaddr.c (getanswer): Skip logging if
20348         RES_USE_DNSSEC is set.
20349         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20351 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20353         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20355 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20357         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20358         201304L, for Unicode 7.
20360 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20362         [BZ #17836]
20363         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20364         shared library.  Add gmon-start.os otherwise.
20365         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20366         $(objpfx)gmon-start.os if builing shared library.
20367         ($(objpfx)g$(static-start-installed-name)): Likewise.
20369 2015-02-23  Andreas Schwab  <schwab@suse.de>
20371         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20373 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20375         [BZ #17269]
20376         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20377         (enlarge_userbuf): Likewise.
20379 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20381         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20382         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20383         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20384         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20386 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20388         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20389         expression inside statement expression.
20391 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20393         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20394         <sysdeps/nptl/lowlevellock.h> and remove macros and
20395         functions that are now defined there.
20396         (SYS_futex): Remove.
20397         (lll_compare_and_swap): Remove.
20398         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20400 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20402         [BZ #17999]
20403         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20404         instead of scandirat.
20405         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20406         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20407         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20408         __scandirat.
20409         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20410         (__scandirat): Declare.  Use libc_hidden_proto.
20411         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20412         Remove variable.
20413         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20415 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #15319]
20418         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20419         (MO): New macro.
20420         (__ieee754_atan2): For results with small absolute value, force
20421         underflow exception and remove excess range and precision from
20422         return value.
20423         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20424         (MO): New macro.
20425         (__ieee754_atan2f): For results with small absolute value, force
20426         underflow exception and remove excess range and precision from
20427         return value.
20428         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20429         (MO): New macro.
20430         (__atan): For results with small absolute value, force underflow
20431         exception and remove excess range and precision from return value.
20432         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20433         (MO): New macro.
20434         (__atanf): For results with small absolute value, force underflow
20435         exception and remove excess range and precision from return value.
20436         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20437         <math.h>.
20438         (__ieee754_atan2): Force underflow exception for results with
20439         small absolute value.
20440         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20441         <math_private.h>.
20442         (atan): Force underflow exception for results with small absolute
20443         value.
20444         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20445         (__atanf): Force underflow exception for results with small
20446         absolute value.
20447         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20448         <math.h>.
20449         (__atanl): Force underflow exception for results with small
20450         absolute value.
20451         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20452         (__atanl): Force underflow exception for results with small
20453         absolute value.
20454         * sysdeps/x86/fpu/bits/mathinline.h
20455         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20456         (__ieee754_atan2): Only define inline for long double.
20457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20458         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20459         * math/auto-libm-test-in: Do not mark underflow exceptions as
20460         possibly missing for bug 15319.  Add more tests of atan2.
20461         * math/auto-libm-test-out: Regenerated.
20462         * math/libm-test.inc (casin_test_data): Do not mark underflow
20463         exceptions as possibly missing for bug 15319.
20464         (casinh_test_data): Likewise.
20465         * sysdeps/i386/fpu/libm-test-ulps: Update.
20467 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20469         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20470         * sysdeps/mips/bits/endian.h: Fix comments.
20472 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20474         [BZ #17996]
20475         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20476         (hdestroy_r): Likewise.
20477         (hsearch_r): Likewise.
20478         (__hcreate_r): Declare and use libc_hidden_proto.
20479         (__hdestroy_r): Likewise.
20480         (__hsearch_r): Likewise.
20481         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20482         (hcreate): Call __hcreate_r instead of hcreate_r.
20483         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20484         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20485         as weak alias of __hcreate_r.
20486         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20487         __hdestroy_r.
20488         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20489         __hsearch_r.
20490         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20491         Remove variable.
20492         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20493         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20494         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20495         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20497 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20499         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20500         arena_lock into a single arena_get.
20502 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20504         * dl-reloc.c: Inlucde libc-internal.h.
20505         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20506         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20507         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20508         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20509         (grow_heap): Likewise.
20510         * malloc/malloc.c: Include libc-internal.h.
20511         (do_check_malloc): Call powerof2.
20512         (sysmalloc): Use pagesize. Call ALIGN_UP.
20513         (systrim): Use pagesize.
20514         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20515         (__libc_valloc): Use pagesize.
20516         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20518 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #17991]
20521         * include/sys/resource.h (__getrlimit64): Declare.  Use
20522         libc_hidden_proto.
20523         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20524         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20525         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20526         getrlimit64.
20527         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20528         __getrlimit64.
20529         [!getrlimit64] (getrlimit64): Define as weak alias of
20530         __getrlimit64.  Use libc_hidden_weak.
20531         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20532         using __getrlimit64 not __new_getrlimit64.
20533         (__GI_getrlimit64): Likewise.
20534         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20535         Likewise.
20536         (__GI_getrlimit64): Likewise.
20537         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20539         (getrlimit): Add __getrlimit64 alias.
20540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20541         Likewise.
20542         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20543         Remove variable.
20544         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20545         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20547 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20549         * libio/fileops.c: Add missing sys/mman.h
20550         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20552 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20554         * manual/math.texi (Errors in Math Functions): Clarify goals
20555         regarding inexact and underflow exceptions.
20557 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20559         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20560         * sysdeps/mips/memset.S: Ditto.
20562 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20564         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20566 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20568         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20569         (__v1longjmp): Remove versioned symbol.
20570         (__v1siglongjmp): Remove alias and versioned symbol.
20571         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20572         (__v2siglongjmp): Likewise.
20574 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20576         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20578 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20580         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20582 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20584         [BZ #17987]
20585         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20586         zero result does not depend on the sign resulting from
20587         subtraction.
20588         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20589         Likewise.
20590         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20591         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20592         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20593         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20594         * math/libm-test.inc (remquo_test_data): Add more tests.
20596 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20598         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20599         Problem reported by J William Piggott.
20601 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #17978]
20604         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20605         products 4 * y and 2 * y where those would overflow.
20606         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20607         Likewise.
20608         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20609         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20610         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20611         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20612         * math/libm-test.inc (remquo_test_data): Add more tests.
20614         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20616         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20617         [defined _COMPILING_NEWLIB].
20618         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20619         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20621         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20622         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20624 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20626         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20627         acquired.
20629 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20631         [BZ #17792]
20632         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20633         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20634         HOST_STACK_END_ADDR): Likewise.
20636 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20638         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20639         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20640         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20642 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20644         * sysdeps/generic/c++-types.data: New file.
20645         * sysdeps/generic/ld.abilist: New file.
20646         * sysdeps/generic/libBrokenLocale.abilist: New file.
20647         * sysdeps/generic/libanl.abilist: New file.
20648         * sysdeps/generic/libc.abilist: New file.
20649         * sysdeps/generic/libcrypt.abilist: New file.
20650         * sysdeps/generic/libdl.abilist: New file.
20651         * sysdeps/generic/libm.abilist: New file.
20652         * sysdeps/generic/libpthread.abilist: New file.
20653         * sysdeps/generic/libresolv.abilist: New file.
20654         * sysdeps/generic/librt.abilist: New file.
20656 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20658         [BZ #17569]
20659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20660         Compute absolute value of x as modified by fmod, not original
20661         value of x.
20662         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20663         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20664         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20665         RUN_TEST_ffI_f1_mod8.
20666         (remquo_test_data): Add more tests.
20668 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20670         * sysdeps/init_array/pt-crti.S: New file.
20672 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20674         [BZ #17967]
20675         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20676         __builtin_fmaf instead of relying on contraction of a * b + c.
20678 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20680         [BZ #17969]
20681         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20682         node.
20684 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20686         [BZ #17964]
20687         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20688         __builtin_fma instead of relying on contraction of a * b + c.
20690 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20692         * Makeconfig (ASFLAGS): Add -Werror=undef.
20693         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20694         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20695         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20697         * Makeconfig (after-link): New variable.
20698         (+link-pie, +link-pie-tests): Use it.
20699         (+link-static, +link-static-tests): Likewise.
20700         (+link, +link-tests): Likewise.
20701         * Makerules (build-module, build-module-asneeded): Likewise.
20702         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20703         Likewise.
20704         * elf/Makefile ($(objpfx)ld.so): Likewise.
20706 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20708         [BZ #17965]
20709         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20710         both struct timeval and struct timespec.
20712 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20714         [BZ #16560]
20715         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20716         and redefine.
20717         (__ieee754_exp2l): Do not multiply small fractional parts by
20718         M_LN2l.
20719         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20720         small argument.
20721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20722         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20723         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20724         * math/auto-libm-test-in: Add more tests of exp2.
20725         * math/auto-libm-test-out: Regenerated.
20727 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20729         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20730         unaligned path.
20732 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20734         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20735         little endian.
20737 2015-02-12  Andreas Schwab  <schwab@suse.de>
20739         [BZ #15790]
20740         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20741         Filter out elision flags from value returned in kind.
20742         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20743         * nptl/tst-pthread-mutexattr.c: New file.
20745 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20747         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20748         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20749         into gnu-gnu, and update comment to refer to abi-tags.
20751 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20753         [BZ #15467]
20754         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20755         (__sincos): Set errno to EDOM for infinite argument.
20756         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20757         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20758         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20759         (__sincosl): Set errno to EDOM for infinite argument.
20760         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20761         (__sincosl): Set errno to EDOM for infinite argument.
20762         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20763         (__sincosl): Set errno to EDOM for infinite argument.
20764         * math/libm-test.inc (sincos_test_data): Test errno setting.
20766 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20768         * string/strxfrm_l.c: Remove #define STRCMP.
20769         * string/strcoll_l.c: Remove #define STRLEN.
20770         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20771         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20773 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20775         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20776         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20777         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20778         * sysdeps/mips/mips64/Makefile: ... here.
20779         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20780         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20781         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20782         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20783         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20784         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20785         * sysdeps/mips/mips64/n64/Implies: Likewise.
20787 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20789         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20790         <sys/time.h>, <string.h>, and <errno.h>.
20791         (dest_offset, dest_address, value, zero): Remove unused variables.
20792         (ldouble): Remove typedef.
20793         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20794         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20795         1).  Fix code style.
20796         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20797         (check): Function removed.
20798         (CHECK): New macro.
20799         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20800         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20801         Don't call set_sigaction_FP and remove_sigaction_FP here.
20802         (ldouble_test): Just use 'long double' as macro argument, no need for
20803         the 'ldouble' typedef.
20804         (do_test): Set up SIGFPE handler at start, using plain signal rather
20805         than sigaction.  Fix code style.
20807 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20809         [BZ #17949]
20810         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20811         jump label.
20813 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20815         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20816         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20818         * sysdeps/powerpc/configure.ac: Remove file.
20819         * sysdeps/powerpc/configure: Likewise.
20821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20822         [sysdep_routines]: Remove wordcopy-power6 object.
20823         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20824         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20825         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20826         (__memmove_ppc32): Likewise.
20827         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20828         file.
20829         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20830         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20831         Remove preprocessor.
20833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20834         [sysdep_routines]: Remove wide chars objects.
20835         [wcsmbs]: New rule for wide char objects.
20837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20838         Remove wordcopy-power6 obejct.
20839         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20840         Use local call for wordcopy and memcpy symbols.
20841         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20842         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20843         implementation for loader.
20844         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20846         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20847         Remove wordcopy-power7 object.
20848         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20849         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20850         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20851         (_wordcopy_fwd_dest_aligned): Likewise.
20852         (_wordcopy_bwd_aligned): Likewise.
20853         (_wordcopy_bwd_dest_aligned): Likewise.
20855         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20856         Rewrite to call __memmove_ppc instead of include default
20857         implementation.
20859         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20860         Remove wide chars objects.
20861         [wcsmbs]: New rule for wide char objects.
20863 2015-02-09  Andreas Schwab  <schwab@suse.de>
20865         [BZ #17912]
20866         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20867         in terms of __O_DIRECTORY.
20869 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20871         * time/getdate.c: Include <stdbool.h>.
20872         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20873         call PTR_MANGLE.
20874         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20875         PTR_DEMANGLE.
20877 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20879         Add ersatz _Static_assert on older C hosts
20880         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20881         pre-C11 C platform that is not known to support _Static_assert.
20883 2015-02-07  Richard Braun  <rbraun@sceen.net>
20885         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20886         sigstate.
20887         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20889 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20891         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20892         priority against unexistent AIO_PRIO_DELTA_MAX.
20893         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20894         instead of int.
20895         * misc/fchflags.c (fchflags): Likewise.
20896         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20897         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20898         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20899         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20900         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20901         Declare macros.
20902         [__USE_MISC] (chflags, fchflags): Declare functions.
20903         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20904         EINVAL when nfds is greater than FD_SETSIZE.
20905         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20906         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20907         45.
20908         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20909         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20910         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20911         MACH_RCV_TIMED_OUT.
20912         * hurd/hurd/signal.h (_hurd_self_sigstate,
20913         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20914         Explicit casts from void *.
20915         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20916         * abi-tags: Rename gnu-gnu os into gnu.
20918         [BZ #4719]
20919         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20920         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20921         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20922         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20923         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20924         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20926         [BZ #17944]
20927         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20928         duplicates ADDR->sun_path with sockaddr LEN limitation.
20929         * sysdeps/mach/hurd/connect.c: Include <string.h>
20930         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20931         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20932         * sysdeps/mach/hurd/sendto.c: Likewise.
20933         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20934         implementing it by hand.
20936 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20938         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20939         Use sfi_breg on ldr.
20940         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20941         Likewise.
20943         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20944         it's defined.
20945         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20946         Test SIGSETXID only if it's defined.
20948         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20950         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20951         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20953         * nptl/tst-align2.c: Moved ...
20954         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20955         * nptl/Makefile (tests): Remove tst-align2.
20956         * sysdeps/unix/sysv/linux/Makefile
20957         [$(subdir) = nptl] (tests): Add tst-align-clone.
20958         * nptl/tst-getpid1.c: Moved ...
20959         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20960         * nptl/tst-getpid2.c: Moved ...
20961         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20962         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20963         * sysdeps/unix/sysv/linux/Makefile
20964         [$(subdir) = nptl] (tests): ... here.
20965         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20966         * sysdeps/unix/sysv/linux/Makefile
20967         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20969         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20970         Drop trailing \n from perror argument.  Use return rather than exit.
20972         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20973         on [SA_SIGINFO].
20974         * nptl/tst-cancel21.c (do_test): Likewise.
20975         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20976         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20977         [!SA_SIGINFO]: Make it a stub test.
20979         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20980         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20982         * posix/tst-getlogin.c: Move to ...
20983         * login/tst-getlogin.c: ... here.
20984         * posix/Makefile (tests): Move tst-getlogin to ...
20985         * login/Makefile (tests): ... here.
20987         * libio/tst-atime.c (do_test): Move local variables SV and E
20988         inside [ST_NOATIME] conditional.
20990         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20992         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20994         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20995         (wait_code): New function replaces macro.
20996         Call nanosleep rather than syscall.
20998         * nptl/pt-system.c: Rewritten.  Put everything under
20999         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21000         Use IFUNC to redirect when possible.
21002         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21003         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21004         Use IFUNC to redirect when possible.
21006         * nptl/pt-fork.c: Rewritten.  Put everything under
21007         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21008         Use IFUNC to redirect when possible.
21009         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21012         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21013         unconditionally nowadays.  This included the only reference to
21014         __vdso_clock_gettime that appears outside libc proper.
21015         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21016         Remove version set (containing only __vdso_clock_gettime).
21017         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21018         Add attribute_hidden.
21019         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21020         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21021         libc_hidden_data_def.
21022         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21023         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21025         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21026         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21027         setrpcent, and getrpcport to ...
21028         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21029         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21030         getrpcbynumber_r, and getrpcent_r to ...
21031         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21032         * inet/getrpcbyname.c: Moved ...
21033         * sunrpc/getrpcbyname.c: ... here.
21034         * inet/getrpcbyname_r.c: Moved ...
21035         * sunrpc/getrpcbyname_r.c: ... here.
21036         * inet/getrpcbynumber.c: Moved ...
21037         * sunrpc/getrpcbynumber.c: ... here.
21038         * inet/getrpcbynumber_r.c: Moved ...
21039         * sunrpc/getrpcbynumber_r.c: ... here.
21040         * inet/getrpcent.c: Moved ...
21041         * sunrpc/getrpcent.c: ... here.
21042         * inet/getrpcent_r.c: Moved ...
21043         * sunrpc/getrpcent_r.c: ... here.
21044         * inet/Makefile (routines): Move those to ...
21045         * sunrpc/Makefile (routines): ... here.
21046         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21047         the $(subdirs) list.
21048         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21049         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21050         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21051         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21053         * elf/Makefile (routines): Include $(all-dl-routines), not just
21054         $(dl-routines).
21055         (rtld-routines): Likewise.  Use = rather than :=.
21056         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21057         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21058         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21059         * sysdeps/arm/Makefile: Likewise.
21060         * sysdeps/i386/Makefile: Likewise.
21061         * sysdeps/x86_64/Makefile: Likewise.
21062         * sysdeps/hppa/Makefile [$(subdir) = elf]
21063         (sysdep_routines, sysdep-rtld-routines): Don't add
21064         $(sysdep-dl-routines) to these.
21065         * sysdeps/ia64/Makefile: Likewise.
21066         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21067         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21068         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21069         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21070         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21071         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21072         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21073         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21074         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21075         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21076         these; sysdep-dl-routines alone is enough.
21078 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #17932]
21081         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21082         where multiplication results in zero and third argument is finite
21083         and nonzero.
21084         * math/auto-libm-test-in: Add more tests of fma.
21085         * math/auto-libm-test-out: Regenerated.
21087         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21088         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21089         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21090         (_FP_CMP_EQ): Likewise.
21091         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21093         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21094         extra argument CHECK_NAN.  Redefine as wrapper around
21095         _FP_EXTEND_CNAN.
21097 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21099         * version.h (RELEASE): Set to "stable".
21100         (VERSION): Set to "2.21"
21101         * include/features.h (__GLIBC_MINOR__): Set to 21.
21103         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21105 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21106             Paul Eggert  <eggert@cs.ucla.edu>
21108         [BZ #16618]
21109         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21110         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21111         size in bytes. Store needed elements in wpmax. Use needed size
21112         in bytes for extend_alloca.
21114 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21116         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21117         binutls 2.25, and texinfo 5.2.
21118         * INSTALL: Regenerate.
21119         * sysdeps/nios2/configure: Regenerate.
21120         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21121         * manual/contrib.texi: Update.
21122         * po/be.po: Update.
21123         * po/bg.po: Update.
21124         * po/ca.po: Update.
21125         * po/cs.po: Update.
21126         * po/da.po: Update.
21127         * po/de.po: Update.
21128         * po/el.po: Update.
21129         * po/eo.po: Update.
21130         * po/es.po: Update.
21131         * po/fi.po: Update.
21132         * po/fr.po: Update.
21133         * po/gl.po: Update.
21134         * po/hr.po: Update.
21135         * po/hu.po: Update.
21136         * po/ia.po: Update.
21137         * po/id.po: Update.
21138         * po/it.po: Update.
21139         * po/ja.po: Update.
21140         * po/ko.po: Update.
21141         * po/lt.po: Update.
21142         * po/nb.po: Update.
21143         * po/nl.po: Update.
21144         * po/pl.po: Update.
21145         * po/pt_BR.po: Update.
21146         * po/ru.po: Update.
21147         * po/rw.po: Update.
21148         * po/sk.po: Update.
21149         * po/sl.po: Update.
21150         * po/sv.po: Update.
21151         * po/tr.po: Update.
21152         * po/uk.po: Update.
21153         * po/vi.po: Update.
21154         * po/zh_CN.po: Update.
21155         * po/zh_TW.po: Update.
21157         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21158         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21159         * sysdeps/hppa/dl-irel.h: Remove #warning.
21160         * sysdeps/hppa/entry.h: Provide prototype for
21161         __canonicalize_funcptr_for_compare and cast argument.
21162         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21163         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21164         * sysdeps/hppa/sotruss-lib.c: New file.
21165         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21166         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21167         (atomic_compare_and_exchange_bool_acq): Likewise.
21168         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21169         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21171         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21172         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21173         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21175 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21177         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21178         called function in non-PIC case.
21180 2015-01-31  David S. Miller  <davem@davemloft.net>
21182         * sysdeps/sparc/sparc32/bits/atomic.h
21183         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21184         unlock not after it.
21185         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21186         volatile register usage warnings from the compiler.
21188         * sysdeps/sparc/nptl/sem_init.c: Delete.
21189         * sysdeps/sparc/nptl/sem_post.c: Delete.
21190         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21191         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21192         * sysdeps/sparc/sparc32/sem_init.c: New file.
21193         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21194         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21195         padding explicitly initialized.
21196         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21197         padding for in-semaphore spinlock.
21198         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21199         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21200         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21201         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21202         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21203         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21204         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21205         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21206         version.
21207         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21208         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21210 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21212         [BZ #17801]
21213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21214         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21215         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21216         New.
21217         (index_AVX_Fast_Unaligned_Load): Likewise.
21218         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21219         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21220         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21221         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21222         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21223         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21224         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21225         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21226         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21228 2015-01-29  Andreas Schwab  <schwab@suse.de>
21230         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21232 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21234         [BZ #17892]
21235         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21237 2015-01-28  Martin Sebor  <msebor@redhat.com>
21239         * math/README.libm-test: Clarify. Add "How to read the test output."
21241 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21243         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21244         Define to 0.
21246 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21248         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21249         (__HAVE_64B_ATOMICS): Define to 0.
21251 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21253         [BZ #17885]
21254         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21255         value to set as new flag.
21257         [BZ #16576]
21258         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21259         and use _ARCH_PPCSQ instead.
21260         (__ieee754_sqrt): Likewise.
21261         (__ieee754_sqrtf): Likewise.
21262         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21263         _ARCH_PPCSQ is defined.
21264         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21265         fsqrt instruction.
21266         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21267         _ARCH_PPCSQ is defined.
21268         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21269         fsqrts instruction.
21270         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21272 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21274         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21275         bug (GCC BZ #64739).
21277 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21279         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21280         Mark _retval as used.
21281         (lll_futex_wake_unlock): Likewise.
21282         (lll_futex_timed_wait_requeue_pi): Likewise.
21284         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21285         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21286         register variables.
21288         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21289         libm_hidden_def.
21291         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21292         (__bswap_64): Mark as __always_inline.
21294 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21296         [BZ #15378]
21297         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21298         when none of the search directories exist.
21300 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21302         [BZ #17869]
21303         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21304         power8 in .machine directive.
21306         [BZ #17868]
21307         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21308         set dependency from opd value.
21310 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21313         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21314         architecture.
21316 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21318         [BZ #17870]
21319         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21320         with uint64_t.
21321         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21322         (uint64_t) 1.
21323         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21324         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21325         Replace 1UL with (uint64_t) 1.
21326         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21327         int with uint64_t.
21329 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21331         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21332         (if_freenameindex): Likewise.
21334         * resource/getrlimit64.c: Add missing libc_hidden_def.
21336 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21338         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21339         __label__.
21340         (_FP_FMA): Likewise.
21341         (_FP_TO_INT_ROUND): Likewise.
21342         (_FP_FROM_INT): Likewise.
21344 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21346         [BZ #16418]
21347         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21348         Make code racy and cancel safe.
21350 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21352         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21353         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21354         attribution.
21356         * pwd/tst-getpw.c: Rewrite.
21358         [BZ #17702]
21359         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21360         (modules-names): Add moddummy1 and moddummy2.
21361         ($(objpfx)tst-rec-dlopen): Define.
21362         * dlfcn/moddummy1.c: New file.
21363         * dlfcn/moddummy2.c: New file.
21364         * dlfcn/tst-rec-dlopen.c: New file.
21365         * elf/dl-cache.c (_dl_load_cache_lookup):
21366         Return char*. Copy result with alloca/strcpy/strdup.
21367         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21368         returns char*. Free cached. If not saving realname
21369         free cached.
21370         * elf/dl-open.c (dl_open_worker): Do not assert that
21371         _r_debug->r_state is RT_CONSISTENT.
21372         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21373         returns char*.
21375 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21376             Carlos O'Donell  <carlos@redhat.com>
21378         [BZ #12674]
21379         * nptl/sem_waitcommon.c: New file.
21380         * nptl/sem_wait.c: Include sem_waitcommon.c.
21381         (__sem_wait_cleanup, do_futex_wait): Remove.
21382         (__new_sem_wait): Adapt.
21383         (__new_sem_trywait): New function.
21384         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21385         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21386         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21387         (sem_timedwait): Adapt.
21388         * nptl/sem_post.c (__new_sem_post): Adapt.
21389         (futex_wake): New function.
21390         (__old_sem_post): Add release MO fence.
21391         * nptl/sem_open.c (sem_open): Adapt.
21392         * nptl/sem_init.c (__new_sem_init): Adapt.
21393         (futex_private_if_supported): New function.
21394         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21395         (__old_sem_getvalue): Add using previous code.
21396         * sysdeps/nptl/internaltypes.h: Adapt.
21397         * nptl/tst-sem13.c (do_test): Adapt.
21398         * nptl/tst-sem11.c (main): Adapt.
21399         * nptl/sem_trywait.c: Remove.
21400         * nptl/DESIGN-sem.txt: Remove.
21401         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21402         (gen-as-const-headers): Remove structsem.sym.
21403         * nptl/structsem.sym: Remove.
21404         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21405         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21406         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21407         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21408         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21409         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21410         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21411         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21412         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21413         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21414         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21415         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21416         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21417         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21418         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21419         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21420         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21421         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21422         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21423         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21424         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21425         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21427 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21429         * INSTALL: Regenerated.
21431         * po/libc.pot: Regenerated.
21433 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21434             Sandra Loosemore  <sandra@codesourcery.com>
21435             Andrew Jenner  <andrew@codesourcery.com>
21436             Joseph Myers  <joseph@codesourcery.com>
21437             Nathan Sidwell  <nathan@codesourcery.com>
21439         * NEWS: Mention new Nios II port.
21440         * sysdeps/nios2/Implies: New file.
21441         * sysdeps/nios2/Makefile: New file.
21442         * sysdeps/nios2/Subdirs: New file.
21443         * sysdeps/nios2/Versions: New file.
21444         * sysdeps/nios2/__longjmp.S: New file.
21445         * sysdeps/nios2/abort-instr.h: New file.
21446         * sysdeps/nios2/backtrace.c: New file.
21447         * sysdeps/nios2/bits/endian.h: New file.
21448         * sysdeps/nios2/bits/fenv.h: New file.
21449         * sysdeps/nios2/bits/link.h: New file.
21450         * sysdeps/nios2/bits/setjmp.h: New file.
21451         * sysdeps/nios2/bsd-_setjmp.S: New file.
21452         * sysdeps/nios2/bsd-setjmp.S: New file.
21453         * sysdeps/nios2/configure: New generated file.
21454         * sysdeps/nios2/configure.ac: New file.
21455         * sysdeps/nios2/crti.S: New file.
21456         * sysdeps/nios2/crtn.S: New file.
21457         * sysdeps/nios2/dl-init.c: New file.
21458         * sysdeps/nios2/dl-machine.h: New file.
21459         * sysdeps/nios2/dl-sysdep.h: New file.
21460         * sysdeps/nios2/dl-tls.h: New file.
21461         * sysdeps/nios2/dl-trampoline.S: New file.
21462         * sysdeps/nios2/gccframe.h: New file.
21463         * sysdeps/nios2/gmp-mparam.h: New file.
21464         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21465         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21466         * sysdeps/nios2/ldsodefs.h: New file.
21467         * sysdeps/nios2/libc-tls.c: New file.
21468         * sysdeps/nios2/libm-test-ulps: New file.
21469         * sysdeps/nios2/machine-gmon.h: New file.
21470         * sysdeps/nios2/math-tests.h: New file.
21471         * sysdeps/nios2/math_private.h: New file.
21472         * sysdeps/nios2/memusage.h: New file.
21473         * sysdeps/nios2/nptl/Makefile: New file.
21474         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21475         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21476         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21477         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21478         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21479         * sysdeps/nios2/nptl/tls.h: New file.
21480         * sysdeps/nios2/preconfigure: New file.
21481         * sysdeps/nios2/s_fma.c: New file.
21482         * sysdeps/nios2/s_fmaf.c: New file.
21483         * sysdeps/nios2/setjmp.S: New file.
21484         * sysdeps/nios2/sfp-machine.h: New file.
21485         * sysdeps/nios2/sotruss-lib.c: New file.
21486         * sysdeps/nios2/stackguard-macros.h: New file.
21487         * sysdeps/nios2/stackinfo.h: New file.
21488         * sysdeps/nios2/start.S: New file.
21489         * sysdeps/nios2/sysdep.h: New file.
21490         * sysdeps/nios2/tls-macros.h: New file.
21491         * sysdeps/nios2/tst-audit.h: New file.
21492         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21493         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21494         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21495         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21496         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21497         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21498         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21499         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21500         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21501         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21502         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21503         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21504         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21505         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21506         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21507         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21508         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21509         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21510         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21511         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21512         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21513         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21514         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21515         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21516         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21517         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21518         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21519         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21520         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21521         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21522         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21523         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21524         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21525         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21526         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21527         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21529         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21530         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21531         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21532         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21533         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21534         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21535         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21537 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21539         [BZ #17844]
21540         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21541         (getutent): Use weak_alias in non SHARED case
21542         and default_symbol_version in SHARED case.
21543         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21544         (getutent_r, pututline): Likewise.
21545         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21546         (getutid): Likewise.
21547         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21548         (getutid_r): Likewise.
21549         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21550         (getutline): Likewise.
21551         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21552         (getutline_r): Likewise.
21553         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21554         (updwtmp): Likewise.
21556 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21558         [BZ #17848]
21559         * sysdeps/s390/s390-32/memcmp.S
21560         (memcmp_g5): Rename to __memcmp_g5.
21561         * sysdeps/s390/s390-32/memcpy.S
21562         (memcpy_g5): Rename to __memcpy_g5.
21563         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21564         (memcpy_mvcle) Rename to __memcpy_mvcle.
21565         * sysdeps/s390/s390-32/memset.S
21566         (memset_g5): Rename to __memset_g5.
21567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21568         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21569         and use prefixed functions.
21570         * sysdeps/s390/s390-32/multiarch/memcmp.S
21571         (memcmp_z196): Rename to __memcmp_z196.
21572         (memcmp_z10): Rename to __memcmp_z10.
21573         (memcmp): Set alias to __memcmp_g5.
21574         (bcmp): Set alias to __memcmp_g5.
21575         * sysdeps/s390/s390-32/multiarch/memcpy.S
21576         (memcpy_z196): Rename to __memcpy_z196.
21577         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21578         (memcpy_z10): Rename to __memcpy_z10.
21579         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21580         (memcpy): Set alias to __memcpy_g5.
21581         * sysdeps/s390/s390-32/multiarch/memset.S
21582         (memset_z196): Rename to __memset_z196.
21583         Jump to __memset_mvcle instead of memset_mvcle.
21584         (memset_z10): Rename to __memset_z10.
21585         Jump to __memset_mvcle instead of memset_mvcle.
21586         (memset_mvcle) Rename to __memset_mvcle.
21587         (memset): Set alias to __memset_g5.
21588         * sysdeps/s390/s390-64/memcmp.S
21589         (memcmp_z900): Rename to __memcmp_z900.
21590         * sysdeps/s390/s390-64/memcpy.S
21591         (memcpy_z900): Rename to __memcpy_z900.
21592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21593         (memcpy_mvcle) Rename to __memcpy_mvcle.
21594         * sysdeps/s390/s390-64/memset.S
21595         (memset_z900): Rename to __memset_z900.
21596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21597         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21598         and use prefixed functions.
21599         * sysdeps/s390/s390-64/multiarch/memcmp.S
21600         (memcmp_z196): Rename to __memcmp_z196.
21601         (memcmp_z10): Rename to __memcmp_z10.
21602         (memcmp): Set alias to __memcmp_z900.
21603         (bcmp): Set alias to __memcmp_z900.
21604         * sysdeps/s390/s390-64/multiarch/memcpy.S
21605         (memcpy_z196): Rename to __memcpy_z196.
21606         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21607         (memcpy_z10): Rename to __memcpy_z10.
21608         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21609         (memcpy): Set alias to __memcpy_z900.
21610         * sysdeps/s390/s390-64/multiarch/memset.S
21611         (memset_z196): Rename to __memset_z196.
21612         Jump to __memset_mvcle instead of memset_mvcle.
21613         (memset_z10): Rename to __memset_z10.
21614         Jump to __memset_mvcle instead of memset_mvcle.
21615         (memset_mvcle) Rename to __memset_mvcle.
21616         (memset): Set alias to __memset_z900.
21618 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21620         [BZ #17748]
21621         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21622         __fesetenv instead of fesetenv.
21624 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21626         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21627         macro.
21629 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21631         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21632         regression on LE.
21634         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21635         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21637         strncmp-power8 object.
21638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21639         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21640         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21641         * NEWS: Update.
21643 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21644             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21646         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21647         trailing byte check.
21649 2015-01-13  David S. Miller  <davem@davemloft.net>
21651         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21653 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21655         * login/logout.c (logout): Use memset rather than bzero.
21656         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21657         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21658         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21659         (_gethtbyaddr): Likewise.
21660         * locale/programs/simple-hash.c (bcopy): Macro removed.
21662 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21664         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21665         Add strcmp-power8 object.
21666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21667         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21668         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21669         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21670         __strcmp_power8 implementation.
21671         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21672         * NEWS: Update.
21674         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21675         Add strncpy-power8 and stpncpy-power8 objects.
21676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21677         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21678         implementations.
21679         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21681         __stpncpy_power8 implementation.
21682         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21683         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21684         __strncpy_power8 implementation.
21685         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21686         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21687         * NEWS: Update.
21689         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21690         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21691         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21694         strncat-power8 object.
21695         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21696         __strcat_power8 implementation.
21697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21698         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21699         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21700         optimized strcat for power8.
21702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21703         strcpy-power8 and stpcpy-power8 objects.
21704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21705         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21706         implementations.
21707         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21708         multiarch stpcpy implementation for POWER8.
21709         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21710         multiarch strcpy implementation for POWER8.
21711         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21712         __strcpy_power8 function.
21713         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21714         stpcpy for POWER8.
21715         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21716         strcpy for POWER8.
21717         * NEWS: Update.
21719 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21721         [BZ #16009]
21722         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21723         weights and rules. Use do_xfrm_cached if data fits in cache,
21724         do_xfrm otherwise.  Moved former main loop to...
21725         * (do_xfrm_cached): New function.
21726         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21727         find_idx, find_position and stack_push.
21728         * (find_idx): New function.
21729         * (find_position): Likewise.
21730         * localedata/sort-test.sh: Added test run for do_xfrm.
21731         * localedata/xfrm-test.c (main): Added command line option
21732         -nocache to run the test with strings that are too large for
21733         the STRXFRM cache.
21735 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21737         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21738         variable to lll_futex_wake call, not the value itself.
21740 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21742         [BZ #17803]
21743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21744         twom64.  Adjust value to 0x1p-64L.
21745         (__scalblnl): Only return standard underflowing result for K <=
21746         -64 not K <= -63; adjust exponent for underflowing result by 64
21747         not 63.
21748         * math/libm-test.inc (scalbn_test_data): Add more tests.
21749         (scalbln_test_data): Likewise.
21751         [BZ #17834]
21752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21753         0x1p63L.
21754         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21755         not HX.
21756         * math/libm-test.inc (scalbn_test_data): Add more tests.
21757         (scalbln_test_data): Likewise.
21759 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21760             Stefani Seibold  <stefani@seibold.net>
21762         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21763         (sysdep_routines): Add dl-vdso here, ...
21764         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21765         (sysdep_routines): ... not here.
21766         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21767         fallback when vDSO is not presented.
21768         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21769         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21770         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21771         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21772         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21773         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21774         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21775         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21776         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21777         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21778         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21779         fallback configurable symbol when vDSO is not available.
21780         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21781         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21782         be able to redefine fallback symbol when vDSO is not available.
21783         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21784         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21786 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21788         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21789         (TLS_INIT_TP): Add tm_capable initialization.
21790         (TLS_DEFINE_INIT_TP): Likewise.
21791         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21792         TCB.
21793         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21794         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21795         calculation.
21796         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21797         transactoion is lock elision is built and TCB tm_capable is set.
21798         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21800         (INTERNAL_SYSCALL_NCS): Likewise.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21802         (INTERNAL_SYSCALL_NCS): Likewise.
21803         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21805         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21806         for powerpc.
21807         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21808         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21809         and remove it for 32 bits case.
21810         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21812         initialization.
21813         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21814         Disable lock elision with rdlocks if elision is not available.
21816         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21817         (sysdep_routines): Add lock elision objects.
21818         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21819         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21820         [pthread_mutex_t] (__elision): Add field.
21821         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21822         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21823         elision definitions for powerpc.
21824         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21825         implementation of lock elision for powerpc.
21826         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21827         implementation of timed lock elision for powerpc.
21828         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21829         implementation of trylock with lock elision for powerpc.
21830         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21831         implementaion of unlock for lock elision for powerpc.
21832         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21833         automatic enable lock elision for mutexes.
21834         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21835         transaction execution definitions for powerpc.
21836         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21837         definitions.
21838         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21839         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21840         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21841         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21842         * NEWS: Update.
21844 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21846         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21847         for #include of <shm-directory.h>.
21849 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21851         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21852         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21854 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21856         [BZ #17791]
21857         * NEWS: Mention bug fix.
21858         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21859         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21860         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21862 2015-01-09  Torvald Riegel <triegel@redhat.com>
21864         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21866 2015-01-09  Torvald Riegel <triegel@redhat.com>
21868         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21870 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21872         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21873         pointer and cast to uintptr_t.
21875 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21877         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21878         removed.
21879         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21881 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21883         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21884         of 0.
21886 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21888         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21889         <nptl/pthreadP.h> instead.
21890         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21892         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21893         already defined.
21894         [__SIGRTMIN] (init): Function removed.
21895         [__SIGRTMIN] (initialized): Variable removed.
21896         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21897         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21898         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21899         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21900         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21901         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21902         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21903         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21904         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21905         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21906         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21907         * sysdeps/nptl/allocrtsig.c: New file.
21908         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21909         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21910         * sysdeps/generic/testrtsig.h: File removed.
21912         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21913         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21915         * nptl/nptl-init.c (pthread_functions): Conditionalize
21916         .ptr__nptl_setxid initialization on [SIGSETXID].
21918         * sysdeps/nptl/sys/procfs.h: New file.
21919         * nptl_db/Makefile (headers): Add it.
21920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21922         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21923         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21924         * nptl/pthread_attr_setaffinity.c: Include it.
21925         * nptl/pthread_setattr_default_np.c: Likewise.
21926         * nptl/check-cpuset.h: New file.
21928 2015-01-08  Richard Henderson  <rth@redhat.com>
21930         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21931         (CFLAGS-tst-execstack-prog.c): Likewise.
21932         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21934 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21935             Sandra Loosemore  <sandra@codesourcery.com>
21936             Andrew Jenner  <andrew@codesourcery.com>
21937             Joseph Myers  <joseph@codesourcery.com>
21938             Nathan Sidwell  <nathan@codesourcery.com>
21940         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21941         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21942         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21943         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21944         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21945         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21946         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21947         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21948         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21949         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21950         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21951         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21952         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21953         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21954         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21955         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21956         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21958 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21961         timespec struct member in syscall macro.
21962         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21963         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21964         first timeval struct member in syscall macro.
21965         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21967 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21969         [BZ #17748]
21970         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21971         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21972         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21973         __feupdateenv and define as weak alias of __feupdateenv.  Use
21974         libm_hidden_weak.
21975         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21976         libm_hidden_def.
21977         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21978         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21979         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21980         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21981         libm_hidden_def.
21982         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21983         __feupdateenv and define as weak alias of __feupdateenv.  Use
21984         libm_hidden_weak.
21985         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21986         libm_hidden_def.
21987         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21988         __feupdateenv and define as weak alias of __feupdateenv.  Use
21989         libm_hidden_weak.
21990         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21991         libm_hidden_def.
21992         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21993         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21994         (__feupdateenv): Likewise.
21995         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21996         __feupdateenv and define as weak alias of __feupdateenv.  Use
21997         libm_hidden_weak.
21998         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21999         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22000         libm_hidden_def.
22001         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22002         function.
22003         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22004         libm_hidden_def.
22005         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22006         __feupdateenv instead of feupdateenv.
22007         (default_libc_feupdateenv_test): Likewise.
22008         (libc_feresetround_ctx): Likewise.
22010 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22012         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22013         prototype.
22015 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22017         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22018         COLL_SYM in a couple of places to avoid uninitialized variable
22019         wanings on tilegx gcc 4.8.2.
22021 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22023         * sysdeps/aarch64/strcpy.S: New file.
22024         * sysdeps/aarch64/stpcpy.S: New file.
22025         * NEWS: Updated.
22027 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22029         * sysdeps/aarch64/strrchr.S: New file.
22030         * NEWS: Updated.
22032 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22034         [BZ #17658]
22035         * stdlib/setenv.c: Fix memory leak when setting large,
22036         duplicate string.
22038 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22040         [BZ #17273]
22041         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22042         and tabs from buffer before parsing fstab entry.
22043         * misc/tst-mntent.c (main): Add test for mount entry with
22044         trailing spaces and tabs.
22046 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22048         [BZ #17748]
22049         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22050         * math/fesetround.c (fesetround): Rename to __fesetround and
22051         define as weak alias of __fesetround.  Use libm_hidden_weak.
22052         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22053         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22054         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22055         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22056         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22057         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22058         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22059         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22060         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22061         __fesetround_inline.
22062         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22063         __fesetround_inline instead of __fesetround.
22064         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22065         __fesetround and define as weak alias of __fesetround.  Use
22066         libm_hidden_weak.  Call __fesetround_inline instead of
22067         __fesetround.
22068         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22069         __fesetround and define as weak alias of __fesetround.  Use
22070         libm_hidden_weak.
22071         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22072         Likewise.
22073         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22074         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22075         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22076         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22077         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22078         __fesetround and define as weak alias of __fesetround.  Use
22079         libm_hidden_weak.
22080         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22081         __fesetround instead of fesetround.
22082         (default_libc_feholdexcept_setround): Likewise.
22083         (libc_feholdsetround_ctx): Likewise.
22084         (libc_feholdsetround_noex_ctx): Likewise.
22086         [BZ #17748]
22087         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22088         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22089         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22090         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22091         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22092         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22093         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22094         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22095         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22096         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22097         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22098         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22099         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22100         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22101         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22102         libm_hidden_def.
22103         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22104         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22105         Likewise.
22106         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22107         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22108         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22109         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22110         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22111         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22112         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22113         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22114         __fesetenv instead of fesetenv.
22115         (libc_feresetround_noex_ctx): Likewise.
22116         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22117         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22118         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22119         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22120         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22121         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22122         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22123         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22124         (__feupdateenv): Likewise.
22125         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22126         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22127         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22128         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22130 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22132         [BZ #17806]
22133         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22134         addresses have been freed.
22136 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22138         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22139         and nservall.
22141 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22143         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22144         Clean up check_pf allocation pattern. addresses
22146 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22148         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22149         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22150         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22151         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22152         * nptl/pthread_join.c (pthread_join): Likewise.
22153         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22154         * sysdeps/posix/waitid.c (__waitid): Likewise.
22155         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22156         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22157         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22158         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22160         Likewise.
22161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22162         (__libc_pread64): Likewise.
22163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22164         (__libc_pwrite): Likewise.
22165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22166         (__libc_pwrite64): Likewsie.
22167         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22168         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22169         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22170         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22171         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22172         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22173         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22175         Likewise.
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22177         (__libc_pread64): Likewise.
22178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22179         Likewise.
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22181         (__libc_pwrite64): Likewise.
22182         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22183         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22184         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22185         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22186         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22187         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22188         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22189         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22190         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22191         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22192         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22193         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22194         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22195         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22196         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22197         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22198         Likewise.
22200 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22202         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22203         (CFLAGS-test-double.c): Likewise.
22204         (CFLAGS-test-ldouble.c): Likewise.
22205         (CPPFLAGS-test-ifloat.c): Likewise.
22206         (CPPFLAGS-test-idouble.c): Likewise.
22207         (CPPFLAGS-test-ildoubl.c): Likewise.
22208         (CFLAGS-test-test-fenv.c): Remove variable.
22209         (CFLAGS-test-misc.c): Likewise.
22211 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22213         [BZ #17797]
22214         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22215         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22216         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22217         CLOCKS_PER_SEC == 1000000.
22218         * time/clocktest.c (main): Replace %ld with %jd and cast to
22219         intmax_t.
22221 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22223         * sysdeps/generic/unwind-resume.h: New file.
22224         * sysdeps/gnu/unwind-resume.c: Include it.
22225         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22226         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22227         argument list.
22228         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22229         global rather than static.
22230         (_Unwind_Resume): Update user.
22231         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22232         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22233         rather than static.  Add __attribute__ ((cold)).
22234         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22235         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22236         * sysdeps/arm/arm-unwind-resume.S: New file.
22237         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22238         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22239         * sysdeps/arm/Makefile [$(subdir) = csu]
22240         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22241         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22242         Add rt-arm-unwind-resume.
22243         [$(subdir) = nptl]
22244         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22245         Add pt-arm-unwind-resume.
22246         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22247         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22249 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22251         [BZ #17748]
22252         * include/fenv.h (__feholdexcept): Declare.  Use
22253         libm_hidden_proto.
22254         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22255         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22256         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22257         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22258         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22259         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22260         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22261         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22262         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22263         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22264         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22265         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22266         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22267         (feholdexcept): Likewise.
22268         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22269         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22270         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22271         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22272         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22273         __feholdexcept instead of feholdexcept.
22274         (default_libc_feholdexcept_setround): Likewise.
22276 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22278         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22279         to avoid using stl/str to align destination.
22281 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22283         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22285 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22287         [BZ #17796]
22288         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22289         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22290         Define as weak alias not strong alias.
22292 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22294         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22295         bltzal with addiupc.
22296         (RTLD_START): Ditto.
22298 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22300         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22301         for __vdso_* functions in declarations.
22302         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22303         definitions.
22304         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22305         INTERNAL_VSYSCALL): Use struct return types to check for error.
22307         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22308         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22309         function with cast from llround().
22310         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22311         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22312         Define.
22314 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22316         [BZ #17793]
22317         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22318         Define as weak alias not strong alias.
22320         [BZ #17635]
22321         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22322         ...
22323         * ctype/ctype-extn.c: ... here.
22324         (__isblank_l): Move to ...
22325         * ctype/ctype-c99_l.c: ... here.  New file.
22326         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22327         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22328         Remove variable.
22329         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22330         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22331         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22332         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22333         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22335         [BZ #17777]
22336         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22337         (posix_fadvise64): Define as weak alias not strong alias.
22338         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22339         (posix_fallocate64): Likewise.
22340         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22341         Remove variable.
22342         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22343         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22344         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22345         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22346         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22348 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22350         [BZ #16191]
22351         * NEWS: Mention bug fix.
22352         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22353         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22354         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22355         (HOST_STACK_END_ADDR): Likewise.
22357 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #17748]
22360         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22361         * math/fegetround.c (fegetround): Rename to __fegetround and
22362         define as weak alias of __fegetround.  Use libm_hidden_weak.
22363         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22364         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22365         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22366         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22367         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22368         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22369         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22370         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22371         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22372         Undefine after rather than before function definition; use
22373         parentheses around function name in definition.
22374         (__fegetround): Also undefine macro after function definition.
22375         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22376         __fegetround and define as weak alias of __fegetround.  Use
22377         libm_hidden_weak.  Do not undefine as macro.
22378         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22379         Likewise.
22380         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22381         __fegetround and define as weak alias of __fegetround.  Use
22382         libm_hidden_weak.
22383         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22384         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22385         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22386         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22387         __fegetround and define as weak alias of __fegetround.  Use
22388         libm_hidden_weak.
22389         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22390         __fegetround instead of fegetround.
22392         [BZ #17782]
22393         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22394         Condition macro definition on [__USE_MISC].
22396         [BZ #17781]
22397         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22398         (struct sigaction): Change type of sa_flags field to int.
22400         [BZ #17780]
22401         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22402         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22403         __glibc_reserved0.
22405         * nptl/version.c (banner): Use single year in copyright notice.
22407         * NEWS: Update copyright dates.
22408         * catgets/gencat.c (print_version): Likewise.
22409         * csu/version.c (banner): Likewise.
22410         * debug/catchsegv.sh: Likewise.
22411         * debug/pcprofiledump.c (print_version): Likewise.
22412         * debug/xtrace.sh (do_version): Likewise.
22413         * elf/ldconfig.c (print_version): Likewise.
22414         * elf/ldd.bash.in: Likewise.
22415         * elf/pldd.c (print_version): Likewise.
22416         * elf/sotruss.sh: Likewise.
22417         * elf/sprof.c (print_version): Likewise.
22418         * iconv/iconv_prog.c (print_version): Likewise.
22419         * iconv/iconvconfig.c (print_version): Likewise.
22420         * locale/programs/locale.c (print_version): Likewise.
22421         * locale/programs/localedef.c (print_version): Likewise.
22422         * login/programs/pt_chown.c (print_version): Likewise.
22423         * malloc/memusage.sh (do_version): Likewise.
22424         * malloc/memusagestat.c (print_version): Likewise.
22425         * malloc/mtrace.pl: Likewise.
22426         * manual/libc.texinfo: Likewise.
22427         * nptl/version.c (banner): Likewise.
22428         * nscd/nscd.c (print_version): Likewise.
22429         * nss/getent.c (print_version): Likewise.
22430         * nss/makedb.c (print_version): Likewise.
22431         * posix/getconf.c (main): Likewise.
22432         * scripts/test-installation.pl: Likewise.
22433         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22435 2015-01-02  Will Newton  <will.newton@linaro.org>
22437         * sysdeps/arm/armv7/configure: Removed.
22438         * sysdeps/arm/armv7/configure.ac: Likewise.
22440 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22442         * All files with FSF copyright notices: Update copyright dates
22443         using scripts/update-copyrights.
22444         * intl/plural.c: Regenerated.
22445         * locale/programs/charmap-kw.h: Likewise.
22446         * locale/programs/locfile-kw.h: Likewise.
22448 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22450         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22452 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22454         [BZ #17748]
22455         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22456         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22457         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22458         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22459         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22460         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22461         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22462         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22463         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22464         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22465         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22466         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22467         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22468         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22469         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22470         libm_hidden_def.
22471         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22473         Likewise.
22474         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22475         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22476         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22477         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22478         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22479         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22480         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22481         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22482         __fegetenv instead of fegetenv.
22483         (libc_feholdsetround_noex_ctx): Likewise.
22485 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22487         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22488         (Elf_MIPS_ABIFlags_v0): New structure.
22489         (EF_MIPS_FP64): Define.
22490         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22491         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22492         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22493         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22494         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22495         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22496         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22497         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22498         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22499         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22500         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22501         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22502         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22503         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22504         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22505         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22506         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22507         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22508         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22509         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22510         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22511         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22512         field.
22513         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22514         EF_MIPS_FP64.
22515         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22516         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22517         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22518         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22519         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22520         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22521         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22522         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22523         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22524         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22525         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22526         record the current FP ABI extension.
22527         (mips-mode-switch): Define to show if kernel headers support mode
22528         switching.
22529         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22530         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22531         supported SYSV ABI version to 3.
22532         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22533         feature.
22535 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22536             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22538         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22539         path.
22540         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22542 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22544         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22545         __fegetround and redefine to call __fegetround.  Remove condition
22546         on [!__NO_MATH_INLINES].
22547         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22548         function.
22549         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22550         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22551         Remove macro.
22552         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22553         instead of <fenv_libc.h>.
22554         (__llrintl): Call fegetround instead of __fegetround.
22555         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22556         instead of <fenv_libc.h>.
22557         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22558         (__lrintl): Call fegetround instead of __fegetround.
22559         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22560         instead of <fenv_libc.h>.
22561         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22562         (__rintl): Call fegetround instead of __fegetround.
22564 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22566         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22567         arrays.
22569 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22571         [BZ #17775]
22572         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22573         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22574         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22576 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22578         * sysdeps/i386/tls-macros.h: Include <features.h>.
22579         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22580         (TLS_IE): Likewise.
22581         (TLS_LD): Likewise.
22582         (TLS_GD): Likewise.
22583         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22584         define for GCC >= 5.0.
22586 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22588         * math/test-fenv.c (test_single_exception, set_single_exc,
22589         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22590         feexcp_mask_test, feenable_test, fe_single_test): Add
22591         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22592         case where they are not used.
22593         * math/libm-test.inc: Likewise.
22594         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22595         unused in the absence of FP rounding/exception support.
22596         * stdio-common/tst-printf-round.c: Likewise.
22597         * stdlib/tst-strtod-round.c: Likewise.
22598         * stdlib/tst-strtod-underflow.c: Likewise.
22600 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #17723]
22603         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22604         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22605         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22606         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22607         libm_hidden_weak.
22608         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22609         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22610         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22611         libm_hidden_def.
22612         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22613         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22614         libm_hidden_weak.
22615         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22616         Likewise.
22617         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22618         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22619         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22620         libm_hidden_weak.
22621         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22622         libm_hidden_def.
22623         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22625         (__feraiseexcept): Likewise.
22626         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22627         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22628         libm_hidden_weak.
22629         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22630         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22631         libm_hidden_def.
22632         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22633         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22634         Use libm_hidden_def.
22635         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22636         libm_hidden_def.
22637         (feraiseexcept): Define as weak not strong alias.  Use
22638         libm_hidden_weak.
22639         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22640         New inline function.  Factored out of ...
22641         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22642         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22643         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22644         feraiseexcept.
22645         * math/w_acos.c (__acos): Likewise.
22646         * math/w_asin.c (__asin): Likewise.
22647         * math/w_ilogb.c (__ilogb): Likewise.
22648         * math/w_j0.c (y0): Likewise.
22649         * math/w_j1.c (y1): Likewise.
22650         * math/w_jn.c (yn): Likewise.
22651         * math/w_log.c (__log): Likewise.
22652         * math/w_log10.c (__log10): Likewise.
22653         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22654         * sysdeps/aarch64/fpu/math_private.h
22655         (libc_feupdateenv_test_aarch64): Likewise.
22656         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22657         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22658         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22659         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22660         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22661         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22662         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22663         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22664         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22665         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22667 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22669         [BZ #17732]
22670         * io/test-utime.c (main): Replace %ld with %jd and cast to
22671         intmax_t.
22672         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22673         * nptl/tst-mutex5.c: Include <stdint.h>.
22674         (do_test): Replace %ld with %jd and cast to intmax_t.
22675         * posix/tst-regex.c (run_test): Likewise.
22676         (run_test_backwards): Likewise.
22677         * rt/tst-clock.c: Include <stdint.h>.
22678         (clock_test): Replace %ld with %jd and cast to intmax_t.
22679         * rt/tst-cpuclock1.c: Include <stdint.h>.
22680         (do_test): Replace %lu with %ju and cast to uintmax_t.
22681         * rt/tst-cpuclock2.c: Include <stdint.h>.
22682         (do_test): Replace %lu with %ju and cast to uintmax_t.
22683         * rt/tst-mqueue1.c: Include <stdint.h>.
22684         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22685         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22686         intmax_t.
22687         * rt/tst-mqueue4.c (do_test): Likewise.
22688         * rt/tst-timer4.c: Include <stdint.h>.
22689         (check_ts): Replace %ld with %jd and cast to intmax_t.
22690         (do_test): Likewise.
22691         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22692         and cast to intmax_t.
22693         * sysdeps/pthread/tst-timer.c (main): Likewise.
22694         * time/clocktest.c (main): Likewise.
22695         * time/tst-posixtz.c (do_test): Likewise.
22696         * timezone/tst-timezone.c (main): Likewise.
22698 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22699             H.J. Lu  <hongjiu.lu@intel.com>
22701         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22702         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22703         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22704         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22705         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22706         version if bit_Fast_Unaligned_Load is set.
22707         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22708         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22709         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22710         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22711         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22712         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22714         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22715         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22716         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22717         to 4.
22718         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22719         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22720         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22721         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22723 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22725         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22726         instead of #if to avoid a Wundef warning.
22727         * stdlib/tst-limits.c (do_test): Likewise.
22729         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22730         parallel other exception macros.
22731         (fegetenv): Convert from macro to extern inline so that it applies
22732         retroactively to inline functions already seen by the compiler.
22733         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22735         * posix/Makefile (before-compile): Use $(objpfx) for
22736         posix-conf-vars-def.h.
22738 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22740         * posix/getconf.c (main): Use size_t for type of I.
22741         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22742         NSPEC.
22744         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22745         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22746         * posix/posix-envs.def: Likewise.
22747         * sysdeps/posix/sysconf.c: Likewise.
22748         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22749         (specs): Remove array.
22750         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22751         array.
22753         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22754         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22755         (__sysconf): Use CONF_IS_* macros.
22757         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22758         ($(objpfx)posix-conf-vars-def.h): New target.
22759         * posix/posix-conf-vars.list: New file.
22760         * posix/posix-conf-vars.h: New file.
22761         * posix/confstr.c: Include posix-conf-vars.h.
22762         (confstr): Use CONF_IS_* macros.
22763         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22764         CONF_IS_* macros.
22765         * scripts/gen-posix-conf-vars.awk: New file.
22767 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22769         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22770         fegetround): Add no-op macros to avoid linknamespace issues.
22772         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22773         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22775         * sysdeps/unix/sysv/linux/tile/sysdep.h
22776         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22777         assembly-specific section to avoid a redefinition warning.
22779         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22780         long before casting to pointer to avoid a cast warning.
22782 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22784         * sysdeps/tile/tilegx/Implies: New file.
22786 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22788         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22790 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22792         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22794 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22797         not define.
22798         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22799         <kernel-features.h>.
22800         (__utimes) [__NR_utimes]: Make code unconditional.
22801         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22803         (__ASSUME_UTIMES): Do not undefine.
22804         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22805         (__ASSUME_UTIMES): Likewise.
22806         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22807         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22808         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22809         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22811 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22813         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22815 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22817         [BZ #17747]
22818         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22819         alias to weak alias for j0l, y0l.
22820         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22821         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22823         [BZ #17746]
22824         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22825         conversion.
22827 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22829         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22830         to zero if not already defined.
22832 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #17724]
22835         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22836         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22837         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22838         (char *) casts added.
22839         * sysdeps/ieee754/k_standardf.c: New file.
22840         * sysdeps/ieee754/k_standardl.c: Likewise.
22841         * math/Makefile (libm-support): Remove k_standard.
22842         (libm-calls): Add k_standard.
22844 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22846         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22847         Optimize to avoid an unnecessary FPCR read.
22849 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22851         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22852         Optimize to reduce FPCR/FPSR accesses.
22854 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22856         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22857         Call libc_fetestexcept_aarch64.
22859 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22861         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22862         Call libc_fesetround_aarch64.
22864 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22866         [BZ #17733]
22867         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22868         (__bind): Do not define as weak alias.
22869         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22870         define.
22871         (__getsockname): Do not define as weak alias.
22873 2014-12-22  Will Newton  <will.newton@linaro.org>
22875         * manual/install.texi: Document that we require bison 2.7
22876         or above.
22877         * INSTALL: Regenerate.
22878         * configure.ac: Use AC_CHECK_PROG_VER instead of
22879         AC_PATH_PROG when checking for bison and check for
22880         version 2.7 or above.
22881         * configure: Regenerate.
22883 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22885         [BZ #17745]
22886         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22887         * sysdeps/tile/ffsll.c (ffsll): To here.
22889         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22891 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22893         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22894         if not defined.
22895         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22896         definition.
22897         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22898         hidden ___tls_get_addr.
22899         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22900         hidden __tls_get_addr.
22901         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22902         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22903         Likewise.
22905 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22907         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22908         _dl_init call.
22910 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22912         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22913         from "call _dl_init@PLT".
22914         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22916 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22918         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22919         guarantees.
22921 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22923         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22925 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22927         [BZ #17744]
22928         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22929         strnlen.
22931 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22933         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22934         of multu on MIPSr6.
22935         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22936         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22937         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22938         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22939         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22941 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22943         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22944         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22945         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22946         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22947         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22948         mips32r6/mips64r6.
22949         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22951 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22953         * string/strncat.c (STRNCAT): Simplify implementation.
22955 2014-12-19  David S. Miller  <davem@davemloft.net>
22957         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22958         access the quad as both a long double and as a series of 4 words.
22960         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22961         link_map->l_info array access.
22963 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22965         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22967         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22968         * math/atest-exp2.c (TIMEOUT): Likewise.
22969         * math/atest-sincos.c (TIMEOUT): Likewise.
22971 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22973         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22974         -Wno-error with -fno-builtin-lround.
22976 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22978         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22979         Contains futex constants and functions moved over from ...
22980         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22981         <lowlevellock-futex.h>.
22982         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22983         (lll_timedwait_tid): Add comments and parentheses around macro
22984         arguments.
22986 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22989         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22990         (__lll_private_flag): Remove.
22991         (lll_futex_wait): Likewise.
22992         (lll_futex_timed_wait): Likewise.
22993         (lll_futex_wake): Likewise.
22994         (lll_futex_requeue): Likewise.
22995         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22996         (__lll_timedwait_tid): Spell out argument names.
22997         (lll_timedwait_tid): Add comments and parentheses around macro
22998         arguments.
22999         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23000         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23002 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23004         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23005         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23006         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23007         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23008         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23009         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23010         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23011         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23012         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23013         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23014         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23015         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23016         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23018         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23019         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23020         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23021         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23022         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23024 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23026         * sysdeps/x86_64/x32/Makefile: New file.
23028 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23031         1L with (mp_limb_t) 1.
23033 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23035         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23036         * nptl/libc_pthread_init.c: ... here.
23037         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23038         * nptl/register-atfork.c: ... here.
23040         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23041         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23042         Use assert_perror to check its return value.
23043         (__gai_create_helper_thread): Likewise.
23045         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23047         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23049 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23051         [BZ #17725]
23052         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23053         __profil_counter.
23054         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23055         Likewise.
23056         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23057         Likewise.
23058         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23059         Likewise.
23060         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23061         (profil_counter): Likewise.
23062         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23063         (profil_counter): Likewise.
23064         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23065         Likewise.
23066         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23067         Likewise.
23068         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23069         (profil_counter): Likewise.
23070         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23071         Likewise.
23072         [!__profil_counter] (profil_counter): Define as weak alias of
23073         __profil_counter.
23074         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23075         (profil_counter): Rename to __profil_counter.
23076         [!__profil_counter] (profil_counter): Define as weak alias of
23077         __profil_counter.
23078         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23079         (profil_counter): Rename to __profil_counter.
23080         [!__profil_counter] (profil_counter): Define as weak alias of
23081         __profil_counter.
23082         * sysdeps/posix/profil.c: Update comment referring to
23083         profil_counter.
23084         (__profil): Use __profil_counter instead of profil_counter.
23085         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23086         __profil_counter.  Use __profil_counter_ushort and
23087         __profil_counter_uint in definitions.
23088         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23089         instead of profil_counter_uint and profil_counter_ushort.
23091         [BZ #17722]
23092         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23093         define as weak alias of __inet_makeaddr.
23094         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23095         as weak alias of __inet_addr.
23096         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23097         as weak alias of __inet_pton.  Use libc_hidden_weak.
23098         * include/arpa/inet.h (__inet_pton): Declare.  Use
23099         libc_hidden_proto.
23100         (inet_makeaddr): Don't use libc_hidden_proto.
23101         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23102         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23103         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23104         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23105         Remove variable.
23106         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23107         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23109 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23111         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23113 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23115         * stdio-common/bug-vfprintf-nargs.c (do_test):
23116         Cast value to intptr_t to avoid format warning
23117         for usage with PRIdPTR printing macro.
23119 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23121         * libio/tst-widetext.c (do_test):
23122         Use format type %td instead of %Zd for ptrdiff_t
23123         in order to avoid format warning.
23125 2014-12-17  Andreas Schwab  <schwab@suse.de>
23127         * nscd/mem.c (gc): Add size_t cast to match printf format.
23129 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23131         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23132         (init): Apply PTR_MANGLE to pointers before storing them.
23133         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23134         before using them.
23136 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23138         [BZ #17719]
23139         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23140         define as weak alias of __memrchr.
23141         (__memrchr): Do not define as strong alias of memrchr.
23142         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23143         Remove variable.
23144         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23145         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23146         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23148         [BZ #17717]
23149         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23150         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23151         (if_indextoname): Rename to __if_indextoname and define as weak
23152         alias of __if_indextoname.  Use libc_hidden_weak.
23153         (if_freenameindex): Rename to __if_freenameindex and define as
23154         weak alias of __if_freenameindex.
23155         (if_nameindex): Rename to __if_nameindex and define as weak alias
23156         of __if_nameindex.
23157         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23158         __if_nametoindex and define as weak alias of __if_nametoindex.
23159         Use libc_hidden_weak.
23160         (if_freenameindex): Rename to __if_freenameindex and define as
23161         weak alias of __if_freenameindex.
23162         (if_nameindex): Rename to __if_nameindex and define as weak alias
23163         of __if_nameindex.
23164         (if_indextoname): Rename to __if_indextoname and define as weak
23165         alias of __if_indextoname.  Use libc_hidden_weak.
23166         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23167         __if_nametoindex and define as weak alias of __if_nametoindex.
23168         Use libc_hidden_weak.
23169         (if_freenameindex): Rename to __if_freenameindex and define as
23170         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23171         (if_nameindex_netlink): Use __if_freenameindex instead of
23172         if_freenameindex.
23173         (if_nameindex): Rename to __if_nameindex and define as weak alias
23174         of __if_nameindex.  Use libc_hidden_weak.
23175         (if_indextoname): Rename to __if_indextoname and define as weak
23176         alias of __if_indextoname.  Use libc_hidden_weak.
23177         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23178         libc_hidden_proto.
23179         [!_ISOMAC] (__if_freenameindex): Likewise.
23180         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23181         if_nametoindex.
23182         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23183         variable.
23184         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23185         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23186         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23187         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23188         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23189         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23190         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23192         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23193         Remove variable.
23194         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23195         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23197 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23199         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23200         subscript above bounds'
23202         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23203         bounds.
23205 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23207         * libio/tst-fopenloc.c: Use test-skeleton.c.
23209         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23210         (entry): Rename to ITEM.
23211         (do_test, comp): Adjust.
23213         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23215 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23217         * string/tester.c: Include <libc-internal.h>.
23218         (test_memset): Ignore -Wmemset-transposed-args.
23220 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23222         * misc/tst-mntent2.c (do_test): Fix warning.
23224 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23226         * elf/tst-unique4lib.cc(a): Mark as used.
23228 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23230         [BZ #17630]
23231         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23232         names.
23234 2014-12-16  Allan McRae  <allan@archlinux.org>
23236         * stdio-common/Makefile (tests): Re-add bug26.
23238 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23240         [BZ #17657]
23241         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23242         static array.
23244 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23246         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23247         (__lll_lock_wait): Likewise.
23248         (__lll_timedlock_wait): Likewise.
23249         (__lll_timedwait_tid): Likewise.
23250         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23251         (__lll_robust_timedlock_wait): Likewise.
23252         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23253         (lll_cond_trylock): Likewise.
23254         (__lll_lock): Likewise.
23255         (__lll_robust_lock): Likewise.
23256         (__lll_cond_lock): Likewise.
23257         (lll_robust_cond_lock): Likewise.
23258         (__lll_timedlock): Likewise.
23259         (__lll_robust_timedlock): Likewise.
23260         (__lll_unlock): Likewise.
23261         (__lll_robust_unlock): Likewise.
23262         (lll_wait_tid): Likewise.
23263         (lll_timedwait_tid): Likewise.
23265 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23267         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23269 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23271         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23273 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23275         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23276         * stdio-common/tst-sprintf.c: Likewise.
23278 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23280         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23282 2014-12-15  Jeff Law  <law@redhat.com>
23284         [BZ #16617]
23285         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23286         on the heap.  (CVE-2012-3406)
23287         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23288         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23289         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23291 2014-12-15  Will Newton  <will.newton@linaro.org>
23293         * manual/install.texi: Bump required version of texinfo
23294         to 4.7 from 4.5.
23295         * INSTALL: Regenerated.
23296         * configure.ac: Check for makeinfo version 4.7 and above.
23297         * configure: Regenerated.
23299 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23301         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23302         PREFIX, string constant to insert between directory and name.
23303         * sysdeps/posix/shm_open.c: Update caller.
23304         * sysdeps/posix/shm_unlink.c: Likewise.
23305         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23306         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23307         (SEM_SHM_PREFIX): New macro.
23308         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23309         [$(have-thread-library) = no].
23310         * nptl/Makefile (libpthread-routines): Add shm-directory.
23311         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23312         * sysdeps/nptl/shm-directory.h: New file.
23313         * sysdeps/posix/shm-directory.c
23314         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23315         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23316         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23317         INTERNAL_SYSCALL.
23318         (__where_is_shmfs): Function removed.
23319         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23320         Variables removed.
23321         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23322         Use SHM_GET_NAME.
23323         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23325         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23326         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23327         unconditional for use inside libpthread.
23328         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23330 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23332         * nptl/pthread_getaffinity.c: New file.
23333         * nptl/pthread_setaffinity.c: New file.
23334         * nptl/pthread_getname.c: New file.
23335         * nptl/pthread_setname.c: New file.
23337         * nptl/pthread_create.c (START_THREAD_DEFN)
23338         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23340 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23343         * resolv/res_send.c (send_vc): Disable warning resplen may
23344         be used uninitialized.
23346 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23348         * nptl/tst-mutex6.c
23349         (ATTR_NULL): New define checks ATTR against NULL.
23350         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23351         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23353 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23355         [BZ #17581]
23356         * malloc/hooks.c
23357         (mem2mem_check): Revert my previous change.
23358         (malloc_check_get_size): Revert my previous change.
23359         (mem2chunk_check): Revert my previous change.
23361 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23363         * sysdeps/posix/shm-directory.c: New file.
23364         * sysdeps/posix/shm-directory.h: New file.
23365         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23366         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23367         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23368         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23369         Transmute EPERM to EACCES.
23370         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23371         from ...
23372         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23373         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23375 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23377         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23378         pointer and cast to uintptr_t.
23379         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23380         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23381         Add cast to avoid warning.
23382         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23384 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23386         * nptl/semaphore.h: Move to ...
23387         * sysdeps/pthread/semaphore.h: ... here.
23388         * Makefile (installed-headers): Change nptl/semaphore.h to
23389         sysdeps/pthread/semaphore.h.
23391 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23393         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23394         generated error format strings.
23396         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23397         -Wformat-extra-args warnings for scanf formats.
23398         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23399         test of zero-length format (duh).
23400         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23401         corner-case scanf format test.
23402         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23403         generated fprintf format string.
23404         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23405         corner-case sprintf format tests.
23406         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23407         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23408         -Wformat-extra-args warnings throughout.
23409         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23410         (CFLAGS-scanf4.c): Likewise.
23411         (CFLAGS-scanf7.c): Likewise.
23412         (CFLAGS-tst-sprintf.c): Likewise.
23413         (CFLAGS-tst-printf.c): Likewise.
23414         (CFLAGS-tst-printfsz.c): Likewise.
23416 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23418         * include/cpio.h: New file.
23419         * include/fmtmsg.h: Likewise.
23421         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23422         corresponding format argument to size_t.
23423         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23424         arguments.
23425         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23426         corresponding format argument to size_t.
23427         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23428         arguments.
23429         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23430         corresponding format argument to size_t.
23431         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23432         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23433         (CFLAGS-tst-mbswcs2.c): Likewise.
23434         (CFLAGS-tst-mbswcs3.c): Likewise.
23435         (CFLAGS-tst-mbswcs4.c): Likewise.
23436         (CFLAGS-tst-mbswcs5.c): Likewise.
23437         (CFLAGS-tst-trans.c): Likewise.
23439 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23441         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23442         rather than assuming they won't contain any '%'s.
23444 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23446         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23447         inhibit_loop_to_libcall to avoid recursive calls.
23448         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23449         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23451 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23453         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23454         prototype.
23456 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23458         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23459         integer value instead of boolean.
23461 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23463         * malloc/malloc.c: Fix powerof2 check.
23465 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23467         * locale/programs/locfile.h (maybe_swap_uint32):
23468         Remove inline and add unused attribute.
23470 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23473         Truncating assembler expression to a .long expression.
23475 2014-12-11  Andreas Schwab  <schwab@suse.de>
23477         * elf/rtld.c (struct map_args): Constify str member.
23478         (do_preload): Constify fname argument.
23480 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23483         constants definition.
23485 2014-12-11  Andreas Schwab  <schwab@suse.de>
23487         [BZ #16657]
23488         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23489         FORCE_ELISION instead of DO_ELISION.
23490         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23491         Remove.
23492         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23493         Likewise.
23495         * iconvdata/gconv-modules: Remove duplicate entry.
23497 2014-12-11  Will Newton  <will.newton@linaro.org>
23499         Merge gettext 0.19.3 into intl/.
23501         This involves a number of cosmetic changes to comments
23502         and ANSI function definitions and prototypes throughout
23503         all the files. The gettext copyright header is used but
23504         with the date ranges taken from the glibc copy.
23506         * NEWS: Add gettext merge to 2.21.
23507         * intl/bindtextdom.c: Switch to gettext copyright.
23508         Use ANSI definitions and prototypes.
23509         Use gl_* locking primitives rather than __libc_* ones.
23510         Use __builtin_expect rather than __glibc_likely/unlikely.
23511         * intl/dcgettext.c: Switch to gettext copyright.
23512         Use ANSI definitions and prototypes.
23513         * intl/dcigettext.c: Switch to gettext copyright.
23514         Use ANSI definitions and prototypes.
23515         (INTDIV0_RAISES_SIGFPE): New define.
23516         Use gl_* locking primitives rather than __libc_* ones.
23517         Include eval-plural.h instead of plural-eval.c.
23518         Use __builtin_expect rather than __glibc_likely/unlikely.
23519         * intl/dcngettext.c: Switch to gettext copyright.
23520         Use ANSI definitions and prototypes.
23521         * intl/dgettext.c: Likewise.
23522         * intl/dngettext.c: Likewise.
23523         * intl/plural-eval.c: Renamed to...
23524         * intl/eval-plural.h: ...this.
23525         * intl/explodename.c: Switch to gettext copyright.
23526         Use ANSI definitions and prototypes.
23527         (_nl_explode_name): Use strchr instead of __rawmemchr.
23528         * intl/finddomain.c: Switch to gettext copyright.
23529         Use ANSI definitions and prototypes.
23530         Use gl_* locking primitives rather than __libc_* ones.
23531         (_nl_find_domain): Use malloc rather than alloca for
23532         allocation of temporary locale name.
23533         * intl/gettext.c: Switch to gettext copyright.
23534         Use ANSI definitions and prototypes.
23535         * intl/gettextP.h: Switch to gettext copyright.
23536         Use ANSI definitions and prototypes.
23537         Use gl_* locking primitives rather than __libc_* ones.
23538         * intl/gmo.h: Switch to gettext copyright.
23539         (struct sysdep_string): Move struct segment_pair outside of
23540         struct definition.
23541         * intl/hash-string.c: Use ANSI definitions and prototypes.
23542         * intl/hash-string.h: Switch to gettext copyright.
23543         Use ANSI definitions and prototypes.
23544         * intl/l10nflist.c: Switch to gettext copyright.
23545         Use ANSI definitions and prototypes.
23546         (_nl_normalize_codeset): Avoid integer overflow.
23547         * intl/loadinfo.h: Switch to gettext copyright.
23548         Use ANSI definitions and prototypes.
23549         (LIBINTL_DLL_EXPORTED): New define.
23550         (PATH_SEPARATOR): New define.
23551         * intl/loadmsgcat.c: Switch to gettext copyright.
23552         * intl/localealias.c: Switch to gettext copyright.
23553         Use ANSI definitions and prototypes.
23554         (_nl_expand_alias): Use PATH_SEPARATOR.
23555         * intl/ngettext.c: Switch to gettext copyright.
23556         Use ANSI definitions and prototypes.
23557         * intl/plural-exp.c: Likewise.
23558         * intl/plural-exp.h: Switch to gettext copyright.
23559         Use ANSI definitions and prototypes.
23560         (struct expression): Move definition of enum operator outside
23561         of struct definition.
23562         * intl/plural.c: Regenerate.
23563         * intl/plural.y: Switch to gettext copyright.
23564         Use ANSI definitions and prototypes.
23565         Port to bison 3.0.
23566         * intl/textdomain.c: Switch to gettext copyright.
23567         Use ANSI definitions and prototypes.
23568         Use gl_* locking primitives rather than __libc_* ones.
23570 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23572         * debug/warning-nop.c: Add used atrribute.
23574 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23576         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23578         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23579         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23580         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23582 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23583             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23585         [BZ #17634]
23586         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23587         Undefine after defining function.  Define as weak alias of
23588         __wcschr.  Use libc_hidden_weak.
23589         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23590         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23591         (libc_hidden_def): Also define __GI___wcschr alias.
23592         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23593         __wcschr and define as weak alias of __wcschr.
23594         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23595         __wcschr.
23596         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23597         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23598         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23599         libc_hidden_weak.  Do not use libc_hidden_def.
23600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23601         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23602         __GI___wcschr alias.
23603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23604         [IS_IN (libc)] (wcschr): Define as macro expanding to
23605         __redirect_wcschr.
23606         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23607         [IS_IN (libc)] (__wcschr_power6): Likewise.
23608         [IS_IN (libc)] (__wcschr_power7): Likewise.
23609         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23610         instead of wcschr.
23611         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23612         __libc_wcschr.
23613         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23614         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23615         __wcschr and define as weak alias of __wcschr.  Use
23616         libc_hidden_builtin_def.
23617         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23618         as weak alias of __wcschr.  Use libc_hidden_weak.
23619         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23620         wcschr.
23621         * time/era.c (_nl_init_era_entries): Likewise.
23622         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23623         variable.
23624         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23625         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23627 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23629         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23630         format for long int variable.
23632 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23634         [BZ #10672]
23635         * manual/search.texi: (Array Sort Function): Remove claim how to make
23636         qsort stable.
23638 2014-12-10  Andreas Schwab  <schwab@suse.de>
23640         [BZ #12847]
23641         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23642         user-controlled locks.
23644 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23646         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23647         register.
23649 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23651         * configure.ac (--disable-werror): New configure option.
23652         (enable_werror): New AC_SUBST.
23653         * configure: Regenerated.
23654         * config.make.in (enable-werror): New variable.
23655         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23656         -Wno-error=undef.
23657         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23658         * manual/install.texi (Configuring and compiling): Document
23659         --disable-werror.
23660         * INSTALL: Regenerated.
23661         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23662         (CFLAGS-tst-chk2.c): Likewise.
23663         (CFLAGS-tst-chk3.c): Likewise.
23664         (CFLAGS-tst-chk4.cc): Likewise.
23665         (CFLAGS-tst-chk5.cc): Likewise.
23666         (CFLAGS-tst-chk6.cc): Likewise.
23667         (CFLAGS-tst-lfschk1.c): Likewise.
23668         (CFLAGS-tst-lfschk2.c): Likewise.
23669         (CFLAGS-tst-lfschk3.c): Likewise.
23670         (CFLAGS-tst-lfschk4.cc): Likewise.
23671         (CFLAGS-tst-lfschk5.cc): Likewise.
23672         (CFLAGS-tst-lfschk6.cc): Likewise.
23674         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23675         (main): Disable -Wdeprecated-declarations around calls to
23676         register_printf_function.
23678         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23679         (do_test): Disable -Wdiv-by-zero around some calls to
23680         fwrite_unlocked and fread_unlocked.
23682         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23683         (DIAG_POP_NEEDS_COMMENT): Likewise.
23684         (_DIAG_STR1): Likewise.
23685         (_DIAG_STR): Likewise.
23686         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23687         * stdio-common/bug21.c: Include <libc-internal.h>.
23688         (do_test): Disable -Wformat around call to sscanf.
23689         * stdio-common/scanf14.c: Include <libc-internal.h>.
23690         (main): Disable -Wformat around some calls to scanf functions.
23692 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23694         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23696 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23698         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23699         stack variable alignment.
23701 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23703         [BZ #17682]
23704         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23705         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23706         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23707         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23708         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23709         __getrlimit instead of getrlimit.
23710         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23711         __gettimeofday instead of gettimeofday.
23712         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23713         Likewise.
23714         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23715         Likewise.
23716         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23717         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23718         Remove variable.
23719         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23720         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23722 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23724         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23725         for wide-character tests.
23727 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23729         * io/openat64.c: #include <libc-internal.h>
23730         (__openat64): Prototypify.  Use ignore_value on MODE.
23731         * io/openat.c: Likewise.
23732         * misc/reboot.c: #include <libc-internal.h>
23733         (reboot): Prototypify.  Use ignore_value on HOWTO.
23734         * misc/ptrace.c: #include <libc-internal.h>
23735         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23737 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23739         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23740         XPG4, UNIX98 and XOPEN2K.
23741         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23742         Remove variable.
23743         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23745 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23747         * libio/fileops.c: Use ISO C style for function definitions.
23748         * libio/iofopen.c: Likewise.
23749         * libio/wfileops.c: Likewise.
23751         [BZ #17653]
23752         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23753         offset on EOF.
23754         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23755         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23756         (fgets_func): Function pointer to fgets and fgetws.
23757         (do_ftell_test): Add test to verify ftell value after read
23758         EOF.
23759         (do_test): Set fgets_func.
23761         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23762         O_TRUNC flag for w and w+ modes.
23763         (do_rewind_test): Likewise.
23764         (do_ftell_test): Likewise.
23765         (do_write_test): Likewise.
23767         [BZ #17647]
23768         * libio/fileops.c (do_ftell): Seek only when there are
23769         unflushed writes.
23770         * libio/wfileops.c (do_ftell_wide): Likewise.
23771         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23772         test case.
23773         (do_one_test): Call it.
23775 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23777         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23778         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23779         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23780         Remove variable.
23781         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23782         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23783         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23785 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23787         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23788         Remove variable.
23789         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23791         [BZ #17668]
23792         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23793         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23794         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23795         __freeifaddrs.  Use libc_hidden_weak.
23796         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23797         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23798         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23799         __freeifaddrs.  Use libc_hidden_weak.
23800         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23801         __getifaddrs and define as weak alias of __getifaddrs.  Use
23802         libc_hidden_weak.
23803         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23804         __freeifaddrs.  Use libc_hidden_weak.
23805         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23806         Remove variable.
23807         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23808         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23810 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23812         [BZ #17601]
23813         * sysdeps/mips/start.S (__start): Use indirect jump to call
23814         __libc_start_main.
23816 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23818         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23820         * nptl/tst-mutex1.c: Include <stdbool.h>.
23821         [!ATTR] (ATTR_NULL): New macro.
23822         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23823         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23824         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23826         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23827         to char *.
23829         [BZ #17665]
23830         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23831         Change conditional to [__USE_MISC].
23833         [BZ #17664]
23834         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23835         fgets_unlocked.
23836         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23837         __fgets_unlocked.
23838         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23839         fgets_unlocked.
23840         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23841         Remove variable.
23842         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23843         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23844         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23845         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23846         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23847         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23848         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23849         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23850         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23852         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23854 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23857         Remove strpbrk objects.
23858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23859         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23860         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23861         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23862         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23863         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23865         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23866         Remove strcspn objects.
23867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23868         (__libc_ifunc_impl_list): Remove strcspn implementation.
23869         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23870         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23871         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23872         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23875         Remove strspn objetcs.
23876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23877         (__libc_ifunc_impl_list): Remove strspn implementation.
23878         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23879         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23880         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23881         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23883 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23885         [BZ #17581]
23886         * malloc/hooks.c
23887         (mem2mem_check): Add a terminator to the chain of checking blocks.
23888         (malloc_check_get_size): Use it here.
23889         (mem2chunk_check): Ditto.
23891 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23893         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23894         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23896 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23898         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23900         * nptl/nptl-init.c: Include libc-internal.h.
23901         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23903         * elf/ldconfig.c (search_dir): Expand comment.
23905 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23907         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23908         variable.
23909         (linknamespace-symlist-stdlibs-tests): Likewise.
23910         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23911         instead of $(objpfx)symlist-stdlibs.
23912         (linknamespace-libs-isoc): New variable.
23913         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23914         (linknamespace-libs-ISO): New variable.
23915         (linknamespace-libs-ISO99): Likewise.
23916         (linknamespace-libs-ISO11): Likewise.
23917         (linknamespace-libs-XPG3): Likewise.
23918         (linknamespace-libs-XPG4): Likewise.
23919         (linknamespace-libs-POSIX): Likewise.
23920         (linknamespace-libs-UNIX98): Likewise.
23921         (linknamespace-libs-XOPEN2K): Likewise.
23922         (linknamespace-libs-POSIX2008): Likewise.
23923         (linknamespace-libs-XOPEN2K8): Likewise.
23924         ($(objpfx)symlist-stdlibs): Replace by
23925         $(linknamespace-symlist-stdlibs-tests).  Use
23926         $(linknamespace-libs-$*) as set of libraries.
23927         ($(linknamespace-header-tests)): Update dependencies.  Use
23928         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23929         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23930         * conform/linknamespace.pl: Remove comment about considering
23931         definitions of symbols from irrelevant libraries.
23933 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23935         [BZ #13862]
23936         * elf/dl-tls.c: Include <atomic.h>.
23937         (oom): Remove #ifdef SHARED/#endif.
23938         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23939         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23940         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23941         big enough.
23942         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23943         * nptl/Makefile (tests): Add tst-stack4.
23944         (modules-names): Add tst-stack4mod.
23945         ($(objpfx)tst-stack4): New.
23946         (tst-stack4mod.sos): Likewise.
23947         ($(objpfx)tst-stack4.out): Likewise.
23948         ($(tst-stack4mod.sos)): Likewise.
23949         (clean): Likewise.
23950         * nptl/tst-stack4.c: New file.
23951         * nptl/tst-stack4mod.c: Likewise.
23953 2014-11-27  J. Brown  <jb999@gmx.de>
23955         * sysdeps/x86/bits/string.h: Add recent CPUs.
23957 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23959         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23960         sigblock.
23962         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23963         feof.
23965         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23966         variable.
23968 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23970         * nscd/connections.c: Include libc-internal.h because of macro
23971         usage ignore_value.
23973 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23975         * string/bits/string3.h (__warn_memset_zero_len): Don't
23976         declare for gcc newer than 5.0.
23977         (memset): Don't test for zero-length __LEN for gcc newer than
23978         5.0.
23980 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23982         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23983         size_t for %zu format.
23985         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23986         difference, not %ju.
23988 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23990         * include/libc-internal.h (ignore_value): New macro.
23991         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23992         with ignore_value.
23994         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23995         definition.
23997         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23998         pthread_cleanup_push to void *.
24000         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24001         Undefine.
24003         [BZ #16619]
24004         [BZ #16740]
24005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24006         instead of 1L << 52.
24008         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24009         * libio/bug-rewind2.c (do_test): Likewise.
24011         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24012         * debug/test-strcpy_chk-ifunc.c: Likewise.
24013         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24014         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24015         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24016         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24017         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24018         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24019         * Rules [$(multi-arch) = no] (tests): Do not filter out
24020         $(tests-ifunc).
24021         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24022         * debug/Makefile (tests-ifunc): Remove variable.
24023         (tests): Do not add $(tests-ifunc).
24024         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24025         (tests): Do not add $(tests-ifunc).
24026         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24027         [TEST_IFUNC]: Remove conditionals.
24028         * string/test-string.h (TEST_IFUNC): Remove macro.
24029         [TEST_IFUNC]: Remove conditionals.
24031         * string/test-strchr.c [!WIDE] (L): New macro.
24032         [WIDE] (L): Likewise.
24033         (check1): Use CHAR instead of char.  Use L on string and character
24034         constants.
24036 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24038         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24039         tests.
24040         * sysdeps/powerpc/bits/atomic.h
24041         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24042         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24043         (atomic_exchange_and_add_acq): Likewise.
24044         (atomic_exchange_and_add_rel): Likewise.
24045         * sysdeps/powerpc/powerpc32/bits/atomic.h
24046         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24047         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24048         * sysdeps/powerpc/powerpc64/bits/atomic.h
24049         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24050         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24052 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24054         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24055         Change synchronization of __sched_fifo_min_prio and
24056         __sched_fifo_max_prio.
24057         * nptl/pthread_mutexattr_getprioceiling.c
24058         (pthread_mutexattr_getprioceiling): Likewise.
24059         * nptl/pthread_mutexattr_setprioceiling.c
24060         (pthread_mutexattr_setprioceiling): Likewise.
24061         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24062         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24063         Likewise.
24065 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24067         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24068         void.
24070 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24072         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24073         third argument const.
24075 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24077         fnmatch: work around GCC compiler warning bug with uninit var
24078         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24079         This works around a bug with x86-64 GCC 4.9.2 and earlier
24080         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24081         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24082         used uninitialized in this function [-Wmaybe-uninitialized]".
24084 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24086         * posix/bug-regex31.c (main): Return RES not 0.
24088 2014-11-25  Anton Blanchard <anton@samba.org>
24090         * sysdeps/powerpc/bits/atomic.h
24091         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24093 2014-11-24  Sterling Augustine  <saugustine@google.com>
24095         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24097 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24099         [BZ #17608]
24100         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24102 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #17633]
24105         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24106         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24107         variable.
24108         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24109         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24111 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24113         * string/strncpy.c (strncpy): Improve performance by using memset.
24115 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24117         * string/strcpy.c (strcpy):
24118         Improve performance by using strlen and memcpy.
24120 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24122         * string/strcoll_l.c (get_next_seq): __always_inline.
24123         * string/strcoll_l.c (do_compare): __always_inline.
24125 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24127         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24128         defined.
24129         * include/mqueue.h: Likewise.
24130         * include/stdlib.h: Likewise.
24132         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24133         (get_null_defines): Adjust.
24134         * sunrpc/Makefile: Adjust comment.
24135         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24136         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24137         (CFLAGS-interp.c): Likewise.
24138         (CFLAGS-ldconfig.c): Likewise.
24139         (CPPFLAGS-.os): Likewise.
24140         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24141         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24142         * extra-modules.mk (extra-modules.mk): Likewise.
24143         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24144         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24145         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24146         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24147         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24148         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24149         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24150         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24151         * iconvdata/Makefile (CPPFLAGS): Likewise.
24152         (cpp-srcs-left): Add libof for all iconvdata routines.
24153         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24154         * include/assert.h: Likewise.
24155         * include/ctype.h: Likewise.
24156         * include/errno.h: Likewise.
24157         * include/libc-symbols.h: Likewise.
24158         * include/math.h: Likewise.
24159         * include/netdb.h: Likewise.
24160         * include/resolv.h: Likewise.
24161         * include/stdio.h: Likewise.
24162         * include/stdlib.h: Likewise.
24163         * include/string.h: Likewise.
24164         * include/sys/stat.h: Likewise.
24165         * include/wctype.h: Likewise.
24166         * intl/l10nflist.c: Likewise.
24167         * libidn/idn-stub.c: Likewise.
24168         * libio/libioP.h: Likewise.
24169         * nptl/libc_multiple_threads.c: Likewise.
24170         * nptl/pthreadP.h: Likewise.
24171         * posix/regex_internal.h: Likewise.
24172         * resolv/res_hconf.c: Likewise.
24173         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24174         * sysdeps/arm/memmove.S: Likewise.
24175         * sysdeps/arm/sysdep.h: Likewise.
24176         * sysdeps/generic/_itoa.h: Likewise.
24177         * sysdeps/generic/symbol-hacks.h: Likewise.
24178         * sysdeps/gnu/errlist.awk: Likewise.
24179         * sysdeps/gnu/errlist.c: Likewise.
24180         * sysdeps/i386/i586/memcpy.S: Likewise.
24181         * sysdeps/i386/i586/memset.S: Likewise.
24182         * sysdeps/i386/i686/memcpy.S: Likewise.
24183         * sysdeps/i386/i686/memmove.S: Likewise.
24184         * sysdeps/i386/i686/mempcpy.S: Likewise.
24185         * sysdeps/i386/i686/memset.S: Likewise.
24186         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24187         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24188         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24189         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24190         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24191         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24192         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24193         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24194         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24195         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24196         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24197         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24198         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24199         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24200         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24201         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24202         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24203         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24204         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24205         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24206         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24207         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24208         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24209         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24210         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24211         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24212         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24213         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24214         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24216         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24217         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24219         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24220         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24222         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24223         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24224         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24225         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24226         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24227         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24228         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24229         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24230         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24231         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24232         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24233         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24234         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24235         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24236         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24237         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24238         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24239         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24240         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24241         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24242         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24243         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24244         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24245         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24246         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24247         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24248         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24249         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24250         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24251         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24252         * sysdeps/posix/closedir.c: Likewise.
24253         * sysdeps/posix/opendir.c: Likewise.
24254         * sysdeps/posix/readdir.c: Likewise.
24255         * sysdeps/posix/rewinddir.c: Likewise.
24256         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24257         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24258         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24259         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24260         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24262         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24267         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24268         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24269         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24272         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24273         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24274         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24275         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24278         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24279         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24281         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24283         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24284         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24292         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24293         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24294         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24295         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24296         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24297         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24298         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24300         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24301         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24302         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24303         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24304         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24305         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24306         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24307         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24310         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24313         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24314         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24315         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24316         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24317         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24318         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24320         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24321         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24323         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24324         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24325         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24326         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24328         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24329         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24330         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24331         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24332         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24333         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24334         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24335         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24336         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24337         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24338         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24339         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24340         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24342         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24343         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24344         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24345         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24346         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24347         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24348         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24351         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24352         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24354         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24355         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24356         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24357         * sysdeps/unix/alpha/sysdep.S: Likewise.
24358         * sysdeps/unix/alpha/sysdep.h: Likewise.
24359         * sysdeps/unix/make-syscalls.sh: Likewise.
24360         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24362         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24363         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24365         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24366         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24367         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24368         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24369         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24371         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24372         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24373         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24374         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24375         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24376         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24377         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24378         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24379         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24380         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24382         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24383         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24384         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24385         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24389         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24392         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24393         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24394         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24395         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24398         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24399         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24400         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24401         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24402         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24403         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24404         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24407         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24411         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24412         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24413         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24414         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24415         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24416         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24418         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24419         * sysdeps/x86_64/memcpy.S: Likewise.
24420         * sysdeps/x86_64/memmove.c: Likewise.
24421         * sysdeps/x86_64/memset.S: Likewise.
24422         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24424         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24425         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24426         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24427         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24428         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24429         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24430         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24431         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24432         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24433         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24434         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24435         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24436         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24437         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24438         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24439         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24440         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24441         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24442         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24443         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24444         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24445         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24446         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24447         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24448         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24449         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24450         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24451         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24452         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24453         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24454         * sysdeps/x86_64/strcmp.S: Likewise.
24456         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24458         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24459         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24460         * elf/rtld-Rules: Likewise.
24461         * elf/setup-vdso.h: Likewise.
24462         * include/assert.h: Likewise.
24463         * include/bits/stdlib-float.h: Likewise.
24464         * include/errno.h: Likewise.
24465         * include/sys/stat.h: Likewise.
24466         * include/unistd.h: Likewise.
24467         * sysdeps/aarch64/setjmp.S: Likewise.
24468         * sysdeps/alpha/setjmp.S: Likewise.
24469         * sysdeps/arm/__longjmp.S: Likewise.
24470         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24471         * sysdeps/arm/setjmp.S: Likewise.
24472         * sysdeps/arm/sysdep.h: Likewise.
24473         * sysdeps/generic/_itoa.h: Likewise.
24474         * sysdeps/generic/dl-sysdep.h: Likewise.
24475         * sysdeps/generic/ldsodefs.h: Likewise.
24476         * sysdeps/i386/dl-tls.h: Likewise.
24477         * sysdeps/i386/setjmp.S: Likewise.
24478         * sysdeps/m68k/setjmp.c: Likewise.
24479         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24480         * sysdeps/mach/hurd/opendir.c: Likewise.
24481         * sysdeps/posix/getcwd.c: Likewise.
24482         * sysdeps/posix/opendir.c: Likewise.
24483         * sysdeps/posix/profil.c: Likewise.
24484         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24485         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24486         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24487         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24488         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24489         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24491         * sysdeps/s390/dl-tls.h: Likewise.
24492         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24493         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24494         * sysdeps/sh/sh3/setjmp.S: Likewise.
24495         * sysdeps/sh/sh4/setjmp.S: Likewise.
24496         * sysdeps/unix/alpha/sysdep.h: Likewise.
24497         * sysdeps/unix/arm/sysdep.S: Likewise.
24498         * sysdeps/unix/i386/sysdep.S: Likewise.
24499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24500         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24501         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24502         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24504         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24505         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24506         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24507         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24508         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24509         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24510         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24511         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24514         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24517         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24518         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24519         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24521         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24522         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24523         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24524         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24526         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24527         * sysdeps/x86_64/setjmp.S: Likewise.
24529         * include/math.h: Use IS_IN instead of IS_IN_libm.
24530         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24532         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24533         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24534         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24535         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24536         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24537         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24542         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24543         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24545         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24548         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24549         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24550         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24551         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24552         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24553         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24554         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24555         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24557         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24558         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24559         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24560         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24561         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24562         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24564         Likewise.
24565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24566         Likewise.
24567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24568         Likewise.
24569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24570         Likewise.
24571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24572         Likewise.
24573         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24574         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24575         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24576         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24577         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24578         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24584         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24585         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24586         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24587         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24588         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24589         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24590         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24591         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24592         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24593         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24594         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24597         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24599         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24601         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24602         * nptl/pthreadP.h: Likewise.
24603         * nptl_db/structs.def: Likewise.
24604         * sysdeps/arm/sysdep.h: Likewise.
24605         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24606         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24607         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24608         * sysdeps/unix/alpha/sysdep.h: Likewise.
24609         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24611         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24612         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24613         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24614         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24616         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24617         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24618         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24619         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24620         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24621         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24622         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24627         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24629         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24630         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24631         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24632         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24633         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24634         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24636         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24637         * nptl/pthreadP.h: Likewise.
24638         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24639         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24640         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24641         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24642         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24643         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24644         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24645         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24646         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24647         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24648         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24649         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24651         Likewise.
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24653         Likewise.
24654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24656         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24659         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24660         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24661         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24663         * dlfcn/dladdr.c: Use IS_IN.
24664         * dlfcn/dladdr1.c: Likewise.
24665         * dlfcn/dlclose.c: Likewise.
24666         * dlfcn/dlerror.c: Likewise.
24667         * dlfcn/dlinfo.c: Likewise.
24668         * dlfcn/dlmopen.c: Likewise.
24669         * dlfcn/dlopen.c: Likewise.
24670         * dlfcn/dlsym.c: Likewise.
24671         * dlfcn/dlvsym.c: Likewise.
24673         * include/ifaddrs.h: Use IS_IN.
24674         * inet/check_pf.c: Likewise.
24675         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24676         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24678         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24679         IS_IN_ldconfig.
24680         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24681         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24683         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24684         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24685         IS_IN (libc).
24687         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24689         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24690         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24691         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24692         * include/libc-symbols.h (IS_IN_LIB): New macro.
24693         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24694         * include/netdb.h: Likewise.
24695         * include/stap-probe.h: Remove all uses of IN_LIB.
24697         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24698         instead of IN_MODULE.
24699         * include/libc-symbols.h (IN_MODULE): Define using
24700         MODULE_NAME.
24701         (PASTE_NAME, PASTE_NAME1): New macros.
24702         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24703         of IN_LIB.
24704         (STAP_PROBE_ASM): Likewise.
24706 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24708         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24709         __mach_init in dlopened libc.
24711 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24713         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24714         * sysdeps/arm/preconfigure: Regenerate.
24716 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24718         * nptl/pthread_create.c (__pthread_create_2_1): Set
24719         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24720         when copying values from IATTR into PD.
24722 2014-11-21  Will Newton  <will.newton@linaro.org>
24723             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24725         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24726         Refactor inline-asm.  Also add comment.
24728         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24729         ElfW macro instead of hardcoded Elf64 types.
24730         (la_aarch64_gnu_pltenter): Likewise.
24731         * sysdeps/aarch64/dl-machine.h
24732         (elf_machine_runtime_setup): Use ElfW(Addr).
24734         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24735         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24736         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24737         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24738         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24739         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24740         (R_AARCH64_TLS_DTPMOD): This.
24741         (R_AARCH64_TLS_DTPREL64): Rename to ...
24742         (R_AARCH64_TLS_DTPREL): This.
24743         (R_AARCH64_TLS_TPREL64): Rename to ...
24744         (R_AARCH64_TLS_TPREL): This.
24745         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24746         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24747         R_AARCH64_TLS_TPREL64.
24748         (elf_machine_rela): Likewise.
24750 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24752         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24753         by setting it to 0.  64b atomics are not supported currently.
24755 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24757         [BZ #16469]
24758         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24759         search domain names.
24761 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24763         [BZ #16469]
24764         * NEWS: Update.
24765         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24766         trailing dot.
24767         * posix/tst-getaddrinfo5.c: New.
24768         * posix/Makefile (tests): Add it.
24770 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24772         [BZ #14498]
24773         * NEWS: Fixed.
24774         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24775         after parsing line but before break_if_match.
24776         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24777         if there is a protocol mismatch.
24779 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24781         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24782         because the potential race is on the user-supplied stream.
24784 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24786         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24787         string literal if not passed a buffer.
24788         * manual/job.texi (ctermid): Update reasoning, note deviation
24789         from posix, suggest mtasurace when not passed a buffer, for
24790         future non-preliminary safety notes.
24792 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24794         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24795         of not passing it a buffer.
24796         Reported by Peng Haitao.
24798 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24800         * manual/Makefile ($(objpfx)stamp-summary): Require
24801         check-safety.sh to pass.
24802         * manual/check-safety.sh: Wish for verification that every
24803         @deftypefn and @deftypefun is followed by a @safety remark.
24805 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24807         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24809         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24810         PTHREAD_CANCEL_ASYNCHRONOUS.
24811         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24812         send SIGCANCEL.
24814         * nptl/default-sched.h: New file.
24815         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24816         * nptl/pthread_create.c: Include it.
24817         (__pthread_create_2_1): Use collect_default_sched instead of making
24818         Linux syscalls here directly.
24820 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24822         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24823         __pthread_once): Use C11 atomics.
24825 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24827         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24829 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24831         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24832         atomic_thread_fence_acquire, atomic_thread_fence_release,
24833         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24834         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24835         atomic_compare_exchange_weak_relaxed,
24836         atomic_compare_exchange_weak_acquire,
24837         atomic_compare_exchange_weak_release,
24838         atomic_exchange_acquire, atomic_exchange_release,
24839         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24840         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24841         atomic_fetch_and_acquire,
24842         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24844 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24846         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24847         USE_ATOMIC_COMPILER_BUILTINS): Define.
24848         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24850         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24852         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24854         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24856         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24858         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24860         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24862         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24864         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24866         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24867         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24868         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24870         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24872         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24874         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24876         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24878         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24880         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24882         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24883         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24884         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24886         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24889 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24891         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24892         the sched_priority value here.  It was already checked when the user
24893         called pthread_attr_setschedparam.
24895         * nptl/tst-bad-schedattr.c: New file.
24896         * nptl/Makefile (tests): Add it.
24898 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24899             Florian Weimer  <fweimer@redhat.com>
24900             Joseph Myers  <joseph@codesourcery.com>
24901             Adam Conrad  <adconrad@0c3.net>
24902             Andreas Schwab  <schwab@suse.de>
24903             Brooks  <bmoses@google.com>
24905         [BZ #17625]
24906         * wordexp-test.c (__dso_handle): Add prototype.
24907         (__register_atfork): Likewise.
24908         (__app_register_atfork): New function.
24909         (registered_forks): New global.
24910         (register_fork): New function.
24911         (test_case): Add 3 new tests for WRDE_CMDSUB.
24912         (main): Call __app_register_atfork.
24913         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24914         fork count is non-zero fail the test.
24915         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24916         is set.
24917         (parse_dollars): Remove check for WRDE_NOCMD.
24918         (parse_dquote): Likewise.
24920 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24922         * Makeconfig (built-modules): List non-library modules to be
24923         built.
24924         (module-cppflags): Include libc-modules.h for
24925         everything except shlib-versions.v.i.
24926         (CPPFLAGS): Use it.
24927         (before-compile): Add libc-modules.h.
24928         ($(common-objpfx)libc-modules.h,
24929         $(common-objpfx)libc-modules.stmp): New targets.
24930         (common-generated): Add libc-modules.h and libc-modules.stmp.
24931         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24932         * include/libc-symbols.h: Don't include libc-modules.h.
24933         * include/libc-modules.h: Remove file.
24934         * scripts/gen-libc-modules.awk: New script to generate
24935         libc-modules.h.
24936         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24937         Depend on libc-modules.stmp.
24939         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24941         * Makeconfig (in-module): Get value of libof set for the
24942         translation unit.
24943         (CPPFLAGS): Use $(in-module).
24944         * Makerules: Don't suffix routine names for nonlib.
24945         * include/libc-modules.h: New file.
24946         * include/libc-symbols.h: Include libc-modules.h
24947         (IS_IN): New macro to replace IS_IN_* macros.
24948         * elf/Makefile: Set libof-* for each routine.
24949         * elf/rtld-Rules: Likewise.
24950         * extra-modules.mk: Likewise.
24951         * iconv/Makefile: Likewise.
24952         * iconvdata/Makefile: Likewise.
24953         * locale/Makefile: Likewise.
24954         * malloc/Makefile: Likewise.
24955         * nss/Makefile: Likewise.
24956         * sysdeps/gnu/Makefile: Likewise.
24957         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24958         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24959         * sysdeps/s390/s390-64/Makefile: Likewise.
24960         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24961         CPPFLAGS for nscd instead of nonlib.
24963 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24965         * nptl/createthread.c: New file.
24967         * nptl/createthread.c: Moved ...
24968         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24970         * nptl/createthread.c: Add proper top-line comment.
24971         (do_clone): Folded into ...
24972         (create_thread): ... here.  Take new arguments STOPPED_START and
24973         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24974         increment __nptl_threads, do event-reporting logic, do
24975         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24976         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24977         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24978         just send SIGCANCEL.
24979         * nptl/pthread_create.c: Forward-declare create_thread before
24980         including createthread.c.
24981         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24982         declaration, and new macro START_THREAD_SELF to replace argument.
24983         Remove return statement.
24984         (report_thread_creation): New function.
24985         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24986         synchronization logic, and __nptl_nthreads increment here, around
24987         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24988         PD->parent_cancelhandling here, before create_thread.  When
24989         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24990         __deallocate_stack, and ENOMEM translation here.
24992 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24994         [BZ #17616]
24995         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24996         (mptwo): Rename to __mptwo.
24997         (__inv): Use __mptwo instead of mptwo.
24998         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24999         (mptwo): Rename to __mptwo.
25000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25001         of mpone and __mptwo instead of mptwo.
25002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25003         instead of mpone.
25004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25005         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25006         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25007         of mpone and __mptwo instead of mptwo.
25008         (__mpranred): Use __mpone instead of mpone.
25009         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25010         variable.
25011         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25012         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25013         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25014         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25015         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25016         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25017         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25018         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25019         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25020         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25021         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25022         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25023         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25024         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25025         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25026         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25027         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25028         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25029         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25031 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25033         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25034         replace BSD Handler xref with BSD Signal Handling.
25036 2014-11-17  Richard Henderson  <rth@redhat.com>
25038         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25039         (_FP_PACK_RAW_2): Remove.
25040         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25041         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25042         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25043         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25044         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25045         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25046         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25047         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25048         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25049         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25050         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25051         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25052         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25053         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25054         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25055         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25057 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25059         * signal/signal.h [__USE_MISC]
25060         (struct sigvec): Remove type.
25061         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25062         (sigvec): Remove declaration.
25063         * sysdeps/posix/sigvec.c: Moved ...
25064         * signal/sigvec.c: ... here, replacing old file.
25065         (struct sigvec): New type, copied from old signal.h definition.
25066         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25067         (__sigvec): Convert definition to prototype.
25068         (sigvec): Replace weak_alias with compat_symbol.
25069         * signal/Versions (libc: GLIBC_2.21): New version set.
25070         * include/signal.h: Remove __sigvec declaration.
25071         * sysdeps/unix/bsd/sigvec.c: Remove file.
25072         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25073         * manual/signal.texi (BSD Handler): Remove subsection.
25074         Move siginterrupt up to ...
25075         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25076         (Blocking in BSD): Fold subsection into its parent.
25077         * NEWS: Mention sigvec removal.
25079 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25081         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25082         (DLA_FMS): Make definition conditional only on [__FMA4__].
25083         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25084         definition.
25086         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25087         Make definition conditional only on [PROF].
25088         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25089         definition.
25090         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25091         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25093         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25094         !__GNUC__].
25095         * include/signal.h (__sigpause): Move declaration above call to
25096         libc_hidden_proto.
25097         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25098         variable.
25099         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25100         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25102 2014-11-14  David S. Miller  <davem@davemloft.net>
25104         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25105         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25107 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25109         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25110         * configure: Regenerated.
25111         * manual/install.texi (Tools for Compilation): Document a
25112         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25113         compiler verified to work.
25114         * INSTALL: Regenerated.
25116         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25117         redeclare with asm name.
25118         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25119         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25120         including <string.h>.
25121         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25123         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25124         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25125         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25126         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25127         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25129 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25131         * stdlib/strtol.c (__strtol): Use prototype definition.
25133         [BZ #17594]
25134         * stdlib/strtol.c (SYM__): New macro.
25135         (SYM__1): Likewise.
25136         (__strtol): Likewise.
25137         (strtol): Rename to __strtol and define as weak alias of
25138         __strtol.  Use libc_hidden_weak.
25140 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25142         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25143         Use numbered labels in inline assembly.
25145 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25147         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25148         Add setjmp LIBC_PROBE.
25149         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25150         Likewise.
25151         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25152         Add longjmp, longjmp_target LIBC_PROBE.
25153         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25154         Likewise.
25156 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25158         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25159         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25160         to get rid of unused variable warning.
25162 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25164         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25165         Check for unwind_backtrace ==  NULL only in SHARED case.
25166         (__backchain_backtrace): Compile only in SHARED case.
25167         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25168         Likewise.
25169         (__backchain_backtrace): Declare as static.
25171 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25173         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25174         (__libc_multiple_threads_ptr): Variable moved ...
25175         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25177 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25179         * conform/GlibcConform.pm: New file.
25180         * conform/conformtest.pl: Use GlibcConform module.
25181         * conform/linknamespace.pl: New file.
25182         * conform/list-header-symbols.pl: Likewise.
25183         * conform/Makefile (linknamespace-symlists-base): New variable.
25184         (linknamespace-symlists-tests): Likewise.
25185         (linknamespace-header-base): Likewise.
25186         (linknamespace-header-tests): Likewise.
25187         (tests-special): Add new tests.
25188         ($(linknamespace-symlists-tests)): New rule.
25189         (linknamespace-libs): New variable.
25190         ($(objpfx)symlist-stdlibs): New rule.
25191         ($(linknamespace-header-tests)): Likewise.
25192         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25193         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25194         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25195         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25196         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25197         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25198         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25199         (test-xfail-ISO/math.h/linknamespace): Likewise.
25200         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25201         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25202         (test-xfail-ISO/time.h/linknamespace): Likewise.
25203         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25204         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25205         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25206         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25207         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25208         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25209         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25210         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25211         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25212         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25213         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25214         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25215         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25216         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25217         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25218         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25219         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25220         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25221         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25222         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25223         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25224         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25225         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25226         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25227         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25228         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25229         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25230         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25231         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25232         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25233         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25234         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25235         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25236         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25237         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25238         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25239         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25240         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25241         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25242         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25243         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25244         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25245         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25246         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25247         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25248         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25249         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25250         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25251         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25252         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25253         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25254         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25255         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25256         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25257         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25258         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25259         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25260         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25261         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25262         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25263         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25264         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25265         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25266         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25267         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25268         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25269         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25270         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25271         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25272         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25273         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25274         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25275         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25276         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25277         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25278         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25279         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25280         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25281         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25282         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25283         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25284         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25285         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25286         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25287         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25288         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25289         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25290         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25291         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25292         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25293         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25294         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25295         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25296         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25297         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25298         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25299         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25300         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25301         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25302         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25303         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25304         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25305         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25306         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25307         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25308         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25309         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25310         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25311         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25312         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25313         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25314         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25315         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25316         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25317         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25318         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25319         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25320         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25321         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25322         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25323         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25324         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25325         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25326         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25327         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25328         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25329         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25330         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25331         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25332         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25333         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25334         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25335         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25336         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25337         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25338         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25339         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25340         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25341         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25342         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25343         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25344         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25345         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25346         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25347         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25348         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25349         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25350         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25351         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25352         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25354         [BZ #17589]
25355         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25356         of fgets_unlocked.
25358         [BZ #17585]
25359         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25360         (memmem): Rename to __memmem and define as weak alias of
25361         __memmem.  Use libc_hidden_weak.
25362         (__memmem): Use libc_hidden_def.
25363         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25364         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25365         memmem.
25367         [BZ #17582]
25368         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25369         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25370         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25371         and define as weak alias of __fgets_unlocked.  Use
25372         libc_hidden_weak.
25373         (__fgets_unlocked): Use libc_hidden_def.
25374         * include/stdio.h (__fgets_unlocked): Declare.  Use
25375         libc_hidden_proto.
25376         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25377         __fgets_unlocked instead of fgets_unlocked.
25378         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25379         (GET_NPROCS_CONF_PARSER): Likewise.
25380         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25381         (GET_NPROCS_CONF_PARSER): Likewise.
25383         [BZ #17574]
25384         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25385         weak alias of __wmemset.  Use libc_hidden_weak.
25386         (__wmemset): Use libc_hidden_def.
25387         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25388         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25389         of wmemset.
25391         [BZ #17573]
25392         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25393         with asm name __mempcpy.
25394         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25396         [BZ #17572]
25397         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25398         and define as weak alias of __rawmemchr.
25399         (__rawmemchr): Do not define as strong alias of rawmemchr.
25401         [BZ #17571]
25402         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25403         alias of __qsort_r.
25404         (qsort): Call __qsort_r instead of qsort_r.
25405         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25406         (__qsort_r): Declare.  Call libc_hidden_proto.
25407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25408         instead of qsort_r.
25409         * nscd/gai.c (__qsort_r): Define to qsort_r.
25410         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25411         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25412         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25414         [BZ #17570]
25415         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25416         define as weak alias of __malloc_info.
25418         [BZ #17584]
25419         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25420         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25421         (__rewinddir): Use libc_hidden_def.
25422         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25423         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25424         (__rewinddir): Use libc_hidden_def.
25425         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25426         weak alias of __rewinddir.  Don't use libc_hidden_def.
25427         (__rewinddir): Use libc_hidden_def.
25428         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25429         (__rewinddir): Use libc_hidden_proto.
25430         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25431         rewinddir.
25432         (__getcwd): Use __rewinddir instead of rewinddir.
25434         [BZ #17583]
25435         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25436         alias of __fileno.  Use libc_hidden_weak.
25437         (__fileno): Use libc_hidden_def.
25438         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25439         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25440         alias of __ftello.
25441         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25442         __ftello.
25443         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25444         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25445         libc_hidden_def.
25446         (fread_unlocked): Don't use libc_hidden_ver.
25447         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25448         and define as weak alias of __fread_unlocked.  Don't use
25449         libc_hidden_def.
25450         (__fread_unlocked): Use libc_hidden_def.
25451         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25452         (ftello): Don't use libc_hidden_proto.
25453         (__ftello): Declare.  Use libc_hidden_proto.
25454         (fread_unlocked): Don't use libc_hidden_proto.
25455         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25456         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25457         and __ftello instead of fileno, fread_unlocked and ftello.
25459 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25461         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25462         GOT12.
25463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25464         Likewise.
25465         (_dl_start_user): Likewise.
25466         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25468 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25469             Siddhesh Poyarekar  <siddhesh@redhat.com>
25471         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25472         Move argv and envp down instead of moving argc up.
25473         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25475 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25477         [BZ #17506]
25478         * test-skeleton.c (main): Return successful if one of
25479         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25480         * string/tst-strcoll-overflow.c: Define expected status.
25482 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25484         [BZ #17475]
25485         * locale/iso-639.def: Define Bhili and Tulu language codes.
25487 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25489         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25491 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25493         [BZ #17555]
25494         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25496 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25498         * configure.ac: Updated check of minimal required version to
25499         2.22.
25500         * manual/install.texi (Tools for Compilation): Updated version
25501         number.
25502         * configure: Regenerated.
25503         * INSTALL: Likewise.
25505 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25507         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25508         __tls_get_addr.
25510 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25512         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25513         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25514         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25515         libc_hidden_weak.
25516         (waitpid): Define as alias of __waitpid.
25517         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25518         __waitpid.
25519         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25520         libc_hidden_weak.
25521         (waitpid): Define as alias of __waitpid.
25522         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25523         __libc_waitpid alias.
25524         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25525         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25526         Likewise.
25527         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25528         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25529         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25530         alias.
25531         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25532         __waitpid.
25533         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25534         libc_hidden_weak.
25535         (waitpid): Define as alias of __waitpid.
25537 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25539         * manual/llio.texi: Add comment that write safety has been
25540         fixed in Linux.
25542         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25543         (localplt-build-dso): Add elf/ld.so.
25544         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25545         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25546         and free for ld.so.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25548         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25550         Likewise.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25552         Likewise.
25553         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25554         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25555         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25556         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25557         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25558         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25559         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25560         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25561         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25562         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25563         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25565 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25567         [BZ #14132]
25568         * include/libc-symbols.h (INTUSE): Remove macro.
25569         (INTDEF): Likewise.
25570         (INTVARDEF): Likewise.
25571         (_INTVARDEF): Likewise.
25572         (INTDEF2): Likewise.
25573         (INTVARDEF2): Likewise.
25574         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25575         rtld_hidden_def instead of INTVARDEF.
25576         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25577         (_dl_starting_up_internal): Remove declaration.
25578         (_dl_starting_up): Use rtld_hidden_proto.
25579         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25580         declaration.
25581         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25582         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25583         _dl_starting_up.
25584         * elf/dl-writev.h (_dl_writev): Likewise.
25585         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25586         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25587         _dl_starting_up_internal.
25589 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25591         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25592         test-skeleton.c.
25594 2014-11-05  Will Newton  <will.newton@linaro.org>
25596         * benchtests/Makefile: (bench-malloc): Add malloc thread
25597         scalability benchmark.
25598         * benchtests/bench-malloc-threads.c: New file.
25600 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25602         * sysdeps/aarch64/strchrnul.S: New file.
25604 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25606         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25607         definition.
25608         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25609         Likwise.
25610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25611         Likewise.
25612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25613         Likewise.
25614         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25615         Likewise.
25616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25617         Likewise.
25619 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25621         * catgets/test-gencat.c: Use test-skeleton.c.
25622         * catgets/tst-catgets.c: Likewise.
25623         * csu/tst-empty.c: Likewise.
25624         * elf/tst-audit2.c: Likewise.
25625         * elf/tst-global1.c: Likewise.
25626         * elf/tst-pathopt.c: Likewise.
25627         * elf/tst-piemod1.c: Likewise.
25628         * elf/tst-tls10.c: Likewise.
25629         * elf/tst-tls11.c: Likewise.
25630         * elf/tst-tls12.c: Likewise.
25631         * gnulib/tst-gcc.c: Likewise.
25632         * iconvdata/tst-e2big.c: Likewise.
25633         * iconvdata/tst-loading.c: Likewise.
25634         * iconv/tst-iconv1.c: Likewise.
25635         * iconv/tst-iconv2.c: Likewise.
25636         * inet/test-inet6_opt.c: Likewise.
25637         * inet/tst-gethnm.c: Likewise.
25638         * inet/tst-network.c: Likewise.
25639         * inet/tst-ntoa.c: Likewise.
25640         * intl/tst-codeset.c: Likewise.
25641         * intl/tst-gettext2.c: Likewise.
25642         * intl/tst-gettext3.c: Likewise.
25643         * intl/tst-ngettext.c: Likewise.
25644         * intl/tst-translit.c: Likewise.
25645         * io/test-stat.c: Likewise.
25646         * libio/test-fmemopen.c: Likewise.
25647         * libio/tst-freopen.c: Likewise.
25648         * libio/tst-sscanf.c: Likewise.
25649         * libio/tst-ungetwc1.c: Likewise.
25650         * libio/tst-ungetwc2.c: Likewise.
25651         * libio/tst-widetext.c: Likewise.
25652         * localedata/tst-ctype.c: Likewise.
25653         * localedata/tst-digits.c: Likewise.
25654         * localedata/tst-leaks.c: Likewise.
25655         * localedata/tst-mbswcs1.c: Likewise.
25656         * localedata/tst-mbswcs2.c: Likewise.
25657         * localedata/tst-mbswcs3.c: Likewise.
25658         * localedata/tst-mbswcs4.c: Likewise.
25659         * localedata/tst-mbswcs5.c: Likewise.
25660         * localedata/tst-setlocale.c: Likewise.
25661         * localedata/tst-trans.c: Likewise.
25662         * localedata/tst-wctype.c: Likewise.
25663         * localedata/tst-xlocale1.c: Likewise.
25664         * login/tst-grantpt.c: Likewise.
25665         * malloc/tst-calloc.c: Likewise.
25666         * malloc/tst-malloc.c: Likewise.
25667         * malloc/tst-mallocstate.c: Likewise.
25668         * malloc/tst-mcheck.c: Likewise.
25669         * malloc/tst-mtrace.c: Likewise.
25670         * malloc/tst-obstack.c: Likewise.
25671         * math/atest-exp2.c: Likewise.
25672         * math/atest-exp.c: Likewise.
25673         * math/atest-sincos.c: Likewise.
25674         * math/test-matherr.c: Likewise.
25675         * math/test-misc.c: Likewise.
25676         * math/test-powl.c: Likewise.
25677         * math/tst-definitions.c: Likewise.
25678         * misc/tst-dirname.c: Likewise.
25679         * misc/tst-efgcvt.c: Likewise.
25680         * misc/tst-fdset.c: Likewise.
25681         * misc/tst-hsearch.c: Likewise.
25682         * misc/tst-mntent2.c: Likewise.
25683         * nptl/tst-sem7.c: Likewise.
25684         * nptl/tst-sem8.c: Likewise.
25685         * nptl/tst-sem9.c: Likewise.
25686         * nss/test-netdb.c: Likewise.
25687         * posix/tst-fnmatch.c: Likewise.
25688         * posix/tst-getlogin.c: Likewise.
25689         * posix/tst-gnuglob.c: Likewise.
25690         * posix/tst-mmap.c: Likewise.
25691         * pwd/tst-getpw.c: Likewise.
25692         * resolv/tst-inet_ntop.c: Likewise.
25693         * rt/tst-timer.c: Likewise.
25694         * stdio-common/test-fseek.c: Likewise.
25695         * stdio-common/test-popen.c: Likewise.
25696         * stdio-common/test-vfprintf.c: Likewise.
25697         * stdio-common/tst-cookie.c: Likewise.
25698         * stdio-common/tst-fileno.c: Likewise.
25699         * stdio-common/tst-gets.c: Likewise.
25700         * stdio-common/tst-obprintf.c: Likewise.
25701         * stdio-common/tst-perror.c: Likewise.
25702         * stdio-common/tst-sprintf2.c: Likewise.
25703         * stdio-common/tst-sprintf3.c: Likewise.
25704         * stdio-common/tst-sprintf.c: Likewise.
25705         * stdio-common/tst-swprintf.c: Likewise.
25706         * stdio-common/tst-tmpnam.c: Likewise.
25707         * stdio-common/tst-unbputc.c: Likewise.
25708         * stdio-common/tst-wc-printf.c: Likewise.
25709         * stdlib/tst-environ.c: Likewise.
25710         * stdlib/tst-fmtmsg.c: Likewise.
25711         * stdlib/tst-limits.c: Likewise.
25712         * stdlib/tst-rand48-2.c: Likewise.
25713         * stdlib/tst-rand48.c: Likewise.
25714         * stdlib/tst-random2.c: Likewise.
25715         * stdlib/tst-random.c: Likewise.
25716         * stdlib/tst-strtol.c: Likewise.
25717         * stdlib/tst-strtoll.c: Likewise.
25718         * stdlib/tst-tls-atexit.c: Likewise.
25719         * stdlib/tst-xpg-basename.c: Likewise.
25720         * string/test-ffs.c: Likewise.
25721         * string/tst-bswap.c: Likewise.
25722         * string/tst-inlcall.c: Likewise.
25723         * string/tst-strtok.c: Likewise.
25724         * string/tst-strxfrm.c: Likewise.
25725         * sysdeps/x86_64/tst-audit10.c: Likewise.
25726         * sysdeps/x86_64/tst-audit3.c: Likewise.
25727         * sysdeps/x86_64/tst-audit4.c: Likewise.
25728         * sysdeps/x86_64/tst-audit5.c: Likewise.
25729         * time/tst-ftime_l.c: Likewise.
25730         * time/tst-getdate.c: Likewise.
25731         * time/tst-mktime3.c: Likewise.
25732         * time/tst-mktime.c: Likewise.
25733         * time/tst-posixtz.c: Likewise.
25734         * time/tst-strptime2.c: Likewise.
25735         * time/tst-strptime3.c: Likewise.
25736         * wcsmbs/tst-btowc.c: Likewise.
25737         * wcsmbs/tst-mbrtowc.c: Likewise.
25738         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25739         * wcsmbs/tst-wchar-h.c: Likewise.
25740         * wcsmbs/tst-wcpncpy.c: Likewise.
25741         * wcsmbs/tst-wcrtomb.c: Likewise.
25742         * wcsmbs/tst-wcsnlen.c: Likewise.
25743         * wcsmbs/tst-wcstof.c: Likewise.
25745 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25747         [BZ #14132]
25748         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25749         INTDEF.
25750         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25751         declaration.
25752         (_dl_mcount): Use rtld_hidden_proto.
25753         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25754         _dl_mcount.
25755         * elf/rtld.c (_rtld_global_ro): Likewise.
25757         [BZ #14132]
25758         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25759         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25760         of _dl_init_internal.
25761         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25762         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25763         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25764         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25765         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25766         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25767         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25768         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25769         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25770         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25771         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25772         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25773         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25774         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25775         * sysdeps/tile/dl-start.S (_start): Likewise.
25776         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25777         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25779         [BZ #14132]
25780         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25781         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25782         (rtld_progname): Make macro definition unconditional.
25783         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25784         INTDEF.
25785         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25786         (dl_main): Likewise.
25787         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25788         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25789         instead of _dl_argv_internal.
25790         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25791         __GI__dl_argv instead of INTUSE(_dl_argv).
25792         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25793         __GI__dl_argv instead of _dl_argv_internal.
25795         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25796         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25797         macro.
25798         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25799         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25800         New macro.
25801         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25802         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25803         macro.
25804         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25805         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25807 2014-11-04  Andreas Schwab  <schwab@suse.de>
25809         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25811 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25813         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25814         mtvsrd instruction in binary form.
25816 2014-11-03  Andreas Schwab  <schwab@suse.de>
25818         [BZ #17522]
25819         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25820         for less than MB_LEN_MAX use a local buffer of that size.
25821         * libio/tst-fputws.c: New file.
25822         * libio/Makefile (tests): Add tst-fputws.
25824 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25826         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25827         the size of the fpu_fr.fpu_dregs[] array.
25829 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25831         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25832         (__nanosleep): Do not define as alias.
25833         (nanosleep): Define as alias of __nanosleep.
25834         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25835         __libc_nanosleep name.
25837 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25839         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25840         install.texi in comment.
25842 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25844         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25845         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25846         ... add here and use lwsync or sync ...
25847         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25848         ... and add here using lwsync.
25850 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25852         * elf/dl-machine-reject-phdr.h: New file.
25853         * elf/dl-load.c: #include that.
25854         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25855         if that returned true.
25857 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25859         [BZ #17496]
25860         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25861         gen-as-const-headers chunk.  Add a big scare comment after the last
25862         safe place to touch before-compile.
25864 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25866         * manual/install.texi (Tools for Compilation): Update autoconf
25867         version requirements.
25868         * INSTALL: Regenerated.
25870         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25871         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25872         (__libc_pselect): Likewise.
25874         [BZ #14138]
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25880 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25882         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25883         correct barrier instruction.
25884         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25885         Likewise.
25886         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25887         Likewise.
25889 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25891         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25892         after defining inlines.  Instead, just use parens to defeat macro
25893         expansion of __isctype in its declaration.
25895 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25897         * include/sys/uio.h (__libc_readv): Remove declaration.
25898         (__libc_writev): Likewise.
25899         * misc/readv.c (__libc_readv): Rename to __readv.
25900         (__readv): Do not define as alias.
25901         (readv): Define as alias of __readv.
25902         * misc/writev.c (__libc_writev): Rename to __writev.
25903         (__writev): Do not define as alias.
25904         (writev): Define as alias of __writev.
25905         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25906         (__readv): Do not define as alias.
25907         (readv): Define unconditionally as alias of __readv.
25908         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25909         (__writev): Do not define as alias.
25910         (writev): Define unconditionally as alias of __writev.
25911         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25912         name.
25913         (writev): Do not define __libc_writev name.
25915 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25917         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25918         (convert_charseq): New function, broken out of ...
25919         (use_from_charmap): ... here.  Call it.
25920         (use_to_charmap): Use convert_charseq and free instead of duplicating
25921         its code with a variable-length stack struct.
25923 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25925         * include/fcntl.h (__libc_creat): Remove declaration.
25926         * io/creat.c (__libc_creat): Rename to creat.
25927         (creat): Do not define as alias.
25928         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25929         of creat instead of __libc_creat.
25930         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25931         to creat.
25932         (creat): Do not define as alias.
25933         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25934         __libc_creat.
25935         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25936         __libc_creat name.
25937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25938         Likewise.
25940 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25942         * manual/llio.texi: Add comments discussing why write() may be
25943         considered MT-unsafe on Linux.
25945 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25947         * dl-load.c (local_strdup): Remove.
25948         (expand_dynamic_string_token): Use __strdup.
25949         (decompose_rpath): Likewise.
25950         (_dl_map_object): Likewise.
25952 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25954         [BZ #14132]
25955         * sysdeps/generic/unwind-dw2-fde.c
25956         (__register_frame_info_bases_internal): Do not declare.
25957         (__register_frame_info_table_bases_internal): Likewise.
25958         (__deregister_frame_info_bases_internal): Likewise.
25959         (__register_frame_info_bases): Declare and use hidden_proto before
25960         definition.  Use hidden_def instead of INTDEF.
25961         (__register_frame_info_table_bases): Likewise.
25962         (__deregister_frame_info_bases): Likewise.
25963         (__register_frame_info): Do not use INTUSE.
25964         (__register_frame): Likewise.
25965         (__register_frame_info_table): Likewise.
25966         (__register_frame_table): Likewise.
25967         (__deregister_frame_info): Likewise.
25968         (__deregister_frame): Likewise.
25970 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25972         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25973         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25974         not undefine.
25975         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25976         Likewise.
25977         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25978         Likewise.
25980 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25982         [BZ #14138]
25983         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25984         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25985         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25986         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25987         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25988         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25989         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25990         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25991         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25992         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25993         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25994         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25995         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25996         syscall.
25997         (setfsuid): Likewise.
25998         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25999         (setfsuid): Likewise.
26000         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26001         (setfsuid): Likewise.
26002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26003         Likewise.
26004         (setfsuid): Likewise.
26005         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26006         (setfsuid): Likewise.
26007         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26008         Likewise.
26009         (setfsuid): Likewise.
26011 2014-10-27  Andreas Schwab  <schwab@suse.de>
26013         [BZ #17501]
26014         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26015         check for Slow_SSE4_2 feature bit.
26016         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26017         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26018         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26019         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26021 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26023         * configure.ac: Validate compiler version with a empirical test of
26024         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26025         $CC -v output.
26026         * configure: Regenerated.
26028         * inet/htons.c (htons): Prototypify.
26029         * inet/htonl.c (htonl): Likewise.
26031 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26033         * string/strncat.c (strncat): Improve performance by using strlen.
26035 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26037         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26039 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26041         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26042         Call libc_fetestexcept_aarch64.
26044 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26046         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26047         Call libc_feholdexcept_aarch64.
26049 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26051         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26052         Call get_rounding_mode.
26054 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26056         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26057         Simplify logic.
26059 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26061         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26062         Simplify logic.
26064 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26066         [BZ #14138]
26067         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26068         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26069         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26070         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26071         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26072         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26073         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26074         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26075         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26076         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26077         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26078         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26079         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26080         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26081         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26082         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26083         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26084         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26085         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26086         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26087         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26088         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26089         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26090         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26091         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26092         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26093         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26094         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26095         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26096         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26097         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26098         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26099         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26100         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26101         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26102         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26103         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26104         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26105         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26106         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26107         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26108         syscall.
26109         (geteuid): Likewise.
26110         (getgid): Likewise.
26111         (getuid): Likewise.
26112         (getresgid): Likewise.
26113         (getresuid): Likewise.
26114         (getgroups): Likewise.
26115         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26116         (geteuid): Likewise.
26117         (getgid): Likewise.
26118         (getuid): Likewise.
26119         (getresgid): Likewise.
26120         (getresuid): Likewise.
26121         (getgroups): Likewise.
26122         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26123         (geteuid): Likewise.
26124         (getgid): Likewise.
26125         (getuid): Likewise.
26126         (getresgid): Likewise.
26127         (getresuid): Likewise.
26128         (getgroups): Likewise.
26129         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26130         Likewise.
26131         (geteuid): Likewise.
26132         (getgid): Likewise.
26133         (getuid): Likewise.
26134         (getresgid): Likewise.
26135         (getresuid): Likewise.
26136         (getgroups): Likewise.
26137         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26138         (geteuid): Likewise.
26139         (getgid): Likewise.
26140         (getuid): Likewise.
26141         (getresgid): Likewise.
26142         (getresuid): Likewise.
26143         (getgroups): Likewise.
26144         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26145         Likewise.
26146         (geteuid): Likewise.
26147         (getgid): Likewise.
26148         (getuid): Likewise.
26149         (getgroups): Likewise.
26151         [BZ #14138]
26152         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26153         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26154         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26155         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26156         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26157         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26158         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26159         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26160         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26161         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26162         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26163         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26164         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26165         __chown.
26166         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26167         (lchown): Likewise.
26168         (fchown): Likewise.
26169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26170         Likewise.
26171         (lchown): Likewise.
26172         (fchown): Likewise.
26173         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26174         (lchown): Likewise.
26175         (fchown): Likewise.
26176         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26177         Likewise.
26178         (lchown): Likewise.
26179         (fchown): Likewise.
26181 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26183         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26184         Simplify logic.
26186 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26188         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26189         Cleanup logic.
26191 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26193         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26194         Remove unused include.
26196 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26198         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26200         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26201         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26203 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26204             Helge Deller <deller@gmx.de>
26206         [BZ #17508]
26207         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26208         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26209         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26211 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26213         [BZ #14132]
26214         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26215         Remove macro definition.
26216         (__ashrdi3_v_glibc20): Likewise.
26217         (__lshrdi3_v_glibc20): Likewise.
26218         (__cmpdi2_v_glibc20): Likewise.
26219         (__ucmpdi2_v_glibc20): Likewise.
26220         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26221         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26222         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26223         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26224         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26225         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26227 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26229         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26230         old GNU extension [0] syntax.
26231         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26232         alloca rather than an array member with variable length.
26233         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26234         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26235         (parse_opt): ... here.  Likewise use alloca there.
26236         Validate the -i argument before checking for rootness.
26237         (send_shutdown): New function, broken out of ...
26238         (parse_opt): ... here.
26240 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26242         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26243         macro to get at the _rt_local_ro field.
26244         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26245         ([PIC] case) or _dl_hwcap ([!PIC] case).
26246         * sysdeps/arm/setjmp.S: Likewise.
26248         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26249         * sysdeps/arm/configure.ac: New check to define it.
26250         * sysdeps/arm/configure: Regenerated.
26251         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26252         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26253         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26254         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26255         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26256         Use move/movt pair instead of a load.
26257         (LDST_GLOBAL): Macro removed.
26258         (LDR_GLOBAL): New macro replaces it.
26259         (LDR_HIDDEN): New macro.
26260         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26261         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26263         * setjmp/tst-setjmp-static.c: New file.
26264         * setjmp/Makefile (tests): Add it.
26265         (tests-static): New variable.
26267 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26269         [BZ #17485]
26270         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26272 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26274         [BZ #14132]
26275         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26277 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26279         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26281 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26283         * io/fts.c (dirent_not_directory): New function.
26284         (fts_build): Call it.
26286 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26288         * nptl/version.c (__nptl_main): Use normal __write rather than
26289         INTERNAL_SYSCALL.
26290         (banner): Update copyright years.
26292         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26293         gettimeofday.
26294         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26295         * nptl/pthread_cond_timedwait.c: Likewise.
26296         * nptl/pthread_mutex_timedlock.c: Likewise.
26297         * nptl/sem_timedwait.c: Likewise.
26299         * sysdeps/nptl/bits/libc-lock.h
26300         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26301         (__libc_lock_init_recursive): Return void, not 0.
26302         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26303         (__libc_rwlock_init): Likewise.
26304         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26306 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26308         [BZ #15215]
26309         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26310         (__pthread_once_slow): ... here.
26311         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26312         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26314 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26316         [BZ #15215]
26317         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26318         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26319         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26320         * nptl/pthread_once.c (__pthread_once): Likewise.
26321         Update comments.
26323 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26325         [BZ #14138]
26326         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26327         name.
26328         (writev): Use __libc_writev as strong name.
26329         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26330         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26332 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26334         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26336         * sysdeps/i386/nptl/tls.h
26337         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26338         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26339         New macros.
26340         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26341         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26342         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26343         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26344         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26345         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26347         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26348         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26349         on [__NR_futex].
26350         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26351         broken out of ...
26352         (__pthread_mutex_init): ... here.  Call it.
26353         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26354         Conditionalize PI cases on [__NR_futex].
26355         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26356         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26357         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26359         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26360         conditional on [SIGSETXID].
26361         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26362         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26363         is defined.  Likewise for SIGSETXID.
26364         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26365         Conditionalize definitions on [SIGSETXID].
26366         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26367         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26368         unblocking on [SIGCANCEL].
26370         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26371         [__NR_set_robust_list].
26373 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26375         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26376         (do_compare): Likewise.
26378 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26380         [BZ #15884]
26381         * string/strcoll_l.c: Don't include stdio.h.
26382         (coll_seq): Remove members idxarr and rulearr.
26383         (get_next_seq_cached): Remove function.
26384         (get_next_seq): Likewise.
26385         (get_next_seq_nocache): Rename to get_next_seq.
26386         (do_compare): Remove function.
26387         (do_compare_nocache): Rename to do_compare.
26388         (STRCOLL): Remove weight and rules cache.
26390 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26392         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26393         * sysdeps/arm/sfp-machine.h: ... to here.
26394         * sysdeps/arm/Implies: Remove arm/soft-fp.
26396 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26398         * conform/data/sys/utsname.h-data (*_t): Allow.
26399         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26400         [POSIX] (WEXITED): Do not expect constant.
26401         [POSIX] (WSTOPPED): Likewise.
26402         [POSIX] (WNOHANG): Likewise.
26403         [POSIX] (WNOWAIT): Likewise.
26404         [POSIX] (siginfo_t): Do not expect type or elements.
26405         [POSIX] (pid_t): Do not expect type.
26406         [POSIX] (signal.h): Do not allow header.
26407         [POSIX] (sys/resource.h): Likewise.
26408         [POSIX] (si_*): Do not allow pattern.
26409         [POSIX] (W*): Likewise.
26410         [POSIX] (P_*): Likewise.
26411         [POSIX] (BUS_*): Likewise.
26412         [POSIX] (CLD_*): Likewise.
26413         [POSIX] (FPE_*): Likewise.
26414         [POSIX] (ILL_*): Likewise.
26415         [POSIX] (POLL_*): Likewise.
26416         [POSIX] (SEGV_*): Likewise.
26417         [POSIX] (SI_*): Likewise.
26418         [POSIX] (TRAP_*): Likewise.
26419         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26420         variable.
26422 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26424         [BZ #12926]
26425         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26426         infinite loop when __recvmsg returns 0.
26428 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26430         * CANCEL-FCT-WAIVE: Remove file.
26431         * CANCEL-FILE-WAIVE: Likewise.
26433         [BZ #14132]
26434         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26435         instead of INTVARDEF.
26436         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26437         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26438         rtld_hidden_data_def instead of INTVARDEF.
26439         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26440         * elf/dl-deps.c (expand_dst): Likewise.
26441         * elf/dl-load.c (_dl_dst_count): Likewise.
26442         (_dl_dst_substitute): Likewise.
26443         (decompose_rpath): Likewise.
26444         (_dl_init_paths): Likewise.
26445         (open_path): Likewise.
26446         (_dl_map_object): Likewise.
26447         * elf/rtld.c (dl_main): Likewise.
26448         (process_dl_audit): Likewise.
26449         (process_envvars): Likewise.
26450         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26451         Remove declaration.
26452         (__libc_enable_secure): Use rtld_hidden_proto.
26454 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26456         * elf/dl-load.c
26457         (add_path): New function broken out of _dl_rtld_di_serinfo.
26458         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26460 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26462         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26463         parentheses around macro arguments.
26464         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26466         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26467         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26468         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26471         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26472         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26475         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26476         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26477         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26478         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26479         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26480         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26481         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26483         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26484         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26493         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26494         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26495         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26497         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26498         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26499         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26500         Likewise.
26501         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26502         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26505         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26506         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26508         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26509         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26510         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26511         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26512         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26513         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26522         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26523         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26527         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26528         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26529         (_FP_FRAC_SRS_1): Likewise.
26530         (_FP_FRAC_CLZ_1): Likewise.
26531         (_FP_MUL_MEAT_1_imm): Likewise.
26532         (_FP_MUL_MEAT_1_wide): Likewise.
26533         (_FP_MUL_MEAT_1_hard): Likewise.
26534         (_FP_SQRT_MEAT_1): Likewise.
26535         (_FP_FRAC_ASSEMBLE_1): Likewise.
26536         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26537         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26538         (__FP_CLZ_2): Likewise.
26539         (_FP_MUL_MEAT_2_wide): Likewise.
26540         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26541         (_FP_MUL_MEAT_2_gmp): Likewise.
26542         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26543         (_FP_SQRT_MEAT_2): Likewise.
26544         (_FP_FRAC_ASSEMBLE_2): Likewise.
26545         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26546         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26547         (_FP_FRAC_CLZ_4): Likewise.
26548         (_FP_MUL_MEAT_4_wide): Likewise.
26549         (_FP_MUL_MEAT_4_gmp): Likewise.
26550         (_FP_SQRT_MEAT_4): Likewise.
26551         (_FP_FRAC_ASSEMBLE_4): Likewise.
26552         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26553         * soft-fp/op-common.h (_FP_CMP): Likewise.
26554         (_FP_CMP_EQ): Likewise.
26555         (_FP_CMP_UNORD): Likewise.
26556         (_FP_TO_INT): Likewise.
26557         (_FP_FROM_INT): Likewise.
26558         [!__FP_CLZ] (__FP_CLZ): Likewise.
26559         (_FP_DIV_HELP_imm): Likewise.
26560         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26561         Likewise.
26562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26573         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26577         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26578         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26591         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26595         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26596         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26597         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26598         (FP_UNPACK_RAW_SP): Likewise.
26599         (FP_PACK_RAW_S): Likewise.
26600         (FP_PACK_RAW_SP): Likewise.
26601         (FP_UNPACK_S): Likewise.
26602         (FP_UNPACK_SP): Likewise.
26603         (FP_UNPACK_SEMIRAW_S): Likewise.
26604         (FP_UNPACK_SEMIRAW_SP): Likewise.
26605         (FP_PACK_S): Likewise.
26606         (FP_PACK_SP): Likewise.
26607         (FP_PACK_SEMIRAW_S): Likewise.
26608         (FP_PACK_SEMIRAW_SP): Likewise.
26609         (_FP_SQRT_MEAT_S): Likewise.
26610         (FP_CMP_S): Likewise.
26611         (FP_CMP_EQ_S): Likewise.
26612         (FP_CMP_UNORD_S): Likewise.
26613         (FP_TO_INT_S): Likewise.
26614         (FP_FROM_INT_S): Likewise.
26616         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26618         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26619         (FP_EX_INVALID_IMZ): Likewise.
26620         (FP_EX_INVALID_IMZ_FMA): Likewise.
26621         (FP_EX_INVALID_ISI): Likewise.
26622         (FP_EX_INVALID_ZDZ): Likewise.
26623         (FP_EX_INVALID_IDI): Likewise.
26624         (FP_EX_INVALID_SQRT): Likewise.
26625         (FP_EX_INVALID_CVI): Likewise.
26626         (FP_EX_INVALID_VC): Likewise.
26627         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26628         "invalid" exceptions.
26629         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26630         (_FP_ADD_INTERNAL): Likewise.
26631         (_FP_MUL): Likewise.
26632         (_FP_FMA): Likewise.
26633         (_FP_DIV): Likewise.
26634         (_FP_CMP_CHECK_NAN): Likewise.
26635         (_FP_SQRT): Likewise.
26636         (_FP_TO_INT): Likewise.
26637         (FP_EXTEND): Likewise.
26639 2014-10-09  Allan McRae  <allan@archlinux.org>
26641         * po/fr.po: Update French translation from translation project.
26643 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26645         [BZ #14132]
26646         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26647         of INTDEF.
26648         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26649         (__cxa_atexit): Use libc_hidden_proto.
26650         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26652         [BZ #14132]
26653         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26654         declaration.
26655         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26656         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26657         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26658         [!_ISOMAC] (__iswctype_internal): Likewise.
26659         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26660         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26661         alias.
26662         (fcntl): Remove __fcntl_internal alias.
26663         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26664         __connect_internal alias.
26665         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26666         Likewise.
26668         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26669         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26670         FP_DENORM_ZERO.
26671         (_FP_CHECK_FLUSH_ZERO): New macro.
26672         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26673         (_FP_CMP): Likewise.
26674         (_FP_CMP_EQ): Likewise.
26675         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26676         FP_DENORM_ZERO.
26677         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26678         (FP_TRUNC): Likewise.
26680         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26681         treated as invalid conversion, not as normal exponent.
26683         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26684         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26685         (_FP_CMP_EQ): Likewise.
26686         (_FP_CMP_UNORD): Likewise.
26687         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26688         (FP_CMP_EQ_D): Likewise.
26689         (FP_CMP_UNORD_D): Likewise.
26690         * soft-fp/extended.h (FP_CMP_E): Likewise.
26691         (FP_CMP_EQ_E): Likewise.
26692         (FP_CMP_UNORD_E): Likewise.
26693         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26694         (FP_CMP_EQ_Q): Likewise.
26695         (FP_CMP_UNORD_Q): Likewise.
26696         * soft-fp/single.h (FP_CMP_S): Likewise.
26697         (FP_CMP_EQ_S): Likewise.
26698         (FP_CMP_UNORD_S): Likewise.
26699         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26700         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26701         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26702         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26703         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26704         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26705         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26706         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26707         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26708         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26709         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26710         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26711         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26712         to FP_CMP_Q.
26713         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26714         FP_CMP_Q.
26715         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26716         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26717         FP_CMP_EQ_Q.
26718         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26719         FP_CMP_Q.
26720         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26721         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26722         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26723         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26724         FP_CMP_EQ_Q.
26725         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26726         FP_CMP_Q.
26727         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26728         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26729         FP_CMP_EQ_Q.
26730         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26731         FP_CMP_Q.
26732         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26733         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26734         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26735         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26736         FP_CMP_EQ_Q.
26738         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26739         a subnormal result, set the underflow exception if trapping on
26740         underflow is enabled.
26741         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26742         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26743         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26744         redefine to 0.
26745         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26746         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26747         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26748         * soft-fp/extendxftf2.c (__extendxftf2): Use
26749         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26751         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26752         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26753         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26754         FP_HANDLE_EXCEPTIONS.
26755         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26756         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26757         FP_HANDLE_EXCEPTIONS.
26758         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26759         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26760         FP_HANDLE_EXCEPTIONS.
26761         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26762         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26763         FP_HANDLE_EXCEPTIONS.
26765 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26767         [BZ #14132]
26768         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26769         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26770         use INTUSE.
26771         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26772         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26773         Remove alias.
26774         (__adjtimex): Define using libc_hidden_ver.
26775         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26776         Remove declaration.
26777         (ntp_gettime): Call __adjtimex directly.
26778         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26779         Remove declaration.
26780         (ntp_gettimex): Call __adjtimex directly.
26781         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26782         __adjtimex_internal alias.
26784 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26786         [BZ #17460]
26787         * nscd/nscd.c (more_help): Rewrite list of tables collection
26788         using xstrdup and asprintf.
26790         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26792 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26793             Roland McGrath  <roland@hack.frob.com>
26795         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26796         (do_lookup_unique): ... local function 'enter' here; update callers.
26798 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26800         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26801         compat_symbol calls on [SHARED].
26802         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26803         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26804         Remove.
26805         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26806         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26807         (oldsetrlimit): Remove.
26808         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26810         (lchown): New syscall entry.
26811         (oldsetrlimit): Remove.
26812         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26813         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26814         (oldsetrlimit): Remove.
26815         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26817         [BZ #14138]
26818         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26819         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26820         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26821         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26822         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26823         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26824         (fchown): Likewise.
26825         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26826         (fchown): Likewise.
26827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26828         Likewise.
26830 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26832         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26833         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26834         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26835         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26836         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26837         Likewise.
26838         (__old_sem_post): Likewise.
26840 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26842         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26843         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26844         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26845         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26846         Use INLINE_VSYSCALL macro.
26847         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26848         __vdso_clock_gettime.
26849         * sysdeps/unix/sysv/linux/tile/init-first.c
26850         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26851         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26852         __vdso_clock_gettime.
26854         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26855         to set up frame more cleanly.
26857         * sysdeps/tile/memcmp.c: New file.
26859         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26861         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26862         * sysdeps/tile/tilegx/strcasestr.c: New file.
26863         * sysdeps/tile/tilegx/strnlen.c: New file.
26864         * sysdeps/tile/tilegx/strstr.c: New file.
26866         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26868 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26870         * nptl/tst-setuid3.c: Write errors to stdout.
26872 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26874         * elf/dl-deps.c
26875         (preload): New functions broken out of _dl_map_object_deps.
26876         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26878 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26880         [BZ #14138]
26881         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26882         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26884 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26886         * sysdeps/mips/strcmp.S: New.
26888 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26890         [BZ #14138]
26891         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26892         (linkat): Likewise.
26893         (mkdirat): Likewise.
26894         (readlinkat): Likewise.
26895         (renameat): Likewise.
26896         (symlinkat): Likewise.
26897         (unlinkat): Likewise.
26898         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26899         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26900         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26901         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26902         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26903         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26904         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26906 2014-09-30  Will Newton  <will.newton@linaro.org>
26908         * math/math.h: Define long double math functions if
26909         _LIBC_TEST is defined.
26910         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26912         * localedata/Makefile: Move assignment to tests-special
26913         into an ifdef testing run-built-tests.
26914         * timezone/Makefile: Likewise.
26916 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26918         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26919         with $(BASH) not $(SHELL).
26921 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26922             Matthew LeGendre  <legendre1@llnl.gov>
26924         [BZ #17411]
26925         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26926         l_reloc_result.
26928 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26930         * stdio-common/printf_fp.c
26931         (hack_digit): New function, broken out of ...
26932         (__printf_fp): ... local function here.  Update call sites.
26933         hack_digit now takes an additional parameter that is a pointer
26934         to a struct of the referenced locals.  Those locals moved inside
26935         the struct and references updated.
26937 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26939         * aclocal.m4: Require autoconf 2.69.
26940         * configure: Regenerated.
26941         * sysdeps/aarch64/configure: Likewise.
26942         * sysdeps/alpha/configure: Likewise.
26943         * sysdeps/arm/armv7/configure: Likewise.
26944         * sysdeps/arm/configure: Likewise.
26945         * sysdeps/ia64/configure: Likewise.
26946         * sysdeps/mach/configure: Likewise.
26947         * sysdeps/mips/configure: Likewise.
26948         * sysdeps/s390/configure: Likewise.
26949         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26952         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26953         file.
26954         * sysdeps/ia64/configure.ac: Likewise.
26956 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26959         specify symbol version for ld.so.  Do not include entry for
26960         libpthread.
26961         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26962         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26963         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26965         [BZ #14171]
26966         * Makeconfig [$(build-shared) = yes]
26967         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26968         makefiles.
26969         [$(build-shared) = yes && $(soversions.mk-done) = t]
26970         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26971         [$(build-shared) = yes && $(soversions.mk-done) = t]
26972         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26973         to Makerules.
26974         [$(build-shared) = yes && $(soversions.mk-done) = t]
26975         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26976         here.
26977         [$(build-shared) = yes && $(soversions.mk-done) = t]
26978         (common-generated): Don't append gnu/lib-names.h and
26979         gnu/lib-names.stmp here.
26980         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26981         (lib-names-h-abi): New variable.
26982         [$(build-shared) = yes && $(soversions.mk-done) = t]
26983         (lib-names-stmp-abi): Likewise.
26984         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26985         abi-variants] (before-compile): Append
26986         $(common-objpfx)$(lib-names-h-abi).
26987         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26988         abi-variants] (common-generated): Append gnu/lib-names.h.
26989         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26990         abi-variants] (install-others-nosubdir): Depend on
26991         $(inst_includedir)/$(lib-names-h-abi).
26992         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26993         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26994         [$(build-shared) = yes && $(soversions.mk-done) = t]
26995         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26996         [$(build-shared) = yes && $(soversions.mk-done) = t]
26997         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26998         [$(build-shared) = yes && $(soversions.mk-done) = t]
26999         (common-generated): Append $(lib-names-h-abi) and
27000         $(lib-names-stmp-abi).
27001         * scripts/lib-names.awk: Do not handle multi being set.
27002         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27003         Remove variable.
27004         (abi-lp64_be-ld-soname): Likewise.
27005         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27006         Likewise.
27007         (abi-hard-ld-soname): Likewise.
27008         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27009         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27010         Remove variable.
27011         (abi-o32_hard-ld-soname): Likewise.
27012         (abi-o32_soft_2008-ld-soname): Likewise.
27013         (abi-o32_hard_2008-ld-soname): Likewise.
27014         (abi-n32_soft-ld-soname): Likewise.
27015         (abi-n32_hard-ld-soname): Likewise.
27016         (abi-n32_soft_2008-ld-soname): Likewise.
27017         (abi-n32_hard_2008-ld-soname): Likewise.
27018         (abi-n64_soft-ld-soname): Likewise.
27019         (abi-n64_hard-ld-soname): Likewise.
27020         (abi-n64_soft_2008-ld-soname): Likewise.
27021         (abi-n64_hard_2008-ld-soname): Likewise.
27022         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27023         Likewise.
27024         (abi-64-v2-ld-soname): Likewise.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27026         ld.so entries.
27027         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27028         variable.
27029         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27030         entry.
27031         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27032         variable.
27033         (abi-64-ld-soname): Likewise.
27034         (abi-x32-ld-soname): Likewise.
27035         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27036         entry.
27037         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27039 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #14138]
27042         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27043         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27044         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27045         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27046         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27047         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27048         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27049         syscall entry for GLIBC_2.2 symbol version.
27050         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27051         Likewise.
27052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27053         (setrlimit): Likewise.
27054         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27055         Likewise.
27057 2014-09-23  Will Newton  <will.newton@linaro.org>
27059         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27060         _LINUX_ARM_SYSDEP_H include guard too.
27061         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27062         define.
27064 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27066         * sysdeps/unix/sysv/linux/eventfd.c:
27067         Make first argument unsigned.
27068         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27069         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27071 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27073         [BZ #16852]
27074         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27075         * socket/sys/socket.h: Likewise.
27076         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27078 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27080         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27082 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27084         * time/tst-ftime.c: New test.
27085         * time/Makefile (tests): Add tst-ftime.
27087 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27089         * soft-fp/extended.h: Fix comment formatting.
27090         * soft-fp/op-1.h: Likewise.
27091         * soft-fp/op-2.h: Likewise.
27092         * soft-fp/op-4.h: Likewise.
27093         * soft-fp/op-8.h: Likewise.
27094         * soft-fp/op-common.h: Likewise.
27095         * soft-fp/soft-fp.h: Likewise.
27097         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27099 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27101         [BZ #6652]
27102         * Makeconfig (soversions-default-setname): Remove variable.
27103         ($(common-objpfx)soversions.i): Don't pass default_setname to
27104         soversions.awk.
27105         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27106         oldest_abi to abi-versions.awk.
27107         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27108         * config.make.in (oldest-abi): Remove variable.
27109         * configure.ac (--enable-oldest-abi): Remove configure option.
27110         * configure: Regenerated.
27111         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27112         text.
27113         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27114         * scripts/soversions.awk: Do not handle default_setname variable.
27115         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27116         variable.
27117         * sysdeps/mach/hurd/configure: Regenerated.
27118         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27119         variable.
27120         * sysdeps/unix/sysv/linux/configure: Regenerated.
27122 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27124         * elf/Makefile (CFLAGS-interp.c): Remove.
27125         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27126         path string.
27127         * elf/interp.c: Include generated runtime-linker.h
27129         * Makerules (lib%.so): Don't include $(+interp) in
27130         prerequisites.
27131         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27132         * dlfcn/eval.c: Remove file.
27134         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27135         macros.
27137         [BZ #17266]
27138         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27139         4.2 and newer.
27141         [BZ #17370]
27142         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27144 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145             Jakub Jelinek  <jakub@redhat.com>
27147         [BZ #17266]
27148         * libio/stdio.h: Check definition of __fortify_function
27149         instead of __extern_always_inline to include bits/stdio2.h.
27150         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27151         check if __extern_always_inline is defined.
27152         [__USE_MISC || __USE_XOPEN]: Likewise.
27153         [__USE_ISOC99] Likewise.
27154         * misc/sys/cdefs.h (__fortify_function): Define only if
27155         __extern_always_inline is defined.
27156         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27157         __extern_always_inline and __extern_inline only for g++-4.3
27158         and newer or a compatible gcc.
27160 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27162         [BZ #17371]
27163         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27164         last change to handle zero prefix length.
27166 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27168         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27169         _SC_REGEX_VERSION.
27171         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27172         _POSIX_RAW_SOCKETS.
27174 2014-09-13  Allan McRae  <allan@archlinux.org>
27176         * po/ru.po: Update Russian translation from translation project.
27178 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27180         * locale/programs/locale.c (show_locale_vars): Inline local function
27181         into its sole call site.  Clean up some style nits.
27182         (print_item): New function, broken out of ...
27183         (show_info): ... local function here.  Clean up style nits.
27185         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27186         out of ...
27187         (set_class_defaults): ... local function set_default here.
27188         Define set_default as a macro locally to pass constant parameters.
27189         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27190         rather than a shared local.
27192         * stdlib/rpmatch.c (try): New function, broken out of ...
27193         (rpmatch): ... local function here.  Also, prototypify definition.
27195 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27197         * scripts/soversions.awk: Do not handle configuration names.
27198         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27199         vendor and os variables to soversions.awk.
27200         * configure.ac: Do not modify gnu-* host_os.
27201         * configure: Regenerated
27202         * shlib-versions: Remove first column with configuration names.
27203         * nptl/shlib-versions: Likewise.
27204         * nptl_db/shlib-versions: Likewise.
27205         * sysdeps/hppa/shlib-versions: Likewise.
27206         * sysdeps/m68k/shlib-versions: Likewise.
27207         * sysdeps/mach/hurd/shlib-versions: Likewise.
27208         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27209         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27210         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27211         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27212         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27213         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27214         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27215         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27217         Likewise.
27218         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27219         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27220         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27221         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27222         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27223         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27225         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27228         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27230         Regenerated.
27231         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27233         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27235         * shlib-versions: Remove OS-specific entries.  Moved to files in
27236         sysdeps.
27237         * sysdeps/mach/hurd/shlib-versions: New file.
27238         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27240         * nptl/shlib-versions: Remove architecture-specific entries.
27241         Moved to files in sysdeps.
27242         * shlib-versions: Likewise.
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27244         file.
27245         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27246         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27247         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27248         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27250         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27251         (UDP_NO_CHECK6_RX): Likewise.
27253 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27255         * sysdeps/posix/sysconf.c (__sysconf): Spell
27256         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27258 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27260         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27261         loading.
27262         * iconv/Versions (__gconv_transliterate): Export for use from
27263         gconv modules.
27264         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27265         (struct __gconv_trans_data, __gconv_trans_fct,
27266         __gconv_trans_context_fct, __gconv_trans_query_fct,
27267         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27268         definitions.
27269         (struct __gconv_step_data): Remove __trans member.
27270         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27271         longer hidden.  Remove unused trans_data argument.
27272         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27273         (__gconv_translit_find): Remove declaration.
27274         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27275         prototype.
27276         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27277         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27278         trans_data argument.  Add hidden definition.
27279         (__gconv_translit_find): Remove.
27280         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27281         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27282         * iconv/skeleton.c: Remove transliteration initialization.
27283         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27284         __gconv_step_data initialization.
27285         * libio/iofwide.c (__libio_translit_): Remove.
27286         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27287         * wcsmbs/btowc.c (__btowc): Likewise.
27288         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27289         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27290         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27291         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27292         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27293         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27294         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27295         * wcsmbs/wctob.c (wctob): Likewise.
27297 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299         [BZ #16194]
27300         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27301         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27302         register usage.
27303         * sysdeps/x86/Makefile: Adjust.
27305 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27306             Roland McGrath  <roland@hack.frob.com>
27308         * locale/weight.h: Add include guard.
27309         (findidx): Make static rather than auto; take new parameters
27310         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27311         * locale/weightwc.h: Likewise.
27312         * posix/fnmatch_loop.c
27313         (FCT): Change type of EXTRA from int32_t to wint_t.
27314         Don't include either header inside the function.
27315         Call FINDIDX rather than findidx, and pass new arguments.
27316         #undef FINDIDX at the end of the file.
27317         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27318         FINDIDX before including fnmatch_loop.c for the non-wide version.
27319         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27320         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27321         for the wide version.
27322         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27323         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27324         Pass new arguments to findidx.
27325         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27326         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27327         Don't #include it inside the function.  Pass new arguments to findidx.
27328         * posix/regex_internal.h
27329         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27330         (re_string_elem_size_at): Don't #include it inside the function.
27331         Pass new arguments to findidx.
27332         * string/strcoll_l.c: #include WEIGHT_H at top level.
27333         (get_next_seq): Don't #include it inside the function.
27334         Pass new arguments to findidx.
27335         (get_next_seq_nocache): Likewise.
27336         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27337         (STRXFRM): Don't #include it inside the function.
27338         Pass new arguments to findidx.
27340 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27342         [BZ #17344]
27343         * malloc/malloc.c (unlink): Turn asserts into a call to
27344         malloc_printerr.
27346 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27348         [BZ #17370]
27349         * libio/wfileops (do_ftell_wide): Free OUT.
27351 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27353         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27355 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357         [BZ #17363]
27358         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27359         group if the current group is empty.
27361 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27363         * benchtests/bench-memset.c (test_main): Add more test from size
27364         from 32 to 512 bytes.
27365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27366         Add POWER8 memset object.
27367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27368         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27369         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27370         implementation.
27371         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27372         Likewise.
27373         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27374         multiarch POWER8 memset optimization.
27375         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27376         POWER8 memset optimization.
27378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27379         Remove bzero multiarch objects.
27380         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27381         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27382         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27383         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27384         Remove define.
27385         [__bzero]: Redefine to specific name.
27386         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27387         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27388         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27389         define.
27390         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27391         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27393 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27395         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27396         warnings into errors.
27398         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27399         __cxa_thread_atexit_impl prototype.
27401 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27403         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27404         Fix capitalization of error message.
27406 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27408         * sysdeps/mips/preconfigure: Modify ABI tests.
27410 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27412         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27414 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27415             Carlos O'Donell  <carlos@systemhalted.org>
27417         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27419         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27420         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27421         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27422         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27423         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27424         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27425         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27427         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27429         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27438         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27439         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27440         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27441         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27442         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27443         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27444         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27445         Deconditionalize the code that was previously under [RESET_PID].
27446         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27447         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27448         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27449         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27450         include sysdep.h.
27452 2014-09-08  Allan McRae  <allan@archlinux.org>
27454         * version.h (RELEASE): Set to "development".
27455         (VERSION): Set to "2.20.90"
27457 2014-09-07  Allan McRae  <allan@archlinux.org
27459         * version.h (RELEASE): Set to "stable".
27460         (VERSION): Set to "2.20"
27461         * include/features.h (__GLIBC_MINOR__): Set to 20.
27463         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27464         Liebler.
27466         * po/ko.po: Update Korean translation from translation project.
27468 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27470         [BZ #17354]
27471         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27472         macro for handling signed relocations.
27474 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27476         [BZ #17325]
27477         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27478         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27479         assert.
27480         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27481         * iconvdata/ibm935.c (BODY): Likewise.
27482         * iconvdata/ibm937.c (BODY): Likewise.
27483         * iconvdata/ibm939.c (BODY): Likewise.
27484         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27485         assert.
27486         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27487         script.
27488         * iconvdata/run-iconv-test.sh: New test loop for checking for
27489         decoder crashers.
27491 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27493         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27494         libm_hidden_ver.
27496 2014-09-01  Allan McRae  <allan@archlinux.org>
27498         * po/eo.po: Update Esperanto translation from translation project.
27500         * po/ca.po: Update Catalan translation from translation project.
27502 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27504         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27505         __proc_dostop call.
27507 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27509         [BZ #17319]
27510         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27511         to call set_thread_area instead of hand written asm.
27512         (__NR_set_thread_area): Removed define.
27513         (TLS_FLAG_WRITABLE): Likewise.
27514         (__ASSUME_SET_THREAD_AREA): Remove check.
27515         (TLS_EBX_ARG): Remove define.
27516         (TLS_LOAD_EBX): Likewise.
27518 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27520         Simplify atomicity of socket creation in bind.
27522         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27523         looking up the name after linking the file.
27525 2014-08-27  Allan McRae  <allan@archlinux.org>
27527         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27529 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27531         [BZ #17187]
27532         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27533         trans_compare, open_translit, __gconv_translit_find):
27534         Remove module loading code.
27536 2014-08-26  Allan McRae  <allan@archlinux.org>
27538         * po/vi.po: Update Vietnamese translation from translation project.
27540         * po/uk.po: Update Ukrainian translation from translation project.
27542         * po/fr.po: Update French translation from translation project.
27544         * po/ru.po: Update Russian translation from translation project.
27546         * po/pl.po: Update Polish translation from translation project.
27548         * po/cs.po: Update Czech translation from translation project.
27550         * po/de.po: Update German translation from translation project.
27552         * po/bg.po: Update Bulgarian translation from translation project.
27554         * po/sv.po: Update Sweedish translation from translation project.
27556         * po/nl.po: Update Dutch translation from translation project.
27558         * po/es.po: Update Spanish translation from translation project.
27560 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27562         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27564         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27565         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27566         (CPPFLAGS-iconvconfig): Likewise.
27567         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27569         * include/libc-symbols.h: Remove unnecessary check for
27570         NOT_IN_libc.
27571         * nptl/pthreadP.h: Likewise.
27572         * sysdeps/aarch64/setjmp.S: Likewise.
27573         * sysdeps/alpha/setjmp.S: Likewise.
27574         * sysdeps/arm/sysdep.h: Likewise.
27575         * sysdeps/i386/setjmp.S: Likewise.
27576         * sysdeps/m68k/setjmp.c: Likewise.
27577         * sysdeps/posix/getcwd.c: Likewise.
27578         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27579         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27580         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27581         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27582         * sysdeps/sh/sh3/setjmp.S: Likewise.
27583         * sysdeps/sh/sh4/setjmp.S: Likewise.
27584         * sysdeps/unix/alpha/sysdep.h: Likewise.
27585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27586         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27587         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27588         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27593         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27595         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27596         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27598         * sysdeps/x86_64/setjmp.S: Likewise.
27600 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27602         [BZ #17263]
27603         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27604         <stdint.h>.
27605         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27606         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27608 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27610         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27612         [BZ #17262]
27613         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27614         and __x86_64__ when disabling x87 inline functions.
27616 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27618         [BZ #17259]
27619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27620         asm statement with __cpuid_count.
27622 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27624         * configure.ac: Change __ehdr_start code to dereference the struct.
27625         Run readelf on the output to look for relocations.
27626         * configure: Regenerated.
27628 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27630         [BZ #17261]
27631         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27632         value to 0.
27633         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27635 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27637         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27639 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27641         [BZ #16892]
27642         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27643         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27645 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27647         * malloc/malloc.c: Fix typo in comment.
27649 2014-08-09  Allan McRae  <allan@archlinux.org>
27651         * Regenerate libc.po.
27653 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27655         * intl/tst-gettext2.sh: Check every lang file for creation.
27657 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27659         * sysdeps/aarch64/fpu/math_private.h
27660         (libc_feholdsetround_noex_aarch64_ctx): New function.
27662 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27664         * sysdeps/arm/armv6/strcpy.S (strcpy):
27665         Fix performance issue in misaligned cases.
27667 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27669         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27670         Move definition from termios.h.
27671         (struct termio): Likewise.
27672         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27673         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27674         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27675         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27676         Likewise.
27677         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27678         Move definition to ioctl-types.h
27679         (struct termio): Likewise.
27680         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27681         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27682         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27683         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27684         Likewise.
27686 2014-08-05  Richard Henderson  <rth@redhat.com>
27688         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27689         exceptions.
27690         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27691         Add fraiseexcpt.
27692         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27693         Use __feraiseexcept.
27694         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27695         Protect libm symbols with IS_IN_libm.
27697         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27699 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27701         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27703 2014-08-04  Will Newton  <will.newton@linaro.org>
27705         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27706         file.
27708 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27711         variants for each function.
27713 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27715         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27716         appended ...
27717         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27718         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27719         appended ...
27720         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27721         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27722         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27723         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27724         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27725         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27726         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27727         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27728         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27729         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27730         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27732         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27734         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27735         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27736         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27738         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27739         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27740         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27741         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27742         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27743         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27744         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27745         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27746         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27747         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27748         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27749         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27750         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27751         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27752         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27753         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27754         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27755         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27756         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27757         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27758         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27759         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27760         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27762         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27764         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27766         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27768         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27770         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27771         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27772         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27773         Update #include.
27774         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27775         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27777 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27779         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27780         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27781         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27782         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27784         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27786 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27788         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27789         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27790         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27791         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27793 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27795         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27796         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27797         (__libc_vfork): Define function under this name.
27798         (__vfork): Define as an alias.
27799         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27800         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27802 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27804         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27805         that was previously under [RESET_PID].
27806         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27808 2014-08-04  Andreas Schwab  <schwab@suse.de>
27810         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27812 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27814         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27815         (main): Likewise.
27817 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27819         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27821 2014-08-01  Richard Henderon  <rth@redhat.com>
27823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27824         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27825         typo in exact zero test.
27826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27830 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27832         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27833         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27834         * sysdeps/arm/sysdep.h: ... here.
27835         [!__ASSEMBLER__]: Include <stdint.h>.
27837 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27839         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27840         (HAVE_WCTYPE_H): Likewise.
27841         (HAVE_ISWCTYPE): Likewise.
27842         (ENABLE_NLS): Likewise.
27843         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27844         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27846         * posix/regex_internal.c: Check if DEBUG is defined and is
27847         set.
27849         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27850         (HAVE_MBSRTOWCS): Likewise.
27851         * posix/fnmatch.c: Include string.h unconditionally.
27853 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27855         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27856         reversal.
27858 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27860         * sysdeps/generic/safe-fatal.h: New file.
27861         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27862         * nptl/forward.c: Include it.
27863         (__pthread_unwind): Use __safe_fatal as default action, rather
27864         than a bogus use of INTERNAL_SYSCALL that could never work.
27866         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27867         * configure.ac (libc_cv_builtin_trap): New test.
27868         * configure: Regenerated.
27869         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27870         (ABORT_INSTRUCTION): Define using __builtin_trap.
27872         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27873         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27874         * sysdeps/nptl/nptl-signals.h: New file.
27875         * nptl/pthreadP.h: Include <nptl-signals.h>.
27877 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27879         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27880         (ONE_DIRECTION): Define.
27881         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27882         (ONE_DIRECTION): Define.
27883         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27884         (ONE_DIRECTION): Define.
27886 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27888         * sysdeps/s390/Makefile: Delete file.
27889         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27890         * sysdeps/s390/__longjmp.c: Delete file.
27891         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27892         Remove fields __flags and __reserved.
27893         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27894         and add versioning.
27895         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27896         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27897         * sysdeps/s390/rtld-setjmp.S: Likewise.
27898         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27899         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27900         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27901         * sysdeps/s390/s390-32/setjmp.S: ... here.
27902         Add versioning.
27903         (__sigsetjmp): Remove setting __flags field.
27904         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27905         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27906         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27907         * sysdeps/s390/s390-64/setjmp.S: ... here.
27908         Add versioning.
27909         (__sigsetjmp): Remove setting __flags field.
27910         * sysdeps/s390/setjmp.S: Delete file.
27911         * sysdeps/s390/sigjmp.c: Likewise.
27912         * sysdeps/s390/v1-longjmp.c: Likewise.
27913         * sysdeps/s390/v1-setjmp.h: Likewise.
27914         * sysdeps/s390/v1-sigjmp.c: Likewise.
27915         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27916         Remove v1-longjmp_chk.
27917         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27918         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27919         Include debug/longjmp_chk.c and add versioning.
27920         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27921         Include nptl/pt-longjmp.c and add versioning.
27922         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27923         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27924         Include __longjmp.c.
27925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27926         Move to ...
27927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27928         (__getcontext): Remove setting __flags field.
27929         Add versioning.
27930         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27931         Don't restore upper high grps.
27932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27933         Likewise.
27934         (__swapcontext): Remove setting uc_flags field.
27935         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27936         Delete file.
27937         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27938         Include __longjmp.c.
27939         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27940         Move to ...
27941         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27942         (__getcontext): Remove setting __flags field.
27943         Add versioning.
27944         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27945         (__swapcontext): Remove setting uc_flags field.
27946         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27947         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27948         Remove fields uc_high_gprs and __reserved.
27949         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27950         New file with reverted content.
27951         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27952         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27953         Regenerated.
27954         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27955         Regenerated.
27957 2014-07-31  Andreas Schwab  <schwab@suse.de>
27959         * config.h.in (HAVE_IFUNC): Define to 0.
27960         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27961         definedness.
27963 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27966         memmove-avx-unaligned, memcpy-avx-unaligned and
27967         mempcpy-avx-unaligned.
27968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27969         Add tests for AVX memcpy functions.
27970         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27971         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27972         memcpy_chk.
27973         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27974         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27975         memmove_chk.
27976         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27977         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27978         mempcpy_chk.
27979         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27980         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27981         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27983 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27985         [BZ #17213]
27986         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27987         powerpc64le.
27989 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27991         [BZ #16839]
27992         * manual/llio.texi: Add section about open file description locks.
27993         * manual/examples/ofdlocks.c: Example of open file description
27994         lock usage.
27995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27996         F_OFD_SETLK, and F_OFD_SETLKW.
27998 2014-07-23  Allan McRae  <allan@archlinux.org>
28000         * po/es.po: Update Spanish translation from translation project.
28002 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28004         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28006 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28008         [BZ #17078]
28009         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28010         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28011         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28013 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28015         [BZ #17088]
28016         * math/fesetenv.c (__fesetenv)
28017         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28018         * math/feupdateenv.c (__feupdateenv)
28019         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28021         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28022         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28023         (__ASSUME_SOCKETCALL): Do not define.
28025         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28026         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28027         (__ASSUME_SOCKETCALL): Do not define.
28028         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28029         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28030         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28031         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28032         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28033         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28035         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28037         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28038         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28039         (__ASSUME_SOCKETCALL): Do not define.
28040         (__ASSUME_IPC64): Define unconditionally.
28041         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28042         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28043         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28044         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28045         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28047         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28048         Likewise.
28050         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28051         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28052         (__ASSUME_SOCKETCALL): Do not define.
28053         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28054         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28055         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28056         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28057         (__ASSUME_REQUEUE_PI): Define unconditionally.
28058         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28059         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28060         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28061         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28063         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28065         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28066         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28067         (__ASSUME_SOCKETCALL): Do not define.
28068         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28069         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28070         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28071         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28072         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28073         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28075         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28076         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28077         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28078         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28079         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28080         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28082         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28083         (__ASSUME_GETCPU_SYSCALL): Likewise.
28085         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28086         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28087         cases for individual architectures.
28088         * sysdeps/gnu/configure: Regenerated.
28089         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28090         LIBC_SLIBDIR_RTLDDIR.
28091         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28092         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28093         LIBC_SLIBDIR_RTLDDIR.
28094         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28096         LIBC_SLIBDIR_RTLDDIR.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28098         Regenerated.
28099         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28100         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28101         file.
28102         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28103         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28104         file.
28105         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28106         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28107         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28108         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28110         * sysdeps/aarch64/shlib-versions: Move to ...
28111         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28112         * sysdeps/alpha/shlib-versions: Move to ...
28113         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28114         * sysdeps/arm/shlib-versions: Move to ...
28115         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28116         * sysdeps/hppa/shlib-versions: Move all contents except for
28117         libgcc_s entry to ...
28118         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28119         entry from ...
28120         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28121         * sysdeps/ia64/shlib-versions: Move to ...
28122         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28123         entry from ...
28124         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28125         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28126         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28127         * sysdeps/microblaze/shlib-versions: Move to ...
28128         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28129         * sysdeps/mips/shlib-versions: Move to ...
28130         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28131         entry from ...
28132         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28133         * sysdeps/tile/shlib-versions: Move to ...
28134         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28136         from ...
28137         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28138         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28139         entry from ...
28140         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28142 2014-07-17  Will Newton  <will.newton@linaro.org>
28144         * sysdeps/arm/bits/atomic.h
28145         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28146         (__arch_compare_and_exchange_bool_16_int): Likewise.
28147         (__arch_compare_and_exchange_bool_64_int): Likewise.
28149         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28150         into an #else block.
28152 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28154         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28155         just Linux configurations.  Test empirically that the compiler sets
28156         __ARM_EABI__, rather than using the tuple to decide.
28157         * sysdeps/arm/preconfigure: Regenerated.
28158         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28159         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28160         contents appended ...
28161         * sysdeps/arm/configure.ac: ... here.
28162         * sysdeps/arm/configure: Regenerated.
28164 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28166         * nptl/pthread_kill.c: New file.
28167         * nptl/pthread_sigmask.c: New file.
28168         * nptl/pthread_sigqueue.c: New file.
28170         * sysdeps/nptl/lowlevellock.h: New file.
28171         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28172         * sysdeps/nptl/lowlevellock-futex.h: New file.
28174         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28175         Remove dead declarations.
28177 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28179         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28180         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28181         config-cflags-avx2.
28182         * sysdeps/x86_64/configure.ac: Likewise.
28183         * sysdeps/i386/configure: Regenerated.
28184         * sysdeps/x86_64/configure: Likewise.
28185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28186         memset-avx2 only if config-cflags-avx2 is yes.
28187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28188         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28189         defined.
28190         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28191         only if HAVE_AVX2_SUPPORT is defined.
28192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28194 2014-07-14  Alan Modra  <amodra@gmail.com>
28196         [BZ #17153]
28197         * elf/elf.h (DT_PPC64_NUM): Correct value.
28198         * NEWS: Add to fixed bug list.
28200 2014-07-13  Jim Meyering  <meyering@fb.com>
28202         [BZ 17150]
28203         regex: don't deref NULL upon heap allocation failure
28204         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28205         failure in one more place.
28206         To trigger the segfault, configure grep -with-included-regex,
28207         build it, and run these commands:
28208         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28210 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28212         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28214 2014-07-11  Richard Henderson  <rth@redhat.com>
28216         * sysdeps/aarch64/libm-test-ulps: Update.
28218 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28220         [BZ #17135]
28221         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28222         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28223         (__nptl_setxid): Initialize error member.  Call
28224         __nptl_setxid_error.
28225         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28226         * nptl/descr.h (struct xid_command): Add error member.
28227         * nptl/tst-setuid3.c: New file.
28228         * nptl/Makefile (tests): Add it.
28230 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28232         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28233         New define.
28234         (__lll_trylock): Use __lll_base_trylock.
28235         (__lll_cond_trylock): Likewise.
28237 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28239         * nptl/pthread_create.c (start_thread): Use atomic_or and
28240         lll_futex_wake directly rather than lll_robust_dead.
28241         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28242         (lll_robust_dead): Macro removed.
28243         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28244         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28245         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28246         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28247         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28248         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28249         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28251         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28255         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28259         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28260         Use atomic_compare_and_exchange_val_acq directly rather than
28261         lll_robust_trylock.
28262         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28263         (__lll_robust_trylock, lll_robust_trylock): Removed.
28264         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28265         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28266         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28268         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28269         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28270         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28271         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28273         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28274         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28276         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28279 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28281         * manual/locale.texi (Locale Names): New section documenting
28282         locale name syntax.  Adjust menu and node chaining accordingly.
28283         (Choosing Locale): Reference Locale Names, Locale Categories.
28284         Mention setting LC_ALL=C.  Reflect that name syntax is now
28285         documented.
28286         (Locale Categories): New section title.  Reference Locale Names.
28287         LC_ALL is an environment variable, but not a category.
28288         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28289         description, now in Locale Name.  Reference that section.  Locale
28290         name syntax is now documented.
28292 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28294         [BZ #17137]
28295         * locale/findlocale.c (name_present, valid_locale_name): New
28296         functions.
28297         (_nl_find_locale): Use the loc_name variable to store name
28298         candidates.  Call name_present and valid_locale_name to check and
28299         validate locale names.  Return an error if the locale is invalid.
28301 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28303         * locale/setlocale.c (setlocale): Use strdup for allocating
28304         composite name copy.
28306 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28308         Sync up with gnulib.
28309         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28310         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28311         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28312         and _GL_ARG_NONNULL.
28313         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28314         [!_LIBC]: Include code for Windows and Cygwin.
28315         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28316         Include prototype for int strerror_r.
28317         [!_LIBC] (is_open): New function.
28318         (flush_stdout): New function.
28319         (print_errno_message): Use it.
28320         (error): Likewise.
28321         (error_at_line): Likewise.
28322         (error_tail) Add function attribute macros.  Use
28323         __builtin_expect.
28325         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28327         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28329         * io/ftw.c: Include sys/param.h unconditionally.
28331         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28333         [BZ #17125]
28334         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28335         libc_freeres_ptr.
28336         (freecache): New function to free CACHE on exit.
28338         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28339         initialization.
28341 2014-07-09  David S. Miller  <davem@davemloft.net>
28343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28345         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28346         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28347         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28348         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28349         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28350         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28351         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28352         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28353         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28354         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28355         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28356         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28357         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28359 2014-07-09  Andreas Schwab  <schwab@suse.de>
28361         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28362         output.
28363         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28364         (do_test): Likewise.
28366         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28368 2014-07-09  Will Newton  <will.newton@linaro.org>
28370         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28371         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28372         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28373         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28374         * sysdeps/hppa/start.S (_start): Likewise.
28376 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28378         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28380         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28381         defined.
28383 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28385         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28386         after checking that it is non-NULL.
28388         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28390 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28392         * sysdeps/powerpc/memmove.c: Remove file.
28393         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28394         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28396         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28398         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28399         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28400         string memmove instead of removed powerpc one.
28402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28403         [weak_alias]: Fix compiler warning due trailing data.
28404         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28405         [weak_alias]: Likewise.
28406         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28407         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28410         (__libc_ifunc_impl_list): Add memmove functions.
28412 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28414         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28415         Remove code.
28416         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28417         Likewise.
28418         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28419         Likewise.
28420         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28421         Likewise.
28422         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28423         Likewise.
28424         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28425         Likewise.
28426         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28427         Likewise.
28428         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28429         Likewise.
28430         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28431         Likewise.
28432         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28433         Likewise.
28434         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28435         Likewise.
28436         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28437         Likewise.
28438         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28439         Likewise.
28440         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28441         Likewise.
28442         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28443         Likewise.
28444         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28445         Likewise.
28446         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28447         Likewise.
28449 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28451         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28452         to avoid alignment traps in non-cacheable memory.
28453         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28456         multiarch objects.
28457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28458         file: multiarch power7 memmove.
28459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28460         multiarch default memmove.
28461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28462         multiarch memove for powerpc32/power4.
28464         * string/bcopy.c: Use full path to include memmove.c.
28465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28466         multiarch objects.
28467         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28468         bcopy for powerpc64.
28469         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28470         bcopy for powerpc64.
28471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28472         and memmove implementations.
28473         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28474         optimized multiarch memmove for POWER7/powerpc64.
28475         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28476         default multiarch memmove for powerpc64.
28477         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28478         multiarch for powerpc64.
28479         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28480         for POWER7/powerpc64.
28481         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28482         memmove for POWER7/powerpc64.
28484         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28485         glibc default one.
28487         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28488         __ELF_NATIVE_CLASS equal to 64.
28490 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28492         * sysdeps/nptl/lowlevellock.h: File removed.
28494         * NEWS: NPTL is no longer an add-on!
28495         * nptl/internaltypes.h: Moved ...
28496         * sysdeps/nptl/internaltypes.h: ... here.
28497         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28498         * sysdeps/nptl/fork.c: Likewise.
28499         * sysdeps/nptl/gai_misc.h: Likewise.
28500         * sysdeps/nptl/librt-cancellation.c: Likewise.
28501         * sysdeps/nptl/jmp-unwind.c: Likewise.
28502         * sysdeps/nptl/setxid.h: Likewise.
28503         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28504         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28505         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28506         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28507         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28508         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28509         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28510         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28511         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28512         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28513         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28514         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28515         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28516         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28517         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28518         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28519         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28520         * nptl/Makeconfig: Moved ...
28521         * sysdeps/nptl/Makeconfig: ... here.
28522         * nptl/configure: File removed.
28523         * nptl/ANNOUNCE: File removed.
28524         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28525         * sysdeps/unix/sysv/linux/configure: Regenerated.
28527         * nptl/Makefile (routines): Add libc_pthread_init,
28528         libc_multiple_threads, register-atfork and unregister-atfork.
28529         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28530         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28531         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28532         pthread-pi-defines.sym, structsem.sym.
28533         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28534         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28535         [$(subdir) = nptl] (tests): Add tst-setgetname.
28536         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28537         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28538         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28539         [!LIBC_SIGACTION]: Remove aliases.
28540         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28541         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28542         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28543         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28544         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28545         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28546         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28548         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28549         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28550         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28551         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28552         __libc_allocate_rtsig_private.
28553         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28554         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28555         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28556         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28557         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28558         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28559         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28560         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28561         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28562         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28563         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28564         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28565         * nptl/internaltypes.h: ... here.
28566         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28567         * sysdeps/nptl/jmp-unwind.c: ... here.
28568         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28569         * nptl/libc-lowlevellock.c: ... here.
28570         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28571         * nptl/libc_multiple_threads.c: ... here.
28572         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28573         * nptl/libc_pthread_init.c: ... here.
28574         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28575         * nptl/lowlevelbarrier.sym: ... here.
28576         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28577         * nptl/lowlevelcond.sym: ... here.
28578         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28579         * nptl/lowlevellock.c: ... here.
28580         * nptl/lowlevellock.h: Moved ...
28581         * sysdeps/nptl/lowlevellock.h: ... here.
28582         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28583         * nptl/lowlevelrobustlock.c: ... here.
28584         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28585         * nptl/lowlevelrobustlock.sym: ... here.
28586         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28587         * nptl/lowlevelrwlock.sym: ... here.
28588         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28589         * nptl/pt-fork.c: ... here.
28590         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28591         * nptl/pthread-pi-defines.sym: ... here.
28592         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28593         * nptl/pthread_attr_getaffinity.c: ... here.
28594         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28595         * nptl/pthread_attr_setaffinity.c: ... here.
28596         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28597         * nptl/pthread_mutex_cond_lock.c: ... here.
28598         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28599         Update #include.
28600         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28601         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28602         * nptl/pthread_once.c: ... here, replacing old file.
28603         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28604         * nptl/pthread_yield.c: ... here.
28605         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28606         * nptl/register-atfork.c: ... here.
28607         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28608         * nptl/sem_post.c: ... here.
28609         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28610         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28611         * nptl/sem_timedwait.c: ... here.
28612         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28613         * nptl/sem_trywait.c: ... here.
28614         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28615         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28616         * nptl/sem_wait.c: ... here.
28617         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28618         * nptl/structsem.sym: ... here.
28619         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28620         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28621         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28622         * nptl/unregister-atfork.c: ... here.
28623         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28624         * nptl/unwindbuf.sym: ... here.
28625         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28626         * sysdeps/nptl/fork.c: ... here.
28627         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28628         * sysdeps/nptl/fork.h: ... here.
28629         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28630         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28631         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28632         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28633         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28634         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28635         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28636         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28637         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28638         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28639         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28640         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28641         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28642         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28643         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28644         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28645         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28647         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28648         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28649         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28650         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28651         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28652         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28653         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28654         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28655         * sysdeps/unix/sysv/linux/raise.c: ... here.
28656         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28657         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28658         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28659         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28660         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28661         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28662         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28663         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28664         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28665         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28666         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28667         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28668         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28669         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28670         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28672 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28674         * sysdeps/generic/memcopy.h: Add comment for
28675         MEMCPY_OK_FOR_FWD_MEMMOVE.
28677 2014-07-04  Will Newton  <will.newton@linaro.org>
28679         * string/memchr.c: Merge from gnulib.
28680         [_LIBC]: Remove conditionals.
28681         (__ptr_t): Remove define.
28682         (LONG_MAX_32_BITS): Likewise.
28683         (LONG_MAX): Likewise.
28684         (MEMCHR): Use ANSI prototype and optimize algorithm.
28686         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28688 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28690         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28691         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28693         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28694         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28695         in a bare environment with no <stdlib.h> installed.
28696         * sysdeps/nptl/configure: Regenerated.
28698         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28700         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28701         AC_EGREP_CPP for kernel header checks, so they only succeed if
28702         including <linux/version.h> actually works right.
28703         * sysdeps/unix/sysv/linux/configure: Regenerated.
28705         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28706         value so it's not diagnosed as unused.
28708         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28709         thing) with "ifeq ($(subdir),rt)".
28711 2014-07-03  Richard Henderson  <rth@redhat.com>
28713         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28714         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28715         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28717         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28718         (math_force_eval): New.
28720         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28721         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28723         * sysdeps/alpha/fpu/s_round.c: Remove file.
28724         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28726         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28727         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28728         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28729         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28730         (_dl_start, print_statistics): Likewise.
28731         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28732         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28734         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28735         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28736         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28737         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28739         (HP_SMALL_TIMING_AVAIL): Define.
28740         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28741         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28742         (HP_SMALL_TIMING_AVAIL): Define.
28743         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28744         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28746         * sysdeps/aarch64/hp-timing.h: New file.
28748         * sysdeps/generic/hp-timing.h: Remove dead comment.
28749         * sysdeps/generic/hp-timing-common.h: New file.
28750         * sysdeps/alpha/hp-timing.h: Include it.
28751         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28752         * sysdeps/i386/i686/hp-timing.h: Likewise.
28753         * sysdeps/ia64/hp-timing.h: Likewise.
28754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28755         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28756         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28757         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28758         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28759         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28760         (hp_timing_t): New.
28762         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28763         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28764         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28765         * elf/rtld.c (_dl_start_final): Likewise.
28766         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28767         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28768         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28769         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28770         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28771         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28772         (HP_TIMING_DIFF_INIT): Remove.
28773         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28774         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28775         (HP_TIMING_DIFF_INIT): Remove.
28776         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28777         * sysdeps/i386/i686/hp-timing.c: Remove file.
28778         * sysdeps/x86_64/hp-timing.c: Remove file.
28779         * sysdeps/ia64/hp-timing.c: Remove file.
28780         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28781         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28782         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28783         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28785         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28786         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28787         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28788         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28789         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28790         (HP_TIMING_ACCUM): Remove.
28791         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28793         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28795         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28796         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28797         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28798         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28799         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28800         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28801         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28802         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28804         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28806 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28808         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28810 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28812         Sync up with gettext.
28813         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28814         [_MSC_VER]: Include malloc.h
28815         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28816         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28817         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28818         TEMP_FAILURE_RETRY.  Cast return of alloca.
28819         [!_LIBC] Call gl_rwlock_init.
28820         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28822 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28824         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28825         before checking its value.
28827 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28829         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28831         * debug/memcpy_chk.c: Don't include pagecopy.h.
28832         * debug/mempcpy_chk.c: Likewise.
28833         * string/memcpy.c: Likewise.
28834         * string/memmove.c: Likewise.
28835         * sysdeps/powerpc/memmove.c: Likewise.
28836         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28837         definition of PAGE_COPY_FWD_MAYBE here...
28838         * sysdeps/generic/pagecopy.h: ... from here.
28839         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28841 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28842             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28844         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28846         optimizations.
28847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28848         (__libc_ifunc_impl_list): Likewise.
28849         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28850         multiarch strcat for PPC64.
28851         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28852         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28854 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28856         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28858 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28860         * intl/loadmsgcat.c: Remove declaration of
28861         get_sysdep_segment_value.
28862         (get_sysdep_segment_value): Use ISO C style.
28863         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28864         semicolon.  Fix typo and formatting in comment.
28865         (_nl_unload_domain): Use ISO C style.
28867         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28869 2014-07-02  Will Newton  <will.newton@linaro.org>
28871         * malloc/obstack.c: Merge from gnulib master.
28872         [HAVE_CONFIG_H]: Remove conditional code.
28873         [!_LIBC]: Include config.h.
28874         [!ELIDE_CODE]: Don't include inttypes.h, include
28875         stdint.h unconditionally.
28876         (print_and_abort): Mark as _Noreturn.
28877         (_obstack_allocated_p): Mark as __attribute_pure__.
28878         (obstack_free): Rename to __obstack_free.
28879         [!__attribute__]: Remove conditional code.
28880         * malloc/obstack.h: Merge from gnulib master.
28881         [__cplusplus]: Move conditional down.
28882         [!__attribute_pure__]: Define __attribute_pure__ here
28883         if it is not already defined.
28884         (_obstack_memory_used): Mark as __attribute_pure__.
28885         [!__obstack_free]: Define as obstack_free.
28886         [__GNUC__]: Remove check for ancient NeXT gcc.
28888 2014-07-02  Will Newton  <will.newton@linaro.org>
28889             Paul Eggert  <eggert@cs.ucla.edu>
28891         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28893 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28895         * resolv/gethnamaddr.c: Add comment warning that the file is
28896         not maintained.
28898 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28900         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28901         entries.
28903         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28904         entry for aio_cancel and aio_cancel64.
28905         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28906         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28907         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28908         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28909         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28910         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28911         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28912         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28913         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28914         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28915         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28916         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28917         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28919 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28921         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28922         * nptl/pthread_mutex_lock.c: Likewise.
28923         * nptl/pthread_mutex_timedlock.c: Likewise.
28924         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28926 2014-07-01  Richard henderson  <rth@redhat.com>
28928         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28929         (__isnan, __isnanl): Remove.
28930         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28932         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28934 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28936         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28938 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28940         * resolv/nss_dns/dns-host.c (getanswer_r)
28941         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28943 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28946         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28947         undefine.
28948         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28949         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28951 2014-07-01  Roland McGrath <roland@hack.frob.com>
28953         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28954         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28956         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28957         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28959         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28960         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28961         ... here.
28962         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28963         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28965         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28966         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28967         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28968         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28970         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28971         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28972         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28973         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28974         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28975         Moved ...
28976         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28977         ... here.
28978         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28979         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28980         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28981         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28982         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28983         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28984         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28985         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28987         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28988         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28989         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28990         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28993         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28994         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28995         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28996         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28998         ... here.
28999         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29000         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29001         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29002         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29004         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29005         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29006         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29008 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29010         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29011         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29012         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29013         Add sysdep.
29015 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29019 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29021         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29022         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29026         * sysdeps/arm/libm-test-ulps: Regenerated.
29028 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29029             Roland McGrath <roland@hack.frob.com>
29031         * test-skeleton.c (signal_handler): Kill the whole process group
29032         before killing the child individually.
29033         (main): Report any failure on `setpgid'.
29035 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29037         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29038         from _TLS_H to _ARM_NPTL_TLS_H.
29039         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29040         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29042 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29044         [BZ #16539]
29045         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29046         (__expm1l): Return argument unchanged when small but not
29047         subnormal.
29049         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29050         include macro name.
29051         (_FP_UNPACK_RAW_1_P): Likewise.
29052         (_FP_PACK_RAW_1): Likewise.
29053         (_FP_PACK_RAW_1_P): Likewise.
29054         (_FP_MUL_MEAT_1_wide): Likewise.
29055         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29056         (_FP_MUL_MEAT_1_hard): Likewise.
29057         (_FP_DIV_MEAT_1_imm): Likewise.
29058         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29059         (_FP_DIV_MEAT_1_udiv): Likewise.
29060         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29061         (_FP_UNPACK_RAW_2): Likewise.
29062         (_FP_UNPACK_RAW_2_P): Likewise.
29063         (_FP_PACK_RAW_2): Likewise.
29064         (_FP_PACK_RAW_2_P): Likewise.
29065         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29066         (_FP_MUL_MEAT_2_wide): Likewise.
29067         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29068         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29069         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29070         (_FP_MUL_MEAT_2_gmp): Likewise.
29071         (_FP_DIV_MEAT_2_udiv): Likewise.
29072         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29073         (_FP_FRAC_SRL_4): Likewise.
29074         (_FP_FRAC_SRST_4): Likewise.
29075         (_FP_FRAC_SRS_4): Likewise.
29076         (_FP_UNPACK_RAW_4): Likewise.
29077         (_FP_UNPACK_RAW_4_P): Likewise.
29078         (_FP_PACK_RAW_4): Likewise.
29079         (_FP_PACK_RAW_4_P): Likewise.
29080         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29081         (_FP_MUL_MEAT_4_wide): Likewise.
29082         (_FP_MUL_MEAT_4_gmp): Likewise.
29083         (umul_ppppmnnn): Likewise.
29084         (_FP_DIV_MEAT_4_udiv): Likewise.
29085         (__FP_FRAC_ADD_4): Likewise.
29086         (__FP_FRAC_SUB_3): Likewise.
29087         (__FP_FRAC_SUB_4): Likewise.
29088         (__FP_FRAC_DEC_3): Likewise.
29089         (__FP_FRAC_DEC_4): Likewise.
29090         (__FP_FRAC_ADDI_4): Likewise.
29091         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29092         (_FP_FRAC_SRL_8): Likewise.
29093         (_FP_FRAC_SRS_8): Likewise.
29095         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29096         include macro name.
29097         (FP_UNPACK_RAW_EP): Likewise.
29098         (FP_PACK_RAW_E): Likewise.
29099         (FP_PACK_RAW_EP): Likewise.
29100         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29101         (_FP_ISSIGNAN): Likewise.
29102         (_FP_ADD_INTERNAL): Likewise.
29103         (_FP_FMA): Likewise.
29104         (_FP_CMP): Likewise.
29105         (_FP_SQRT): Likewise.
29106         (_FP_TO_INT): Likewise.
29107         (_FP_FROM_INT): Likewise.
29108         (FP_EXTEND): Likewise.
29109         (_FP_DIV_MEAT_N_loop): Likewise.
29111 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29113         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29114         throughout.
29116 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29118         [BZ #17097]
29119         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29120         result with correct sign in case of exponents that produce
29121         overflow except for X very close to 1.
29123 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29125         mktime: merge #if/#ifdef usage from glibc
29126         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29127         as that works with both Glibc's and Gnulib's style.
29128         See thread starting at Siddhesh Poyarekar's bug report at:
29129         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29131 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29133         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29134         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29135         * sysdeps/tile/tilegx/memmove.c: Remove file.
29137 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29139         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29140         abi-name definition.
29141         * scripts/soversions.awk: Do not handle or generate ABI lines.
29142         * shlib-versions: Remove ABI entries.
29143         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29144         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29146 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29149         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29150         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29151         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29153         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29155         Moved ...
29156         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29157         ... here.
29158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29159         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29161         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29163         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29165         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29167         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29169         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29171         Moved ...
29172         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29176         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29178         Moved ...
29179         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29181         Moved ...
29182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29189         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29191         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29193         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29195         Moved ...
29196         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29198         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29199         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29200         Moved ...
29201         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29203         Moved ...
29204         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29205         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29206         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29207         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29210         ... here.
29211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29212         Identical file removed.
29213         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29214         Moved ...
29215         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29216         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29217         Identical file removed.
29218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29219         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29221         Moved ...
29222         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29224         Identical file removed.
29225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29226         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29227         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29228         Identical file removed.
29229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29232         Identical file removed.
29233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29234         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29236         Identical file removed.
29237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29238         Moved ...
29239         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29241         Identical file removed.
29242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29243         Moved ...
29244         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29246         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29248         Identical file removed.
29249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29250         Moved ...
29251         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29252         ... here.
29253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29254         Identical file removed.
29255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29259         Identical file removed.
29260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29261         Moved ...
29262         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29264         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29266         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29268         Moved ...
29269         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29273         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29274         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29275         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29276         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29277         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29279 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29281         [BZ #17092]
29282         * nscd/nscd.c (monitor_child): Return exit status of child
29283         instead of return value from wait syscall.
29285 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29287         * configure.ac (libc_commonpagesize): Remove variable.
29288         (libc_relro_required): Likewise.
29289         (libc_cv_z_relro): Remove configure test.
29290         * configure: Regenerated.
29291         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29292         variable.
29293         (libc_relro_required): Likewise.
29294         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29295         (libc_relro_required): Likewise.
29296         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29297         (libc_relro_required): Likewise.
29298         * sysdeps/arm/preconfigure: Regenerated.
29299         * sysdeps/ia64/preconfigure: Remove file.
29300         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29301         variable.
29302         (libc_relro_required): Likewise.
29304         [BZ #16561]
29305         [BZ #16562]
29306         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29307         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29308         recompute overflowing results in original rounding mode.
29309         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29310         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29311         recompute overflowing results in original rounding mode.
29312         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29313         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29314         recompute overflowing results in original rounding mode.
29315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29316         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29317         recompute overflowing results in original rounding mode.
29318         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29319         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29320         recompute overflowing results in original rounding mode.
29321         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29322         (libc_feholdsetround_ctx): New macro.
29323         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29324         * sysdeps/i386/fpu/libm-test-ulps: Update.
29325         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29327 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29329         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29330         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29331         corresponding .cpsetup call.
29333 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29335         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29336         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29337         * sysdeps/arm/Makefile [$(subdir) = csu]
29338         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29339         (static-only-routines): Add aeabi_read_tp here.
29340         (shared-only-routines): Add libc-aeabi_read_tp here.
29341         (CFLAGS-libc-start.c): Add -fexceptions here.
29342         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29343         (sysdep_routines, static-only-routines, shared-only-routines):
29344         Don't add to these here.
29345         (CFLAGS-libc-start.c): Likewise.
29347         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29348         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29349         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29350         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29351         * sysdeps/arm/Makefile [$(subdir) = rt]
29352         (librt-sysdep_routines, librt-shared-only-routines):
29353         Append rt-aeabi_unwind_cpp_pr1 here.
29354         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29355         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29356         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29357         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29358         Append nptl-aeabi_unwind_cpp_pr1 here.
29359         (tests): Filter out tst-cleanupx4 here.
29360         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29361         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29362         Don't do those here.
29364 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29366         * scripts/list-sources.sh: Do not handle ports specially.
29368 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29370         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29371         * sysdeps/arm/feupdateenv.c: Likewise.
29373         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29375 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29377         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29378         trailing whitespace removed.
29379         * scripts/config.guess: Update to version 2014-03-23.
29380         * scripts/config.sub: Update to version 2014-05-01
29381         * scripts/install-sh: Update to version 2013-12-25.23.
29382         * scripts/move-if-change: Update from gnulib.
29384 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29386         * debug/memmove_chk.c: Remove pagecopy.h include.
29388 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29390         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29391         identical to gnulib mktime.
29393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29395         * configure.ac: Do not test for machine being rs6000.  Do not test
29396         for powerpc*-*soft.
29397         * configure: Regenerated.
29399         [BZ #11505]
29400         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29401         test.
29402         * configure: Regenerated.
29403         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29404         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29405         Remove configure test.
29406         * sysdeps/arm/configure: Regenerated.
29407         * sysdeps/nptl/configure.ac: Do not check
29408         libc_cv_asm_cfi_directives.
29409         * sysdeps/nptl/configure: Regenerated.
29410         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29411         * sysdeps/x86_64/nptl/configure: Remove generated file.
29412         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29413         unconditional.
29414         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29416 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29418         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29419         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29420         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29421         it is defined.
29423         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29424         instead of whether it is defined.
29425         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29426         * sysdeps/hppa/dl-machine.h: Likewise.
29427         * sysdeps/ia64/dl-machine.h: Likewise.
29428         * sysdeps/m68k/dl-machine.h: Likewise.
29429         * sysdeps/microblaze/dl-machine.h: Likewise.
29430         * sysdeps/mips/dl-machine.: Likewise.
29431         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29432         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29433         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29434         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29435         * sysdeps/sh/dl-machine.h: Likewise.
29436         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29437         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29438         * sysdeps/tile/dl-machine.h: Likewise.
29439         * sysdeps/x86_64/dl-machine.h: Likewise.
29441         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29442         code.
29443         (verify_persistent_db): Likewise.
29445 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29448         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29450         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29452         Moved ...
29453         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29454         ... here.
29455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29456         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29458         Identical file removed.
29459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29462         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29470         Moved ...
29471         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29473         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29475         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29477         Moved ...
29478         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29482         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29484         Identical file removed.
29485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29486         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29488         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29490         Moved ...
29491         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29492         ... here.
29493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29494         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29496         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29498         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29500         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29502         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29504         Moved ...
29505         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29507         Moved ...
29508         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29510         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29512         Moved ...
29513         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29515         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29517         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29518         folded into ...
29519         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29520         * sysdeps/unix/sysv/linux/s390/Versions
29521         (libpthread: GLIBC_2.19): New version set.
29522         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29523         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29524         (librt: GLIBC_2.3.3): New version set.
29525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29526         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29527         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29529         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29531         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29533         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29534         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29535         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29536         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29537         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29538         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29539         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29540         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29541         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29542         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29543         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29544         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29545         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29547         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29549         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29551         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29555         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29556         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29561         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29563         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29565         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29567         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29571         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29572         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29573         (__libc_vfork): Define the function under this name.
29574         [!NOT_IN_libc] (__vfork): Make this an alias.
29575         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29577         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29578         (__libc_vfork): Define the function under this name.
29579         [!NOT_IN_libc] (__vfork): Make this an alias.
29580         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29581         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29582         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29584         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29585         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29588         code that was previously under [RESET_PID].
29589         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29590         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29593         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29594         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29596         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29597         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29598         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29599         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29600         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29601         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29602         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29603         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29604         Moved ...
29605         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29606         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29607         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29608         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29609         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29610         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29611         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29612         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29615         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29616         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29617         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29618         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29619         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29620         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29621         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29622         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29623         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29624         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29625         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29627         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29628         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29629         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29630         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29633         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29635 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29637         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29638         that was previously under [RESET_PID].
29639         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29641 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29643         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29644         not undefine and redefine.
29645         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29646         [O_CLOEXEC]: Make code unconditional.
29647         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29648         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29649         <kernel-features.h>.
29650         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29651         conditional variable definition.
29652         (shm_open) [O_CLOEXEC]: Make code unconditional.
29653         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29654         code.
29656         * configure.ac (USE_REGPARMS): Don't define here.
29657         * configure: Regenerated.
29658         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29659         * sysdeps/i386/configure: Regenerated.
29661         * nptl/createthread.c: Don't include kernel-features.h.
29662         * nptl/pthread_cancel.c: Likewise.
29663         * nptl/pthread_condattr_setclock.c: Likewise.
29664         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29665         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29666         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29667         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29668         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29670         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29673         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29674         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29675         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29676         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29677         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29678         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29679         * nscd/gai.c: Likewise.
29680         * nss/nss_db/db-open.c: Likewise.
29681         * sysdeps/generic/ldsodefs.h: Likewise.
29682         * sysdeps/sh/nptl/tls.h: Likewise.
29683         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29684         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29685         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29686         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29687         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29688         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29689         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29690         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29692         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29693         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29694         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29695         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29696         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29697         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29698         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29699         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29700         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29701         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29702         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29705         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29706         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29708         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29711         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29712         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29713         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29714         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29715         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29716         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29717         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29718         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29719         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29720         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29721         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29722         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29723         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29724         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29725         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29726         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29727         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29728         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29729         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29730         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29731         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29732         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29733         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29734         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29735         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29736         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29737         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29738         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29740         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29763         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29764         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29765         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29766         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29767         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29768         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29769         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29770         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29771         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29772         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29773         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29774         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29775         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29776         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29777         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29778         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29779         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29780         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29781         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29782         * sysdeps/unix/sysv/linux/system.c: Likewise.
29783         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29784         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29785         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29786         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29787         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29788         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29789         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29791         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29792         * configure: Regenerated.
29793         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29795         * configure.ac (base_machine): Do not set specially for particular
29796         machines here.
29797         * configure: Regenerated.
29798         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29799         settings from configure.ac.
29800         * sysdeps/i386/preconfigure: New file.
29801         * sysdeps/s390/preconfigure: Likewise.
29802         * sysdeps/sh/preconfigure: Likewise.
29803         * sysdeps/sparc/preconfigure: Likewise.
29805 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29807         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29808         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29809         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29810         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29811         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29812         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29813         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29814         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29815         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29816         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29817         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29818         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29819         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29820         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29821         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29822         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29824         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29825         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29827         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29828         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29829         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29830         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29831         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29832         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29833         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29834         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29835         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29836         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29837         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29838         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29839         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29840         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29841         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29842         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29844         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29845         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29846         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29848         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29854         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29856         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29858         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29860         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29862         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29864         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29867         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29869         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29871         Moved ...
29872         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29873         ... here.
29874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29875         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29877         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29879         Moved ...
29880         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29882         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29884         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29886         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29888         Moved ...
29889         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29891         Moved ...
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29894         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29896         Moved ...
29897         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29899         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29901         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29903         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29905         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29907         Moved ...
29908         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29909         ... here.
29910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29911         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29913         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29915         Moved ...
29916         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29918         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29920         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29924         Moved ...
29925         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29927         Moved ...
29928         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29930         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29932         Moved ...
29933         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29935         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29937         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29939 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29941         * timezone/checktab.awk: Update from tzcode 2014e.
29942         * timezone/private.h: Likewise.
29943         * timezone/tzfile.h: Likewise.
29944         * timezone/zdump.c: Likewise.
29945         * timezone/zic.c: Likewise.
29947         * sysdeps/unix/sysv/linux/kernel-features.h
29948         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29949         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29950         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29951         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29952         Remove conditional code.
29954 2014-06-25  Will Newton  <will.newton@linaro.org>
29956         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29957         (_dl_arm_cap_flags): Add HWCAP2 values.
29958         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29959         (_DL_HWCAP_COUNT): Increase to 37.
29960         (_DL_HWCAP_LAST): New define.
29961         (_DL_HWCAP2_LAST): New define.
29962         (_dl_procinfo): Add support for printing
29963         AT_HWCAP2 entries.
29964         (_dl_string_hwcap): Use _dl_hwcap_string.
29966 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29970 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29972         * README: Do not mention ports directory.
29974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29975         Remove macro.
29976         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29977         <kernel-features.h>.
29978         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29979         conditional variable definition.
29980         (__futimes): Update comment.
29981         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29982         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29984         [BZ #16560]
29985         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29986         arguments close to 0.
29987         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29988         Likewise.
29989         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29990         Likewise.
29991         * math/auto-libm-test-in: Add more tests of exp10.
29992         * math/auto-libm-test-out: Regenerated.
29993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29995         * sysdeps/unix/sysv/linux/kernel-features.h
29996         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29997         * sysdeps/unix/sysv/linux/readv.c: Do not include
29998         <kernel-features.h>.
29999         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30000         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30001         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30002         unconditional.
30003         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30004         conditional code.
30005         * sysdeps/unix/sysv/linux/writev.c: Do not include
30006         <kernel-features.h>.
30007         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30008         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30009         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30010         unconditional.
30011         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30012         conditional code.
30014 2014-06-25  Will Newton  <will.newton@linaro.org>
30016         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30017         comment changes throughout the file.  Remove checks
30018         for HAVE_*_H definitions that are not required.
30019         (__gen_tempname): Call abort if an unknown kind value is
30020         passed.
30022 2014-06-25  Andreas Schwab  <schwab@suse.de>
30024         [BZ #17086]
30025         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30026         scalbln, scalblnf, scalblnl in libc.
30028 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30030         [BZ #17086]
30031         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30032         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30033         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30035 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30037         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30038         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30039         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30040         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30041         Update #include.
30042         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30043         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30044         Update #include.
30045         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30046         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30047         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30048         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30049         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30050         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30051         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30052         * sysdeps/x86/bits/semaphore.h: ... here.
30053         * sysdeps/x86/nptl/elide.h: Moved ...
30054         * sysdeps/x86/elide.h: ... here.
30055         * sysdeps/x86_64/nptl/Implies: File removed.
30056         * sysdeps/i386/nptl/Implies: File removed.
30058 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30060         [BZ #16539]
30061         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30062         return the argument for normal arguments with exponent below -64.
30063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30064         Likewise.
30065         * math/auto-libm-test-in: Add another test of expm1.
30066         * math/auto-libm-test-out: Regenerated.
30068         [BZ #16287]
30069         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30070         calling __erfcl for arguments at least 16.
30071         * math/auto-libm-test-in: Add more tests of erf.
30072         * math/auto-libm-test-out: Regenerated.
30074         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30075         individual architectures.
30076         * sysdeps/unix/sysv/linux/configure: Regenerated.
30077         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30078         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30079         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30080         (ldd_rewrite_script): Define variable.
30081         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30083         file.
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30085         generated file.
30086         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30087         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30088         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30089         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30090         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30091         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30092         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30093         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30095 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30097         [BZ #17084]
30098         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30099         Rename member __data.d to __data.__elision_data.
30101 2014-06-24  Wilco  <wdijkstr@arm.com>
30103         * NEWS: Add 16918 to fixed bug list.
30105 2014-06-24  Wilco  <wdijkstr@arm.com>
30107         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30109 2014-06-24  Wilco  <wdijkstr@arm.com>
30111         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30112         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30113         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30114         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30115         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30116         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30117         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30118         Use _FPU_MASK_RM.
30120 2014-06-24  Wilco  <wdijkstr@arm.com>
30122         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30124 2014-06-24  Wilco  <wdijkstr@arm.com>
30126         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30127         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30128         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30129         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30131 2014-06-24  Wilco  <wdijkstr@arm.com>
30133         [BZ #16918]
30134         * sysdeps/arm/feupdateenv.c (feupdateenv):
30135         Rewrite to reduce FPSCR accesses and fix return value.
30137 2014-06-24  Wilco  <wdijkstr@arm.com>
30139         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30140         Optimize to avoid unnecessary FPSCR writes.
30141         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30142         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30143         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30144         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30146 2014-06-24  Wilco  <wdijkstr@arm.com>
30148         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30149         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30150         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30151         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30152         Call libc_fetestexcept_vfp.
30153         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30154         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30155         __SOFTFP__ ifdef so that they can be built for softfp.
30157 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30160         argument type signed char.
30162         * Makerules (check-abi): Dump diff of symlist if the test
30163         fails.
30165 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30167         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30168         using abort.
30170         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30171         Remove unused variable ST.
30173 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30175         [BZ #16354]
30176         [BZ #17061]
30177         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30178         small arguments before calling __expm1.
30179         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30180         small arguments before calling __expm1f.
30181         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30182         small arguments before calling __expm1l.
30183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30184         Likewise.
30185         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30186         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30187         spurious underflow for some cosh tests.
30188         * math/auto-libm-test-out: Regenerated.
30189         * sysdeps/i386/fpu/libm-test-ulps: Update.
30191         [BZ #17050]
30192         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30193         (__ieee754_y1): Set errno if return value overflows.
30194         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30195         (__ieee754_y1f): Set errno if return value overflows.
30196         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30197         (__ieee754_y1l): Set errno if return value overflows.
30198         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30199         (__ieee754_y1l): Set errno if return value overflows.
30200         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30201         * math/auto-libm-test-out: Regenerated.
30203         * math/gen-auto-libm-tests.c: Document use of
30204         ignore-zero-inf-sign.
30205         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30206         (input_flags): Add ignore-zero-inf-sign.
30207         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30208         * math/gen-libm-test.pl (generate_testfile): Handle
30209         ignore-zero-inf-sign.
30210         * math/auto-libm-test-in: Mark some cpow tests with
30211         ignore-zero-inf-sign and some with xfail-rounding.
30212         * math/auto-libm-test-out: Regenerated.
30213         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30214         * sysdeps/i386/fpu/libm-test-ulps: Update.
30215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30217         [BZ #16315]
30218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30219         overflowing or underflowing operations take place with sign of
30220         result.
30221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30223         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30224         (__ieee754_pow): Recompute overflowing and underflowing results in
30225         original rounding mode.
30226         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30227         (__powl_helper): Allow negative argument X and scale negated value
30228         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30230         overflowing or underflowing operations take place with sign of
30231         result.
30232         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30233         Include <math.h>.
30234         * math/auto-libm-test-in: Add more tests of pow.
30235         * math/auto-libm-test-out: Regenerated.
30236         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30237         (pow_tonearest_test_data): Remove.
30238         (pow_test_tonearest): Likewise.
30239         (pow_towardzero_test_data): Likewise.
30240         (pow_test_towardzero): Likewise.
30241         (pow_downward_test_data): Likewise.
30242         (pow_test_downward): Likewise.
30243         (pow_upward_test_data): Likewise.
30244         (pow_test_upward): Likewise.
30245         (main): Don't call removed functions.
30246         * sysdeps/i386/fpu/libm-test-ulps: Update.
30247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30249 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30252         Moved ...
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30255         Moved ...
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30258         Moved ...
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30261         Moved ...
30262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30264         File removed.
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30266         File removed.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30268         File removed.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30270         File removed.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30272         File removed.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30274         File removed.
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30276         File removed.
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30278         File removed.
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30280         File removed.
30281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30282         File removed.
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30284         File removed.
30285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30286         File removed.
30287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30288         Moved ...
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30291         Moved ...
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30293         ... here.
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30295         Moved ...
30296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30298         Moved ...
30299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30301         Moved ...
30302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30304         Moved ...
30305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30307         Moved ...
30308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30310         Moved ...
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30313         Moved ...
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30317         ... here.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30319         Moved ...
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30322         Moved ...
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30324         ... here.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30326         Moved ...
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30328         ... here.
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30330         Moved ...
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30332         ... here.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30334         Moved ...
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30337         Moved ...
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30342         Moved ...
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30344         ... here.
30345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30346         Moved ...
30347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30348         ... here.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30350         Moved ...
30351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30353         Moved ...
30354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30356         Moved ...
30357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30359         Moved ...
30360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30362         Moved ...
30363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30364         ... here.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30366         Moved ...
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30369         Moved ...
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30372         Moved ...
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30375         Moved ...
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30383         Moved ...
30384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30386         Moved ...
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30388         ... here.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30390         Moved ...
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30392         ... here.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30394         Moved ...
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30396         ... here.
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30398         Moved ...
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30401         Moved ...
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30404         Moved ...
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30407         Moved ...
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30409         ... here.
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30411         Moved ...
30412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30413         ... here.
30414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30415         Moved ...
30416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30417         ... here.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30419         Moved ...
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30422         Moved ...
30423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30425 2014-06-23  Will Newton  <will.newton@linaro.org>
30426             Wilco  <wdijkstr@arm.com>
30428         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30429         implementation.  Include get-rounding-mode.h.
30430         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30431         [!libc_feholdsetround_noex_ctx]: Define
30432         libc_feholdsetround_noex_ctx.
30433         [!libc_feholdsetround_noexf_ctx]: Define
30434         libc_feholdsetround_noexf_ctx.
30435         [!libc_feholdsetround_noexl_ctx]: Define
30436         libc_feholdsetround_noexl_ctx.
30437         (libc_feholdsetround_ctx): New function.
30438         (libc_feresetround_ctx): New function.
30439         (libc_feholdsetround_noex_ctx): New function.
30440         (libc_feresetround_noex_ctx): New function.
30442 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30444         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30445         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30446         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30447         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30448         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30449         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30451         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30452         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30453         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30454         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30455         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30456         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30458         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30460         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30462         Moved ...
30463         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30464         ... here.
30465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30466         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30468         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30470         Moved ...
30471         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30473         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30475         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30477         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30479         Moved ...
30480         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30482         Moved ...
30483         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30485         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30487         Moved ...
30488         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30490         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30491         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30492         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30493         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30494         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30496         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30500         ... here.
30501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30502         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30504         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30506         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30508         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30510         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30512         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30514         Moved ...
30515         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30517         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30519         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30520         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30521         Moved ...
30522         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30524         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30525         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30526         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30528         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30529         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30530         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30531         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30532         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30533         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30537         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30539         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30540         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30541         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30542         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30543         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30545         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30546         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30547         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30549         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30553         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30555         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30557 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30560         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30561         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30562         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30563         (IPV6_PMTUDISC_INTERFACE): Likewise.
30564         (IPV6_PMTUDISC_OMIT): Likewise.
30566 2014-06-23  Andreas Schwab  <schwab@suse.de>
30568         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30569         Remove unused errout label.
30571 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30573         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30574         macro: hardware supports Vector Crypto instructions.
30576 2014-06-23  Will Newton  <will.newton@linaro.org>
30578         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30579         rather than __builtin_expect.
30581         * elf/dl-lookup.c (undefined_msg): Remove variable.
30582         (_dl_lookup_symbol_x): Replace undefined_msg with string
30583         literal.
30585         * elf/dl-lookup.c (do_lookup_unique): New function.
30586         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30587         to a separate function.
30589 2014-06-23  Andreas Schwab  <schwab@suse.de>
30591         [BZ #17079]
30592         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30593         before reading the next line.
30595 2014-06-23  Will Newton  <will.newton@linaro.org>
30597         * test-skeleton.c (signal_handler): Use printf and %m
30598         rather than perror.  Use printf rather than fprintf to
30599         stderr.  Use puts rather than fputs to stderr.
30600         (main): Likewise.
30602 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30604         * nscd/nscd.c (thread_info_t): Remove typedef.
30605         (thread_info): Remove variable.
30607 2014-06-21  Allan McRae  <allan@archlinux.org>
30609         * NEWS: Mention CVE-2014-4043.
30611 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30613         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30614         * nptl/smp.h: ... here.
30616         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30618         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30619         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30620         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30621         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30623         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30624         * nptl/stack-aliasing.h: New file.
30625         * sysdeps/i386/i686/stack-aliasing.h: New file.
30626         * sysdeps/i386/i686/nptl/Makefile: File removed.
30627         * sysdeps/x86_64/stack-aliasing.h: New file.
30628         * sysdeps/x86_64/nptl/Makefile
30629         (CFLAGS-pthread_create.c): Variable removed.
30631         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30632         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30633         old file.
30634         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30635         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30636         old file.
30638 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30641         (__ASSUME_SIGFRAME_V2): Remove macro.
30642         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30643         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30644         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30645         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30646         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30647         Declare as function.  Remove conditional macro definitions.
30648         (__default_rt_sa_restorer): Likewise.
30649         (__default_sa_restorer_v1): Remove declaration.
30650         (__default_sa_restorer_v2): Likewise.
30651         (__default_rt_sa_restorer_v1): Likewise.
30652         (__default_rt_sa_restorer_v2): Likewise.
30653         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30654         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30655         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30657 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30659         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30660         (libpthread-routines): Add sysdep.
30661         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30662         * sysdeps/unix/sysv/linux/sparc/Versions
30663         (libpthread: GLIBC_2.3.3): New version set.
30664         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30665         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30666         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30667         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30668         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30669         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30670         Moved ...
30671         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30673         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30674         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30675         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30676         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30677         * sysdeps/sparc/nptl/sem_init.c: ... here.
30678         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30679         * sysdeps/sparc/nptl/sem_post.c: ... here.
30680         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30681         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30682         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30683         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30684         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30685         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30686         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30687         (libpthread-routines): Add cpu_relax.
30688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30689         File removed.
30690         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30691         (librt: GLIBC_2.3.3): New version set.
30692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30693         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30694         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30695         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30698         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30700         Moved ...
30701         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30703         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30705         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30707         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30709         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30711         Moved ...
30712         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30713         Update #include.
30714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30715         Moved ...
30716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30717         Update #include.
30718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30719         Moved ...
30720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30721         Update #include.
30722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30723         Moved ...
30724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30725         Update #include.
30726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30727         Moved ...
30728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30729         Update #include.
30730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30731         Moved ...
30732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30733         Update #include.
30734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30735         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30741         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30743         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30745         Moved ...
30746         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30748         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30750         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30752 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30754         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30755         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30756         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30757         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30758         * nscd/nscd.c: Likewise.
30759         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30760         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30761         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30762         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30764         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30765         <kernel-features.h>.
30766         (init_mq_netlink): Remove conditional have_sock_cloexec
30767         definitions.  Remove code conditional on have_sock_cloexec < 0.
30768         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30769         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30770         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30771         <kernel-features.h>.
30772         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30773         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30775 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30778         Add tests for memset_chk and memset.
30780         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30781         with AVX2_Usable.
30783 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30785         [BZ #16046]
30786         * elf/tst-dl-iter-static.c: New file.
30787         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30789         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30790         error.
30792 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30794         * sysdeps/unix/sysv/linux/kernel-features.h
30795         (__ASSUME_F_GETOWN_EX): Remove macro.
30796         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30797         <kernel-features.h>.
30798         (miss_F_GETOWN_EX): Remove variable or macro.
30799         (do_fcntl): Do not check miss_F_GETOWN_EX.
30800         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30803         Remove macro.
30804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30805         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30806         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30808         * sysdeps/unix/sysv/linux/kernel-features.h
30809         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30810         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30811         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30812         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30814 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30816         [BZ #17075]
30817         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30818         Fix calculation of the symbol's value.
30819         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30820         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30821         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30822         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30823         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30824         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30825         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30826         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30827         (modules-names): Add `tst-armtlsdescmod',
30828         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30829         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30830         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30831         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30832         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30833         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30834         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30835         ($(objpfx)tst-armtlsdescloc): New dependency.
30836         ($(objpfx)tst-armtlsdescextnow): Likewise.
30837         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30838         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30839         TLS scheme support.
30840         * sysdeps/arm/configure: Regenerate.
30842 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30844         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30845         (__atfct_seterrno_2): Likewise.
30846         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30847         <kernel-features.h>.
30848         (__ASSUME_ATFCTS): Do not undefine and redefine.
30849         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30850         (__have_atfcts): Remove conditional definition.
30851         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30852         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30853         unreachable if [__ASSUME_ATFCTS].
30854         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30855         not undefine and redefine.
30856         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30857         <kernel-features.h>.
30858         (faccessat) [__NR_faccessat]: Make code unconditional.
30859         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30860         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30861         <kernel-features.h>.
30862         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30863         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30864         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30865         <kernel-features.h>.
30866         (fchownat) [__NR_fchownat]: Make code unconditional.
30867         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30868         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30869         <kernel-features.h>.
30870         (futimesat) [__NR_futimesat]: Make code unconditional.
30871         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30872         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30873         <kernel-features.h>.
30874         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30875         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30876         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30877         <kernel-features.h>.
30878         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30879         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30880         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30881         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30882         <kernel-features.h>.
30883         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30884         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30885         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30886         <kernel-features.h>.
30887         (linkat) [__NR_linkat]: Make code unconditional.
30888         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30889         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30890         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30891         <kernel-features.h>.
30892         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30893         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30894         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30895         <kernel-features.h>.
30896         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30897         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30898         * sysdeps/unix/sysv/linux/openat.c: Do not include
30899         <kernel-features.h>.
30900         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30901         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30902         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30903         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30904         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30905         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30906         <kernel-features.h>.
30907         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30908         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30909         result of INLINE_SYSCALL directly, not via int variable.
30910         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30911         <kernel-features.h>.
30912         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30913         (renameat) [__NR_renameat]: Make code unconditional.
30914         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30915         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30916         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30917         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30918         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30919         (__ASSUME_ATFCTS): Do not undefine and redefine.
30920         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30921         <kernel-features.h>.
30922         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30923         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30924         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30925         <kernel-features.h>.
30926         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30927         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30928         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30929         (__ASSUME_ATFCTS): Do not undefine and redefine.
30930         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30931         <kernel-features.h>.
30932         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30933         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30934         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30935         <kernel-features.h>.
30936         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30937         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30939 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30941         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30943 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30945         [BZ #17069]
30946         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30947         constructed tree before returning error.
30948         * posix/bug-regexp36.c: Expand test case.
30950 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30952         [BZ #6803]
30953         * math/libm-test.inc (scalbln_test_date):
30954         Add errno expectations.
30955         * math/w_scalblnf.c: New File.
30956         Add wrapper which checks for setting errno to ERANGE.
30957         Add weak_alias for corresponding scalbln function.
30958         * math/w_scalbln.c: Likewise.
30959         * math/w_scalblnl.c: Likewise.
30960         * math/Makefile (libm-calls): Add w_scalbln.
30961         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30962         Remove weak_alias for corresponding scalbln function.
30963         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30967         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30968         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30969         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30970         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30971         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30972         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30973         Remove long_double_symbol for scalblnl function in libm, libc.
30974         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30975         Add wrapper which checks for setting errno to ERANGE.
30976         Add long_double_symbol for scalblnl function in libm, libc.
30977         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30978         Remove long_double_symbol for scalblnl in libm.
30979         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30980         Add wrapper which checks for setting errno to ERANGE.
30981         Add long_double_symbol for scalblnl function in libm.
30982         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30983         Do not use wrapper because of own implementation.
30985 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30987         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30988         3 bytes for __pad1 for x32.
30989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30991 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30992             H.J. Lu  <hongjiu.lu@intel.com>
30994         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30995         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30998         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31000 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31002         [BZ #17069]
31003         * posix/regcomp.c (parse_expression): Deallocate partially
31004         constructed tree before returning error.
31005         * posix/Makefile.c (tests): Add bug-regex36.
31006         (generated): Add bug-regex36.mtrace.
31007         (tests-special): Add $(objpfx)bug-regex36-mem.out
31008         (bug-regex36-ENV): New variable.
31009         ($(objpfx)bug-regex36-mem.out): New rule.
31010         * posix/bug-regex36.c: New file.
31012 2014-06-19  Will Newton  <will.newton@linaro.org>
31014         * malloc/malloc.c (systrim): If extra is zero then return
31015         early.
31017 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31019         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31021 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31023         * sysdeps/aarch64/strchr.S: New file.
31025 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31027         [BZ #17022]
31028         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31029         from arguments -2 or below.
31030         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31031         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31033 2014-06-18  Andreas Schwab  <schwab@suse.de>
31035         [BZ #17062]
31036         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31037         of a bracket expr not to run off the end of the string.
31038         * posix/Makefile (tests): Add tst-fnmatch3.
31039         * posix/tst-fnmatch3.c: New file.
31041 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31043         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31044         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31045         [$(cross-compiling) = no]: Likewise.
31046         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31047         [$(cross-compiling) = no]: Likewise.
31049 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31051         [BZ #17031]
31052         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31053         double, adjusted for any remainder from the high double.
31054         * math/libm-test.inc (nearbyint): Add tests.
31055         (rint): Likewise.
31057 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31059         * nptl/sysdeps/powerpc/Makefile: Moved ...
31060         * sysdeps/powerpc/nptl/Makefile: ... here.
31061         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31062         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31063         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31064         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31065         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31066         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31067         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31068         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31069         * nptl/sysdeps/powerpc/tls.h: Moved ...
31070         * sysdeps/powerpc/nptl/tls.h: ... here.
31072 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31074         [BZ #16681]
31075         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31076         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31077         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31078         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31079         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31080         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31081         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31082         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31083         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31085 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31087         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31089 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31091         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31092         defined operator.
31094         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31095         $TIMEOUTFACTOR.
31097 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31099         [BZ #17058]
31100         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31101         non-executed part of the test.
31103 2014-06-16  Andreas Schwab  <schwab@suse.de>
31105         * string/bits/string2.h (strdup, strndup): Update feature guard.
31107 2014-06-14  David S. Miller  <davem@davemloft.net>
31109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31111 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31113         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31114         that was previously under [RESET_PID].
31115         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31117         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31118         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31119         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31120         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31121         (__libc_vfork): New strong alias.
31122         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31124 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31126         * sysdeps/generic/elide.h: New file.
31128 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31130         * Makefile (installed-headers): Adjust path of pthread.h header.
31132 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31134         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31135         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31136         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31137         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31139         * nptl/sysdeps/s390/Makefile: Moved ...
31140         * sysdeps/s390/nptl/Makefile: ... here.
31141         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31142         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31143         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31144         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31145         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31146         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31147         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31148         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31149         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31150         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31151         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31152         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31153         * nptl/sysdeps/s390/tls.h: Moved ...
31154         * sysdeps/s390/nptl/tls.h: ... here.
31156         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31157         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31159 2014-06-13  David S. Miller  <davem@davemloft.net>
31161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31164         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31168         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31169         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31170         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31171         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31172         Remove RESET_PID cpp guards.
31173         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31174         Remove RESET_PID cpp guards.
31175         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31177 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31179         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31180         __sp to uintptr_t.
31182 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31186         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31187         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31189         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31190         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31191         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31201         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31202         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31205         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31206         (pthread_rwlock_rdlock): Add elision.
31207         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31208         (pthread_rwlock_wrlock): Add elision.
31209         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31210         (pthread_rwlock_trywrlock): Add elision.
31211         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31212         (pthread_rwlock_tryrdlock): Add elision.
31213         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31214         (pthread_rwlock_tryrdlock): Add elision unlock.
31215         * nptl/sysdeps/pthread/pthread.h:
31216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31217         (PTHREAD_RWLOCK_INITIALIZER,
31218         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31219         Handle new elision field.
31220         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31221         * sysdeps/arm/nptl/bits/pthreadtypes.h
31222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31223         * sysdeps/sh/nptl/bits/pthreadtypes.h
31224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31225         * sysdeps/tile/nptl/bits/pthreadtypes.h
31226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31227         * sysdeps/a/nptl/bits/pthreadtypes.h
31228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31231         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31233         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31235         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31237         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31239         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31241         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31243         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31245         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31246         (elision_init): Set try_xbegin to zero when no RTM.
31247         * sysdeps/x86/nptl/bits/pthreadtypes.h
31248         (pthread_rwlock_t): Change __pad1 to __rwelision.
31249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31251 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31253         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31254         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31255         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31256         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31258 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31260         [BZ #16996]
31261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31262         that the cached result has been set before returning it.
31264 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31266         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31267         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31268         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31269         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31270         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31271         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31273         * nptl/sysdeps/sparc/Makefile: Moved ...
31274         * sysdeps/sparc/nptl/Makefile: ... here.
31275         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31276         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31277         * nptl/sysdeps/sparc/tls.h: Moved ...
31278         * sysdeps/sparc/nptl/tls.h: ... here.
31279         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31280         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31281         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31282         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31283         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31284         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31285         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31286         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31287         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31288         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31289         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31290         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31291         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31292         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31293         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31294         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31295         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31296         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31297         Update #include.
31298         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31300         Update #include.
31301         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31303         Update #include.
31304         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31305         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31306         Update #include.
31308         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31310         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31311         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31313         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31314         (struct list_links): Type removed.
31315         (struct thread_node, struct timer_node): Replace struct list_links
31316         with struct list_head.
31317         (list_unlink_ip): Likewise.
31318         * sysdeps/pthread/timer_routines.c
31319         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31320         (list_append, list_insbefore): Likewise.
31321         (list_init): Function removed.
31322         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31323         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31324         * sysdeps/pthread/Makefile: ... here, new file.
31326         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31327         * sysdeps/nptl/Implies: ... here.
31328         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31329         * nptl/sysdeps/pthread/list.h: Moved ...
31330         * include/list.h: ... here.
31331         * nptl/sysdeps/pthread/createthread.c: Moved ...
31332         * nptl/createthread.c: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31334         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31335         * nptl/pt-longjmp.c: ... here.
31336         * nptl/sysdeps/pthread/Makefile: Moved ...
31337         * sysdeps/nptl/Makefile: ... here.
31338         * nptl/sysdeps/pthread/Subdirs: Moved ...
31339         * sysdeps/nptl/Subdirs: ... here.
31340         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31341         * sysdeps/nptl/aio_misc.h: ... here.
31342         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31343         * sysdeps/nptl/bits/libc-lock.h: ... here.
31344         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31345         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31346         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31347         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31348         * nptl/sysdeps/pthread/configure: Moved ...
31349         * sysdeps/nptl/configure: ... here.
31350         * nptl/sysdeps/pthread/configure.ac: Moved ...
31351         * sysdeps/nptl/configure.ac: ... here.
31352         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31353         * sysdeps/nptl/gai_misc.h: ... here.
31354         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31355         * sysdeps/nptl/librt-cancellation.c: ... here.
31356         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31357         * sysdeps/nptl/malloc-machine.h: ... here.
31358         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31359         * sysdeps/nptl/pthread-functions.h: ... here.
31360         * nptl/sysdeps/pthread/pthread.h: Moved ...
31361         * sysdeps/nptl/pthread.h: ... here.
31362         * nptl/sysdeps/pthread/setxid.h: Moved ...
31363         * sysdeps/nptl/setxid.h: ... here.
31364         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31365         * sysdeps/nptl/sigfillset.c: ... here.
31366         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31367         * sysdeps/nptl/tcb-offsets.h: ... here.
31368         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31369         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31370         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31371         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31372         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31373         * sysdeps/pthread/allocalim.h: ... here.
31374         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31375         * sysdeps/pthread/bits/sigthread.h: ... here.
31376         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31377         * sysdeps/pthread/flockfile.c: ... here.
31378         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31379         * sysdeps/pthread/ftrylockfile.c: ... here.
31380         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31381         * sysdeps/pthread/funlockfile.c: ... here.
31382         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31383         * sysdeps/pthread/posix-timer.h: ... here.
31384         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31385         * sysdeps/pthread/timer_create.c: ... here.
31386         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31387         * sysdeps/pthread/timer_delete.c: ... here.
31388         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31389         * sysdeps/pthread/timer_getoverr.c: ... here.
31390         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31391         * sysdeps/pthread/timer_gettime.c: ... here.
31392         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31393         * sysdeps/pthread/timer_routines.c: ... here.
31394         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31395         * sysdeps/pthread/timer_settime.c: ... here.
31396         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31397         * sysdeps/pthread/tst-timer.c: ... here.
31398         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31399         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31401         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31402         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31404         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31405         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31406         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31407         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31408         Update #include target.
31409         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31410         * sysdeps/i386/i686/nptl/Makefile: ... here.
31411         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31412         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31413         Update #include target.
31414         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31415         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31416         * nptl/sysdeps/i386/Makefile: Moved ...
31417         * sysdeps/i386/nptl/Makefile: ... here.
31418         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31419         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31420         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31421         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31422         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31423         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31424         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31425         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31426         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31427         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31428         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31429         * nptl/sysdeps/i386/tls.h: Moved ...
31430         * sysdeps/i386/nptl/tls.h: ... here.
31432         * sysdeps/sh/Makefile [$(subdir) = csu]
31433         (gen-as-const-headers): Add tcb-offsets.sym.
31434         * nptl/sysdeps/sh/Makefile: File removed.
31435         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31436         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31437         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31438         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31439         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31440         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31441         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31442         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31443         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31444         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31445         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31446         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31447         * nptl/sysdeps/sh/tls.h: Moved ...
31448         * sysdeps/sh/nptl/tls.h: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31450         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31451         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31452         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31453         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31454         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31456         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31457         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31458         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31460         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31462         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31464         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31466         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31468         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31470         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31474         Moved ...
31475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31477         Moved ...
31478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31482         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31483         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31484         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31486         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31488         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31490         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31492         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31494         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31495         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31496         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31498 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31500         * posix/spawn_faction_addopen.c: Include string.h.
31502 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31504         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31505         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31506         * nptl/sysdeps/x86_64/Makefile: Moved ...
31507         * sysdeps/x86_64/nptl/Makefile: ... here.
31508         * nptl/sysdeps/x86_64/configure: Moved ...
31509         * sysdeps/x86_64/nptl/configure: ... here.
31510         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31511         * sysdeps/x86_64/nptl/configure.ac: ... here.
31512         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31513         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31514         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31515         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31516         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31517         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31518         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31519         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31520         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31521         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31522         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31523         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31524         * nptl/sysdeps/x86_64/tls.h: Moved ...
31525         * sysdeps/x86_64/nptl/tls.h: ... here.
31526         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31527         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31528         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31529         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31531         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31533 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31537 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31539         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31540         type.
31541         [POSIX] (off_t): Likewise.
31542         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31543         [POSIX] (S_ISBLK): Require macro.
31544         [POSIX] (S_ISCHR): Likewise.
31545         [POSIX] (S_ISDIR): Likewise.
31546         [POSIX] (S_ISFIFO): Likewise.
31547         [POSIX] (S_ISREG): Likewise.
31548         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31549         optional-macro.
31550         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31551         type.
31552         [POSIX] (time_t): Likewise.
31553         [POSIX] (timer_t): Likewise.
31555 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31557         [BZ #17048]
31558         * posix/spawn_int.h (struct __spawn_action): Make the path string
31559         non-const to support deallocation.
31560         * posix/spawn_faction_addopen.c
31561         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31562         * posix/spawn_faction_destroy.c
31563         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31564         path in all spawn_do_open actions.
31565         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31566         posix_spawn_file_actions_addopen.
31568 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31570         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31571         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31572         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31573         conditional code always true.
31574         (__libc_vfork): New alias.
31576 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31578         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31579         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31581         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31583         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31584         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31586         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31587         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31589         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31590         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31592 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31594         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31595         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31596         multiarch strcmp for PPC64.
31597         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31598         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31600         multiarch optimizations.
31601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31602         (__libc_ifunc_impl_list): Likewise.
31604 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31606         * benchtests/scripts/validate_benchout.py: New script.
31607         * benchtests/Makefile (bench-func): Call it.
31608         * benchtests/scripts/benchout.schema.json: New file.
31610 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31612         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31613         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31614         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31615         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31616         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31617         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31618         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31619         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31620         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31621         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31622         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31623         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31624         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31625         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31626         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31627         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31629         Moved ...
31630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31631         ... here.
31632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31633         Moved ...
31634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31636         Moved ...
31637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31638         ... here.
31639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31640         Moved ...
31641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31642         ... here.
31643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31644         Moved ...
31645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31647         Moved ...
31648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31649         ... here.
31650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31651         Moved ...
31652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31653         ... here.
31654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31655         Moved ...
31656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31658         Moved ...
31659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31660         ... here.
31661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31662         Moved ...
31663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31664         ... here.
31665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31666         Moved ...
31667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31668         ... here.
31669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31670         Moved ...
31671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31673         Moved ...
31674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31675         ... here.
31676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31677         Moved ...
31678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31679         ... here.
31680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31681         Moved ...
31682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31683         ... here.
31684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31685         Moved ...
31686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31688         Moved ...
31689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31690         ... here.
31691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31692         Moved ...
31693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31694         ... here.
31695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31696         Moved ...
31697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31699         Moved ...
31700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31701         ... here.
31702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31703         Moved ...
31704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31706         Moved ...
31707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31709         Moved ...
31710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31711         ... here.
31712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31713         Moved ...
31714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31715         ... here.
31716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31717         Moved ...
31718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31719         ... here.
31720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31721         Moved ...
31722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31724         Moved ...
31725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31726         ... here.
31727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31728         Moved ...
31729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31730         ... here.
31731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31732         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31736         Moved ...
31737         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31738         ... here.
31739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31752         Moved ...
31753         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31755         Moved ...
31756         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31758         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31760         Moved ...
31761         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31765         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31766         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31767         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31769 2014-06-10  Wilco  <wdijkstr@arm.com>
31771         * math/test-fenv-return.c: New file.
31772         * math/Makefile: Add new test test-fenv-return.
31774 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31776         [BZ #17042]
31777         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31778         when x - 1 is zero.
31779         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31780         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31781         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31782         0.0L for an argument of 1.0L.
31783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31784         Likewise.
31785         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31786         value when x - 1 is zero.
31787         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31788         * sysdeps/i386/fpu/libm-test-ulps: Update.
31789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31791 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31793         [BZ #15119]
31794         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31796 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31798         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31799         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31801 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31803         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31804         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31806         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31807         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31809         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31810         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31812         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31813         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31815         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31816         if not already defined.
31817         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31818         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31819         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31820         (TLS_INIT_TP): Use it.
31821         (TLS_DEFINE_INIT_TP): New macro.
31822         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31824 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31826         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31827         constant.
31828         [POSIX] (IXANY): Likewise.
31829         [POSIX] (OLCUC): Likewise.
31830         [POSIX || POSIX2008] (CBAUD): Do not allow.
31831         [POSIX || POSIX2008] (DEFECHO): Likewise.
31832         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31833         [POSIX || POSIX2008] (ECHOKE): Likewise.
31834         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31835         [POSIX || POSIX2008] (EXTA): Likewise.
31836         [POSIX || POSIX2008] (EXTB): Likewise.
31837         [POSIX || POSIX2008] (FLUSHO): Likewise.
31838         [POSIX || POSIX2008] (LOBLK): Likewise.
31839         [POSIX || POSIX2008] (PENDIN): Likewise.
31840         [POSIX || POSIX2008] (SWTCH): Likewise.
31841         [POSIX || POSIX2008] (VDISCARD): Likewise.
31842         [POSIX || POSIX2008] (VDSUSP): Likewise.
31843         [POSIX || POSIX2008] (VLNEXT): Likewise.
31844         [POSIX || POSIX2008] (VREPRINT): Likewise.
31845         [POSIX || POSIX2008] (VSTATUS): Likewise.
31846         [POSIX || POSIX2008] (VWERASE): Likewise.
31847         (B*): Change to B[0123456789]*.
31848         * conform/data/time.h-data [POSIX || UNIX98]
31849         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31850         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31851         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31852         [POSIX] (tm_*): Do not allow.
31854 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31856         * Makefile (install): Don't set LANGUAGE.
31857         * Makefile.in (install): Likewise.
31858         * assert/Makefile (test-assert-ENV): Remove variable.
31859         (test-assert-perr-ENV): Likewise.
31860         * elf/Makefile (neededtest4-ENV): Likewise.
31861         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31862         [$(cross-compiling) = no]: Don't set LANGUAGE.
31863         * io/ftwtest-sh (LANG): Remove variable.
31864         * libio/Makefile (tst-widetext-ENV): Likewise.
31865         * manual/install.texi (Running make install): Don't refer to
31866         environment settings for make install.
31867         * INSTALL: Regenerated.
31868         * nptl/tst-tls6.sh: Don't set LANG.
31869         * posix/globtest.sh (LANG): Remove variable.
31870         * string/Makefile (tester-ENV): Likewise.
31871         (inl-tester-ENV): Likewise.
31872         (noinl-tester-ENV): Likewise.
31873         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31874         [$(cross-compiling) = no]: Don't set LANGUAGE.
31875         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31876         without explicit environment settings.
31878 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31880         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31881         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31883         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31885 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31887         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31888         other files in the crypt directory.
31889         * crypt/crypt.c: Remove duplicate includes.
31890         * crypt/crypt-entry.c: Likewise.
31891         * crypt/crypt_util.c: Likewise.
31893 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31895         * Makeconfig (run-program-env): New variable.
31896         (run-program-prefix-before-env): Likewise.
31897         (run-program-prefix-after-env): Likewise.
31898         (run-program-prefix): Define in terms of new variables.
31899         (built-program-cmd-before-env): New variable.
31900         (built-program-cmd-after-env): Likewise.
31901         (built-program-cmd): Define in terms of new variables.
31902         (test-program-prefix-before-env): New variable.
31903         (test-program-prefix-after-env): Likewise.
31904         (test-program-prefix): Define in terms of new variables.
31905         (test-program-cmd-before-env): New variable.
31906         (test-program-cmd-after-env): Likewise.
31907         (test-program-cmd): Define in terms of new variables.
31908         * Rules (make-test-out): Use $(run-program-env).
31909         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31910         (help): Do not mention environment variables.  Mention
31911         --timeoutfactor option.
31912         (timeoutfactor): New variable.
31913         (blacklist_exports): Remove function.
31914         (exports): Remove variable.
31915         (command): Do not include ${exports}.
31916         * manual/install.texi (Configuring and compiling): Do not mention
31917         test wrappers preserving environment variables.  Mention that last
31918         assignment to a variable must take precedence.
31919         * INSTALL: Regenerated.
31920         * benchtests/Makefile (run-bench): Use $(run-program-env).
31921         * catgets/Makefile ($(objpfx)test1.cat): Use
31922         $(built-program-cmd-before-env), $(run-program-env) and
31923         $(built-program-cmd-after-env).
31924         ($(objpfx)test2.cat): Do not specify environment variables
31925         explicitly.
31926         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31927         $(run-program-env) and $(built-program-cmd-after-env).
31928         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31929         $(run-program-env) and $(test-program-cmd-after-env).
31930         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31931         explicitly.
31932         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31933         run_program_env and test_program_cmd_after_env arguments.
31934         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31935         * elf/tst-pathopt.sh: Use run_program_env argument.
31936         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31937         $(test-wrapper-env) and $(run-program-env).
31938         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31939         run_program_env arguments.
31940         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31941         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31942         $(test-program-prefix-before-env), $(run-program-env) and
31943         $(test-program-prefix-after-env).
31944         ($(objpfx)tst-gettext2.out): Likewise.
31945         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31946         run_program_env and test_program_prefix_after_env arguments.
31947         * intl/tst-gettext2.sh: Likewise.
31948         * intl/tst-gettext4.sh: Do not set environment variables
31949         explicitly.
31950         * intl/tst-gettext6.sh: Likewise.
31951         * intl/tst-translit.sh: Likewise.
31952         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31953         $(test-program-prefix-before-env), $(run-program-env) and
31954         $(test-program-prefix-after-env).
31955         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31956         run_program_env and test_program_prefix_after_env arguments.
31957         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31958         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31959         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31960         explicitly with each use of ${test_wrapper_env}.
31961         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31962         $(test-program-prefix-before-env), $(run-program-env) and
31963         $(test-program-prefix-after-env).
31964         * posix/tst-getconf.sh: Do not set environment variables
31965         explicitly.
31966         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31967         run_program_env and test_program_prefix_after_env arguments.
31968         * stdio-common/tst-printf.sh: Do not set environment variables
31969         explicitly.
31970         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31971         $(test-program-prefix-before-env), $(run-program-env) and
31972         $(test-program-prefix-after-env).
31973         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31974         run_program_env and test_program_prefix_after_env arguments.
31975         Split $test calls into $test_pre and $test.
31976         * timezone/Makefile (build-testdata): Use
31977         $(built-program-cmd-before-env), $(run-program-env) and
31978         $(built-program-cmd-after-env).
31980 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31982         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31983         strlen for non SHARED builds.
31985 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31987         * nptl/allocatestack.c (check_list): Inlined function...
31988         (__reclaim_stacks): ... here.
31990 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31992         [BZ #15698]
31993         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31994         memory overrun.
31996 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31998         * Rules (make-test-out): Include
31999         LOCPATH=$(common-objpfx)localedata in default environment.
32000         * debug/Makefile (tst-chk1-ENV): Remove variable.
32001         (tst-chk2-ENV): Likewise.
32002         (tst-chk3-ENV): Likewise.
32003         (tst-chk4-ENV): Likewise.
32004         (tst-chk5-ENV): Likewise.
32005         (tst-chk6-ENV): Likewise.
32006         (tst-lfschk1-ENV): Likewise.
32007         (tst-lfschk2-ENV): Likewise.
32008         (tst-lfschk3-ENV): Likewise.
32009         (tst-lfschk4-ENV): Likewise.
32010         (tst-lfschk5-ENV): Likewise.
32011         (tst-lfschk6-ENV): Likewise.
32012         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32013         (tst-iconv7-ENV): Likewise.
32014         * intl/Makefile (LOCPATH-ENV): Likewise.
32015         (tst-codeset-ENV): Likewise.
32016         (tst-gettext3-ENV): Likewise.
32017         (tst-gettext5-ENV): Likewise.
32018         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32019         (tst-fopenloc-ENV): Likewise.
32020         (tst-fgetws-ENV): Remove variable.
32021         (tst-ungetwc1-ENV): Likewise.
32022         (tst-ungetwc2-ENV): Likewise.
32023         (bug-ungetwc2-ENV): Likewise.
32024         (tst-swscanf-ENV): Likewise.
32025         (bug-ftell-ENV): Likewise.
32026         (tst-fgetwc-ENV): Likewise.
32027         (tst-fseek-ENV): Likewise.
32028         (tst-ftell-partial-wide-ENV): Likewise.
32029         (tst-ftell-active-handler-ENV): Likewise.
32030         (tst-ftell-append-ENV): Likewise.
32031         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32032         (tst-regexloc-ENV): Likewise.
32033         (bug-regex1-ENV): Likewise.
32034         (tst-regex-ENV): Likewise.
32035         (tst-regex2-ENV): Likewise.
32036         (bug-regex5-ENV): Likewise.
32037         (bug-regex6-ENV): Likewise.
32038         (bug-regex17-ENV): Likewise.
32039         (bug-regex18-ENV): Likewise.
32040         (bug-regex19-ENV): Likewise.
32041         (bug-regex20-ENV): Likewise.
32042         (bug-regex22-ENV): Likewise.
32043         (bug-regex23-ENV): Likewise.
32044         (bug-regex25-ENV): Likewise.
32045         (bug-regex26-ENV): Likewise.
32046         (bug-regex30-ENV): Likewise.
32047         (bug-regex32-ENV): Likewise.
32048         (bug-regex33-ENV): Likewise.
32049         (bug-regex34-ENV): Likewise.
32050         (bug-regex35-ENV): Likewise.
32051         (tst-rxspencer-ENV): Likewise.
32052         (tst-rxspencer-no-utf8-ENV): Likewise.
32053         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32054         (tst-sscanf-ENV): Likewise.
32055         (tst-swprintf-ENV): Likewise.
32056         (tst-swscanf-ENV): Likewise.
32057         (test-vfprintf-ENV): Likewise.
32058         (scanf13-ENV): Likewise.
32059         (bug14-ENV): Likewise.
32060         (tst-grouping-ENV): Likewise.
32061         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32062         (tst-strtod3-ENV): Likewise.
32063         (tst-strtod4-ENV): Likewise.
32064         (tst-strtod5-ENV): Likewise.
32065         (testmb2-ENV): Likewise./
32066         * string/Makefile (tst-strxfrm-ENV): Likewise.
32067         (tst-strxfrm2-ENV): Likewise.
32068         (bug-strcoll1-ENV): Likewise.
32069         (test-strcasecmp-ENV): Likewise.
32070         (test-strncasecmp-ENV): Likewise.
32071         * time/Makefile (tst-strptime-ENV): Likewise.
32072         (tst-ftime_l-ENV): Likewise.
32073         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32074         (tst-mbrtowc-ENV): Likewise.
32075         (tst-wcrtomb-ENV): Likewise.
32076         (tst-mbrtowc2-ENV): Likewise.
32077         (tst-c16c32-1-ENV): Likewise.
32078         (tst-mbsnrtowcs-ENV): Likewise.
32080 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32082         * manual/resource.texi (How to get information about the memory
32083         subsystem?): Fix typo.
32084         Reported by Peon de la Parra Ivan <peon@keba.com>
32086 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32088         [BZ #16882]
32089         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32090         (pthread_spin_lock): Branch out of spin loop to proper location.
32091         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32092         (pthread_spin_lock): Likewise.
32094         * nptl/tst-spin4.c: New test.
32095         * nptl/Makefile (tests): Add tst-spin4.
32097 2014-06-03  Andreas Schwab  <schwab@suse.de>
32099         [BZ #15946]
32100         * resolv/res_send.c (send_dg): Reload file descriptor after
32101         calling reopen.
32103 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32107 2014-06-03  Richard Henderson  <rth@redhat.com>
32109         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32110         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32111         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32112         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32113         in the SAVE_PID block.
32114         (__libc_vfork): New alias.
32115         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32117         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32118         child in registers, not on the stack.  Remove RESET_PID conditionals.
32119         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32121 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32123         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32125 2014-06-03  Wilco  <wdijkstr@arm.com>
32127         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32128         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32129         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32130         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32131         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32132         Likewise.
32134 2014-06-03  Wilco  <wdijkstr@arm.com>
32136         * sysdeps/aarch64/fpu/math_private.h
32137         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32138         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32139         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32140         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32141         Fix declarations.
32143 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32145         * crypt/crypt-private.h: Include ufc-crypt.h.
32146         (__b64_from_24bit): Declare extern.
32147         * crypt/crypt_util.c(__b64_from_24bit): New function.
32148         (b64t): New static const variable.
32149         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32150         (b64t): Remove variable.
32151         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32152         * crypt/sha256-crypt.c: Include crypt-private.h.
32153         (b64t): Remove variable.
32154         (__sha256_crypt_r): Remove b64_from_24bit and replace
32155         with __b64_from_24bit.
32156         * crypt/sha512-crypt.c: Likewise.
32158 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32160         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32161         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32162         Label the code __libc_vfork rather than __vfork.
32163         [!NOT_IN_libc] (vfork): Define as weak alias.
32164         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32165         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32166         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32168 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32170         * malloc/malloc.c (malloc_info): Fix format specifier for
32171         n_mmaps.
32173 2014-06-02  Wilco  <wdijkstr@arm.com>
32175         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32176         FPCR write.
32178 2014-06-02  Wilco  <wdijkstr@arm.com>
32180         [BZ #17009]
32181         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32182         Rewrite to reduce FPCR/FPSR accesses.
32184 2014-06-01  David S. Miller  <davem@davemloft.net>
32186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32188 2014-05-31  David S. Miller  <davem@davemloft.net>
32190         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32191         to occur in round to nearest mode when |x| >= 2.0
32193 2014-05-30  Richard Henderson  <rth@twiddle.net>
32195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32196         (PSEUDO_RET_NOERRNO): Remove.
32197         (ret): Don't redefine.
32198         (ret_NOERRNO): Define in terms of ret.
32199         (ret_ERRVAL): Likewise.
32201         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32202         use of PSEUDO_RET; perform the error check directly.
32204 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32206         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32207         with __int128_t.
32209 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32211         * malloc/malloc (malloc_info): Fix formatting.
32213 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32214             Roland McGrath  <roland@hack.frob.com>
32216         * malloc/malloc (malloc_info): Also print mmapped statistics.
32218 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32220         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32221         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32223 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32225         * malloc/malloc.c (malloc_info): Inline mi_arena.
32227 2014-05-29  Richard Henderson  <rth@twiddle.net>
32229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32230         Remove comma before expanding ASM_ARGS_##nr.
32231         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32232         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32233         of ASM_ARGS_##nr.
32234         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32235         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32236         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32237         (ASM_ARGS_1): Add leading comma.
32239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32240         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32241         to __errno_location.
32242         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32243         Remove the expected plt for __errno_location.
32245         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32246         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32247         call to __read_tp.
32249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32250         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32251         it and break it down.
32252         (DOCARGS_0, DOCARGS_1): Do nothing.
32253         (DOCARGS_2): Update to store into the new stack frame.
32254         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32255         (UNDOCARGS_1): Update to restore from the new stack frame.
32256         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32257         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32259         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32260         (SINGLE_THREAD_P): New parameter for result regno.
32261         (PSEUDO): Update to match; use cbz instead of beq.
32263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32264         Use ENTRY to define the _nocancel entry point.  Share the syscall
32265         and syscall error check paths with the cancel path.
32266         (PSEUDO_END): New.
32268         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32269         whitespace; tabs before and after asm mnemonics.
32271 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32273         [BZ #15132]
32274         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32275         Call fstat64 or stat64 internally, depending on arguments passed.
32276         Replace stat buffer argument with file descriptor argument.
32277         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32278         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32279         Pass fd to __internal_statvfs instead of calling fstat64.
32280         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32281         Pass fd to __internal_statvfs64 instead of calling fstat64.
32282         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32283         Pass -1 to __internal_statvfs instead of calling stat64.
32284         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32285         Pass -1 to __internal_statvfs64 instead of calling stat64.
32287 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32289         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32290         that was previously under [RESET_PID].
32291         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32293         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32294         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32296 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32298         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32300         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32301         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32303 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32305         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32307 2014-05-27  Andreas Schwab  <schwab@suse.de>
32309         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32310         TLS_INIT_TP macro.
32311         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32312         * elf/rtld.c (init_tls, dl_main): Likewise.
32313         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32314         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32315         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32316         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32317         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32318         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32319         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32320         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32321         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32322         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32323         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32324         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32325         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32326         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32327         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32328         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32329         * sysdeps/generic/tls.h: Update description.
32331 2014-05-27  Will Newton  <will.newton@linaro.org>
32333         [BZ #16990]
32334         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32335         and restore r2 rather than just restoring.
32337 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32339         [BZ #16724]
32340         * libio/tst-ftell-append.c: New test case.
32341         * libio/Makefile (tests): Add test case.
32342         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32343         append mode.
32344         * libio/wfileops.c (do_ftell_wide): Likewise.
32346 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32350         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32351         ...
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32354         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32355         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32356         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32357         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32358         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32359         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32361         Moved ...
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32364         Moved ...
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32367         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32368         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32369         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32371         ...
32372         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32373         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32374         Moved ...
32375         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32376         here.
32377         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32378         ...
32379         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32380         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32381         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32383         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32384         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32386         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32389         merge into ...
32390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32392         ...
32393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32395         ...
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32400         here.
32401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32402         Moved ...
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32405         Moved ...
32406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32409         conditional [RESET_PID].
32410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32412         removed.
32413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32414         removed.
32416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32417         <tcb-offsets.h>.
32418         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32419         (__libc_vfork): New strong alias.
32420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32421         removed.
32422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32423         Removed.
32425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32426         <tcb-offsets.h>.
32427         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32428         (__libc_vfork): New strong alias.
32429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32430         removed.
32431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32432         removed.
32434 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32436         * malloc/malloc.c (mi_arena): New function.
32437         (malloc_info): Remove nested function mi_arena. Call non-nosted
32438         function mi_arena.
32440 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32443         by insrwi.
32444         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32445         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32446         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32447         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32448         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32449         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32450         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32452 2014-05-26  Andreas Schwab  <schwab@suse.de>
32454         [BZ #16984]
32455         * locale/programs/repertoire.c (repertoire_read): Add slash
32456         between I18NPATH element and file name.
32457         * locale/programs/locfile.c (locfile_read): Likewise.
32459 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32461         * nptl/pthread_mutexattr_settype.c
32462         (__pthread_mutexattr_settype):
32463         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32465 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32467         * nptl/tst-mutex5 (do_test):
32468         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32470 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32472         * benchtests/README: Document 'init' directive.
32473         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32474         BENCH_INIT.
32475         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32476         (parse_file): Recognize 'init' directive.
32478 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32480         [BZ #16796]
32481         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32482         alignment of struct pthread.
32484 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32486         [BZ #16878]
32487         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32488         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32489         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32490         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32492 2014-05-25  Richard Henderson  <rth@twiddle.net>
32494         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32495         (SINGLE_THREAD_P_PIC): Remove.
32496         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32497         (SINGLE_THREAD_P_PIC): Remove.
32499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32500         branch to syscall error ...
32501         (PSEUDO): ... here.
32502         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32503         from __local_syscall_error to .Lsyscall_error.
32504         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32505         (SYSCALL_ERROR): Update label name.
32507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32508         Do not use DOARGS/UNDOARGS.
32509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32510         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32511         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32512         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32513         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32516         block comment.
32518         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32519         define if !NOT_IN_libc.
32520         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32521         define with non-default symbol versions.
32523 2014-05-23  Richard Henderson  <rth@twiddle.net>
32525         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32526         (vfork, __vfork): Define via compat_symbol.
32528         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32529         [!HAVE_IFUNC] (vfork_compat): Remove.
32530         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32532 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32534         [BZ #16978]
32535         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32536         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32537         variable.
32539 2014-05-23  Richard Henderson  <rth@twiddle.net>
32541         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32542         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32543         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32544         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32546         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32547         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32548         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32549         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32550         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32551         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32552         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32553         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32554         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32555         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32556         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32557         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32558         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32559         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32560         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32561         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32562         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32563         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32564         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32565         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32567         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32569         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32570         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32571         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32573         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32575         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32577         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32578         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32579         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32580         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32581         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32582         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32583         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32584         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32585         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32586         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32587         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32588         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32589         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32590         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32591         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32593         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32595         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32597         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32599         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32601         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32603         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32604         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32605         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32606         before exiting on error.
32607         (__libc_vfork): New strong alias.
32608         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32609         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32611         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32612         that was previously under [RESET_PID].
32613         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32615         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32617 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32619         [BZ #16977]
32620         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32621         value when x - 1 is zero.
32622         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32623         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32624         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32625         0.0L for an argument of 1.0L.
32626         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32627         Likewise.
32628         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32629         value when x - 1 is zero.
32630         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32631         * sysdeps/i386/fpu/libm-test-ulps: Update.
32632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32634 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32636         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32637         alphasort and versionsort.
32639 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32641         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32642         macro.
32643         [copysignf]: Likewise.
32645 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32647         * crypt/md5-crypt.c: Fix formatting.
32649 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32651         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32652         (b64_from_24bit): New function.
32654 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32656         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32657         libc_hidden_builtin_def to ifunc.
32658         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32659         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32661 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32663         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32664         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32666 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32668         * nscd/Depend (linuxthreads): Remove.
32669         (nptl): Add.
32670         * resolv/Depend (linuxthreads): Remove.
32671         * rt/Depend (linuxthreads): Remove.
32673         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32674         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32675         $(common-objpfx)elf/.
32676         (link-libc-before-gnulib): Likewise.
32677         (elfobjdir): Remove variable.
32678         * Makefile (install): Use $(elf-objpfx) instead of
32679         $(common-objpfx)elf/.
32680         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32681         $(elfobjdir)/.
32682         (link-libc-deps): Likewise.
32683         ($(common-objpfx)libc.so): Likewise.
32684         ($(common-objpfx)linkobj/libc.so): Likewise.
32685         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32686         instead of $(common-objpfx)elf/.
32687         (symbolic-link-list): Likewise.
32688         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32689         [$(cross-compiling) = no]: Likewise.
32690         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32691         $(elfobjdir)/.
32692         (static-gnulib-arch): Likewise.
32693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32694         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32695         $(common-objpfx)elf/.
32697 2014-05-21  Richard Henderson  <rth@redhat.com>
32699         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32700         (SINGLE_THREAD_P): Use the correct width load.  Fold
32701         into the ldr offset.
32703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32704         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32706 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32708         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32709         (libgcc_s_resume): Use __attribute_used__.
32710         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32711         Likewise.
32713 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32715         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32716         optimization when used with float constants.
32718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32720 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32722         [BZ #16915]
32723         * locale/nl_langinfo_l.c: Make direct reference to every
32724         _nl_current_CATEGORY symbol.
32725         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32726         (tests-static): Add tst-langinfo-static.
32727         (tests-special): Add tst-langinfo-static.out.
32728         ($(objpfx)tst-langinfo.out): Redirect output.
32729         ($(objpfx)tst-langinfo-static.out): New.
32730         * localedata/tst-langinfo.sh: Send output to stdout.
32731         * localedata/tst-langinfo-static.c: New file.
32733         [BZ #16965]
32734         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32735         when the shift amount is modulo the limb size.
32737 2014-05-20  Richard Henderson  <rth@redhat.com>
32739         [BZ #16967]
32740         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32741         Change type of sa_flags from unsigned int to int.
32743         [BZ #16966]
32744         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32746         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32748 2014-05-20  Will Newton  <will.newton@linaro.org>
32750         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32751         Test the return value of the system call in the nocancel case.
32753 2014-05-20  Will Newton  <will.newton@linaro.org>
32754             Yvan Roux  <yvan.roux@linaro.org>
32756         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32757         #include of asm/ptrace.h.
32758         (PTRACE_GET_THREAD_AREA): Remove #undef.
32759         (PTRACE_GETHBPREGS): Likewise.
32760         (PTRACE_SETHBPREGS): Likewise.
32761         (struct user_regs_struct): New structure.
32762         (struct user_fpsimd_struct): New structure.
32763         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32764         #include of asm/ptrace.h and second #include of sys/user.h.
32765         (PTRACE_GET_THREAD_AREA): Remove #undef.
32766         (PTRACE_GETHBPREGS): Likewise.
32767         (PTRACE_SETHBPREGS): Likewise.
32768         (ELF_NGREG): Use new struct user_regs_struct.
32769         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32771 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32773         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32774         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32776 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32778         [BZ #16958]
32779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32780         membar to avoid block loads/stores to overlap previous stores.
32782 2014-05-17  Richard Henderson  <rth@redhat.com>
32784         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32785         Create the __##syscall_name##_nocancel entry point.
32786         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32787         Remove; let the sysdep-cancel.h code create it.
32789 2014-05-17  David S. Miller  <davem@davemloft.net>
32791         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32792         Protect with __USE_GNU.
32793         (TIOCSET_TEMPT): Likewise.
32794         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32795         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32796         these are already provided in bits/ioctl-types.h
32798 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32800         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32801         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32803         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32804         Use wait4 regardless of [__NR_waitpid].
32806 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32808         PR libgcc/60166
32809         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32810         (_FP_NANSIGN_Q): Set the quiet bit.
32812 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32814         * benchtests/Makefile
32815         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32816         not $(common-objpfx)math/libm.so.
32817         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32818         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32819         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32820         $(common-objpfx)dlfcn/libdl.so.
32821         ($(objpfx)tst-audit8): Depend on $(libm), not
32822         $(common-objpfx)math/libm.so.
32823         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32824         not $(common-objpfx)dlfcn/libdl.so.
32825         * math/Makefile
32826         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32827         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32828         [$(build-shared) = yes].
32829         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32830         $(common-objpfx)nptl/libpthread.so.
32831         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32832         $(common-objpfx)math/libm.so$(libm.so-version) or
32833         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32834         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32835         $(common-objpfx)dlfcn/libdl.so.
32836         * setjmp/Makefile (link-libm): Remove variable.
32837         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32838         * stdio-common/Makefile (link-libm): Remove variable.
32839         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32840         * stdlib/Makefile (link-libm): Remove variable.
32841         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32842         ($(objpfx)tst-strtod-round): Likewise.
32843         ($(objpfx)tst-tininess): Likewise.
32844         ($(objpfx)tst-strtod-underflow): Likewise.
32845         ($(objpfx)tst-strtod6): Likewise.
32846         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32847         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32848         $(common-objpfx)dlfcn/libdl.so.
32850 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32852         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32853         BSD terminal modes definitions.
32855 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32857         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32858         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32860         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32861         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32862         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32863         Don't do #include_next.
32864         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32865         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32866         Don't do #include_next.
32867         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32868         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32869         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32870         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32872 2014-05-16  Allan McRae  <allan@archlinux.org>
32874         * po/sv.po: Update Swedish translation from translation project.
32876         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32877         in sed expression.
32879 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32881         [BZ #16917]
32882         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32883         errno if the TIOCGPTN ioctl fails with an error different than
32884         EINVAL.
32885         * login/tst-ptsname.c: New file.
32886         * login/Makefile (tests): Add tst-ptsname.
32888         [BZ #16943]
32889         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32890         and prlimit64.
32892 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32894         [BZ #16849]
32895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32896         herrno to return EAI_AGAIN.
32898 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32900         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32901         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32902         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32913         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32914         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32915         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32916         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32927         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32929         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32931         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32933         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32938         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32940         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32942         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32944         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32946         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32948         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32950         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32952         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32954         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32956         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32958         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32960         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32962         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32964         Moved ...
32965         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32967         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32969         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32971         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32973         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32975         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32977         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32979         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32981         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32983         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32985         Moved ...
32986         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32988         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32990         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32991         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32992         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32993         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32994         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32996         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32998         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32999         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33000         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33001         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33002         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33003         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33004         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33005         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33006         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33007         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33008         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33009         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33010         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33012         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33013         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33014         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33015         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33016         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33017         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33018         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33019         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33020         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33022         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33023         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33025         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33026         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33027         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33029         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33031         Moved ...
33032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33037         Moved ...
33038         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33040         Moved ...
33041         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33043         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33045         Moved ...
33046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33047         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33048         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33050         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33052         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33053         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33054         Moved ...
33055         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33057         Moved ...
33058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33059         ... here.
33060         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33061         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33062         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33063         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33067         ... here.
33068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33069         Moved ...
33070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33071         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33072         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33073         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33074         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33076         Moved ...
33077         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33088         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33090         Moved ...
33091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33092         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33093         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33095         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33096         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33097         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33098         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33099         Moved ...
33100         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33101         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33102         Moved ...
33103         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33104         ... here.
33105         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33106         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33107         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33108         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33110         Moved ...
33111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33112         ... here.
33113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33114         Moved ...
33115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33116         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33117         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33118         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33119         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33120         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33122         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33123         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33128         Moved ...
33129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33131         Moved ...
33132         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33133         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33134         Moved ...
33135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33136         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33137         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33138         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33139         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33141         Moved ...
33142         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33143         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33144         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33146         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33147         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33148         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33149         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33150         Moved ...
33151         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33152         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33153         Moved ...
33154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33155         ... here.
33156         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33157         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33158         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33159         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33161         Moved ...
33162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33163         ... here.
33164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33165         Moved ...
33166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33167         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33168         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33169         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33170         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33171         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33172         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33173         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33174         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33175         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33176         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33178         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33179         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33181         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33182         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33184         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33185         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33186         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33187         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33188         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33189         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33190         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33191         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33192         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33193         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33195         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33196         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33197         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33198         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33200         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33207         Moved ...
33208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33212         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33216         Moved ...
33217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33218         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33219         Moved ...
33220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33226         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33227         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33228         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33229         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33230         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33231         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33232         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33233         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33234         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33235         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33236         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33238         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33239         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33240         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33241         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33242         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33244         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33245         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33247         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33248         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33249         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33250         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33251         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33252         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33253         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33258         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33259         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33260         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33261         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33262         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33263         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33264         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33265         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33266         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33267         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33268         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33269         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33271         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33273         Update #include.
33274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33275         Likewise.
33276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33277         Likewise.
33278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33279         Likewise.
33280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33281         Likewise.
33282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33283         Likewise.
33284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33285         Likewise.
33286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33287         Likewise.
33288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33289         Likewise.
33290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33291         Likewise.
33292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33300         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33302         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33303         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33304         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33305         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33306         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33309         that was previously under [RESET_PID].
33310         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33311         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33312         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33314         * sysdeps/i386/nptl/Implies: New file.
33315         * sysdeps/x86_64/nptl/Implies: New file.
33316         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33317         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33318         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33319         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33321         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33322         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33323         (__libc_vfork): New strong alias.
33324         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33325         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33327         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33328         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33329         (__libc_vfork): New strong alias.
33330         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33331         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33333         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33334         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33335         (__libc_vfork): New strong alias.
33336         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33337         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33338         * nptl/pt-vfork.c: New file.
33339         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33340         (libpthread: GLIBC_2.20): New version set (empty).
33342 2014-05-14  Will Newton  <will.newton@linaro.org>
33344         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33345         rather than #if.
33347 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33349         [BZ #16564]
33350         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33351         arguments with exponent 65 or above.
33352         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33353         arguments 0x1p113L or above.
33354         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33355         to arguments 0x1p107L or above.
33356         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33357         positive arguments with exponent 65 or above.
33358         * math/auto-libm-test-in: Add more tests of log1p.
33359         * math/auto-libm-test-out: Regenerated.
33361         [BZ #16928]
33362         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33363         non-finite arguments is +0.
33364         * math/s_cacosf.c (__cacosf): Likewise.
33365         * math/s_cacosl.c (__cacosl): Likewise.
33366         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33367         * sysdeps/i386/fpu/libm-test-ulps: Update.
33368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33370         [BZ #16927]
33371         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33372         value.
33373         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33374         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33375         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33376         for explicit high bit of mantissa when testing for argument equal
33377         to 1.
33378         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33379         * sysdeps/i386/fpu/libm-test-ulps: Update.
33380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33382         [BZ #16516]
33383         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33384         (__erf): Scale by 16 instead of 8 in potentially underflowing
33385         case.  Ensure exception if result actually underflows.
33386         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33387         (__erff): Scale by 16 instead of 8 in potentially underflowing
33388         case.  Ensure exception if result actually underflows.
33389         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33390         (efx8): Remove variable.
33391         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33392         case.  Ensure exception if result actually underflows.
33393         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33394         (efx8): Remove variable.
33395         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33396         case.  Ensure exception if result actually underflows.
33397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33398         (efx8): Remove variable.
33399         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33400         case.  Ensure exception if result actually underflows.
33401         * math/auto-libm-test-in: Add more tests of erf.
33402         * math/auto-libm-test-out: Regenerated.
33404 2014-05-14  Andreas Schwab  <schwab@suse.de>
33406         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33407         Remove code conditionalized on USE___THREAD.
33409         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33410         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33411         not definedness.
33413 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33416         Define unconditionally.
33417         (__ASSUME_O_CLOEXEC): Likewise.
33418         (__ASSUME_SOCK_CLOEXEC): Likewise.
33419         (__ASSUME_IN_NONBLOCK): Likewise.
33420         (__ASSUME_PIPE2): Likewise.
33421         (__ASSUME_EVENTFD2): Likewise.
33422         (__ASSUME_SIGNALFD4): Likewise.
33423         (__ASSUME_DUP3): Likewise.
33424         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33425         (__ASSUME_DUP3): Do not define.
33426         (__ASSUME_EVENTFD2): Likewise.
33427         (__ASSUME_IN_NONBLOCK): Likewise.
33428         (__ASSUME_O_CLOEXEC): Likewise.
33429         (__ASSUME_PIPE2): Likewise.
33430         (__ASSUME_SIGNALFD4): Likewise.
33431         (__ASSUME_SOCK_CLOEXEC): Likewise.
33432         (__ASSUME_UTIMES): Undefine.
33433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33434         (__ASSUME_UTIMES): Do not define.
33435         (__ASSUME_O_CLOEXEC): Likewise.
33436         (__ASSUME_SOCK_CLOEXEC): Likewise.
33437         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33438         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33439         0x020621].
33440         (__ASSUME_PIPE2): Likewise.
33441         (__ASSUME_EVENTFD2): Likewise.
33442         (__ASSUME_SIGNALFD4): Likewise.
33443         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33444         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33445         Do not define.
33446         (__ASSUME_EVENTFD2): Likewise.
33447         (__ASSUME_SIGNALFD4): Likewise.
33448         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33449         (__ASSUME_32BITUIDS): Likewise.
33450         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33451         (__ASSUME_IPC64): Likewise.
33452         (__ASSUME_ST_INO_64_BIT): Likewise.
33453         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33454         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33456         (__ASSUME_UTIMES): Do not define.
33457         (__ASSUME_PSELECT): Likewise.
33458         (__ASSUME_PPOLL): Likewise.
33459         (__ASSUME_O_CLOEXEC): Likewise.
33460         (__ASSUME_SOCK_CLOEXEC): Likewise.
33461         (__ASSUME_IN_NONBLOCK): Likewise.
33462         (__ASSUME_PIPE2): Likewise.
33463         (__ASSUME_EVENTFD2): Likewise.
33464         (__ASSUME_SIGNALFD4): Likewise.
33465         (__ASSUME_DUP3): Likewise.
33466         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33467         (__ASSUME_UTIMES): Likewise.
33468         (__ASSUME_O_CLOEXEC): Likewise.
33469         (__ASSUME_SOCK_CLOEXEC): Likewise.
33470         (__ASSUME_IN_NONBLOCK): Likewise.
33471         (__ASSUME_PIPE2): Likewise.
33472         (__ASSUME_EVENTFD2): Likewise.
33473         (__ASSUME_SIGNALFD4): Likewise.
33474         (__ASSUME_DUP3): Likewise.
33475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33476         (__ASSUME_UTIMES): Likewise.
33477         (__ASSUME_O_CLOEXEC): Likewise.
33478         (__ASSUME_SOCK_CLOEXEC): Likewise.
33479         (__ASSUME_IN_NONBLOCK): Likewise.
33480         (__ASSUME_PIPE2): Likewise.
33481         (__ASSUME_EVENTFD2): Likewise.
33482         (__ASSUME_SIGNALFD4): Likewise.
33483         (__ASSUME_DUP3): Likewise.
33484         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33485         Likewise.
33486         (__ASSUME_UTIMES): Likewise.
33487         (__ASSUME_EVENTFD2): Likewise.
33488         (__ASSUME_SIGNALFD4): Likewise.
33489         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33490         (__ASSUME_O_CLOEXEC): Likewise.
33491         (__ASSUME_SOCK_CLOEXEC): Likewise.
33492         (__ASSUME_IN_NONBLOCK): Likewise.
33493         (__ASSUME_PIPE2): Likewise.
33494         (__ASSUME_EVENTFD2): Likewise.
33495         (__ASSUME_SIGNALFD4): Likewise.
33496         (__ASSUME_DUP3): Likewise.
33497         (__ASSUME_UTIMES): Undefine.
33499         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33500         feclearexcept.  Remove symbol versioning code.
33501         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33502         symbol versioning code.
33503         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33504         symbol versioning code.
33505         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33506         feupdateenv.  Remove symbol versioning code.
33507         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33508         fegetexceptflag.  Remove symbol versioning code.
33509         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33510         fesetexceptflag.  Remove symbol versioning code.
33511         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33512         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33513         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33514         (__posix_fadvise64_l32): Remove prototype.
33515         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33516         code.
33518 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33520         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33521         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33522         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33523         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33525 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33527         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33528         current working directory
33530 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33532         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33533         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33534         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33535         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33536         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33537         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33538         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33539         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33540         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33541         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33542         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33543         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33544         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33545         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33546         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33547         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33548         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33549         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33550         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33551         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33552         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33560         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33561         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33562         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33563         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33564         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33565         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33566         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33568         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33569         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33570         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33571         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33572         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33573         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33575         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33576         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33578         * sysdeps/unix/sysv/linux/arm/Makefile
33579         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33580         Add rt-aeabi_unwind_cpp_pr1.
33581         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33582         Add nptl-aeabi_unwind_cpp_pr1.
33583         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33584         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33585         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33586         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33587         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33588         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33590         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33591         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33592         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33593         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33595         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33596         Deconditionalize the code that was previously under [RESET_PID].
33597         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33599         * sysdeps/generic/exit-thread.h: New file.
33600         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33601         * include/unistd.h (__exit_thread): Remove declaration.
33602         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33603         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33604         * csu/libc-start.c: Include <exit-thread.h>.
33605         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33606         * nptl/pthread_create.c: Include <exit-thread.h>.
33607         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33608         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33609         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33610         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33611         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33612         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33613         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33614         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33615         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33616         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33617         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33618         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33619         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33620         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33621         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33622         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33623         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33625 2014-05-13  Andreas Schwab  <schwab@suse.de>
33627         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33629 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33631         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33632         (__ASSUME_UTIMES): Do not condition on kernel version.
33633         (__ASSUME_PSELECT): Define unconditionally.
33634         (__ASSUME_PPOLL): Likewise.
33635         (__ASSUME_ATFCTS): Likewise.
33636         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33637         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33638         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33639         (__ASSUME_UTIMENSAT): Define unconditionally.
33640         (__ASSUME_PRIVATE_FUTEX): Likewise.
33641         (__ASSUME_FALLOCATE): Likewise.
33642         (__ASSUME_O_CLOEXEC): Likewise.
33643         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33644         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33645         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33646         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33647         (__ASSUME_IN_NONBLOCK): Likewise.
33648         (__ASSUME_PIPE2): Likewise.
33649         (__ASSUME_EVENTFD2): Likewise.
33650         (__ASSUME_SIGNALFD4): Likewise.
33651         (__ASSUME_DUP3): Likewise.
33652         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33653         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33654         (__ASSUME_AT_RANDOM): Likewise.
33655         (__ASSUME_PREADV): Likewise.
33656         (__ASSUME_PWRITEV): Likewise.
33657         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33658         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33659         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33660         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33661         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33663         (__ASSUME_O_CLOEXEC): Define unconditionally.
33664         (__ASSUME_PSELECT): Do not undefine conditionally.
33665         (__ASSUME_PPOLL): Likewise.
33666         (__ASSUME_ATFCTS): Likewise.
33667         (__ASSUME_SET_ROBUST_LIST): Likewise.
33668         (__ASSUME_UTIMENSAT): Likewise.
33669         (__ASSUME_FDATASYNC): Define unconditionally.
33670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33671         (__ASSUME_SIGFRAME_V2): Likewise.
33672         )__ASSUME_EVENTFD2): Likewise.
33673         (__ASSUME_SIGNALFD4): Likewise.
33674         (__ASSUME_PSELECT): Do not undefine conditionally.
33675         (__ASSUME_PPOLL): Likewise.
33676         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33677         (__ASSUME_PSELECT): Define unconditionally.
33678         (__ASSUME_PPOLL): Likewise.
33679         (__ASSUME_O_CLOEXEC): Likewise.
33680         (__ASSUME_SOCK_CLOEXEC): Likewise.
33681         (__ASSUME_IN_NONBLOCK): Likewise.
33682         (__ASSUME_PIPE2): Likewise.
33683         (__ASSUME_EVENTFD2): Likewise.
33684         (__ASSUME_SIGNALFD4): Likewise.
33685         (__ASSUME_DUP3): Likewise.
33686         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33687         (__ASSUME_O_CLOEXEC): Likewise.
33688         (__ASSUME_SOCK_CLOEXEC): Likewise.
33689         (__ASSUME_IN_NONBLOCK): Likewise.
33690         (__ASSUME_PIPE2): Likewise.
33691         (__ASSUME_EVENTFD2): Likewise.
33692         (__ASSUME_SIGNALFD4): Likewise.
33693         (__ASSUME_DUP3): Likewise.
33694         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33695         (__ASSUME_EVENTFD2): Likewise.
33696         (__ASSUME_SIGNALFD4): Likewise.
33697         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33699 2014-05-12  Andreas Schwab  <schwab@suse.de>
33701         [BZ #16932]
33702         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33703         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33704         than maximum RPC packet size.
33705         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33706         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33707         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33708         (_nss_nis_getservbyport_r): Likewise.
33710 2014-05-12  Will Newton  <will.newton@linaro.org>
33712         * malloc/Makefile (tests): Add tst-mallopt.
33713         * malloc/tst-mallopt.c: New file.
33715 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33717         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33718         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33720 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33722         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33723         (tst-tlsmod6.so): Likewise.
33725 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33727         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33729 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33731         [BZ #16064]
33732         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33733         and <dl-procinfo.h>.
33734         (__fegetenv): Save SSE state in envp->__eip if supported.
33735         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33736         envp->__eip if supported.
33737         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33738         and <dl-procinfo.h>.
33739         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33740         __data_offset and __data_selector in environment to 0.  Set SSE
33741         state if supported.
33742         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33743         test-fenv-sse.
33744         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33745         -mfpmath=sse.
33746         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33748 2014-05-09  Will Newton  <will.newton@linaro.org>
33750         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33751         and libc_relro_required for ARM.
33752         * sysdeps/arm/preconfigure: Regenerate.
33754 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33755             Stefan Liebler  <stli@linux.vnet.ibm.com>
33757         * config.make.in (enable-lock-elision): New Makefile variable.
33758         * configure.ac: Likewise.
33759         * configure: Regenerate.
33760         * sysdeps/s390/configure.ac:
33761         Add check for gcc transactions support.
33762         * sysdeps/s390/configure: Regenerate.
33763         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33764         Build elision files if enabled.
33765         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33766         Add lock elision support for s390.
33767         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33768         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33769         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33770         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33771         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33772         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33773         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33774         Likewise.
33775         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33776         Likewise.
33777         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33778         Likewise.
33779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33780         Likewise.
33781         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33782         (__lll_timedlock_elision, __lll_lock_elision)
33783         (__lll_unlock_elision, __lll_trylock_elision)
33784         (lll_timedlock_elision, lll_lock_elision)
33785         (lll_unlock_elision, lll_trylock_elision): Add.
33786         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33787         (pthread_mutex_t): Add lock elision support for s390.
33789 2014-05-14  Wilco  <wdijkstr@arm.com>
33791         * sysdeps/arm/fclrexcpt.c: Cleanup.
33792         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33793         * sysdeps/arm/feenablxcpt.c: Cleanup.
33794         * sysdeps/arm/fegetenv.c: Cleanup.
33795         * sysdeps/arm/fegetexcept.c: Cleanup.
33796         * sysdeps/arm/fegetround.c: Cleanup.
33797         * sysdeps/arm/feholdexcpt.c: Cleanup.
33798         * sysdeps/arm/fesetenv.c: Cleanup.
33799         * sysdeps/arm/fesetround.c: Cleanup.
33800         * sysdeps/arm/feupdateenv.c: Cleanup.
33801         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33802         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33803         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33804         * sysdeps/arm/ftestexcept.c: Cleanup.
33805         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33806         * sysdeps/arm/setfpucw.c: Cleanup.
33808 2014-05-09  Will Newton  <will.newton@linaro.org>
33810         * sysdeps/arm/armv7/strcmp.S: New file.
33811         * NEWS: Mention addition of ARMv7 optimized strcmp.
33813 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33815         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33816         look for %.ac rather than %.in.
33818         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33819         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33820         * sysdeps/mach/hurd/configure: Regenerated.
33821         * sysdeps/unix/sysv/linux/configure: Regenerated.
33823         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33825 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33827         [BZ# 16922]
33828         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33829         (LONG_SUB): Ditto.
33830         (PTR_SUB): Ditto.
33832 2014-05-07  Andreas Schwab  <schwab@suse.de>
33834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33835         when skipping over non-matching result from nscd.
33837 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33839         [BZ #16876]
33840         * nptl/sockperf.c (client): Check socket return value.
33842         [BZ #16877]
33843         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33844         nscd security class.
33846 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33849         * sysdeps/arm/unwind.h: ... here.
33851 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33853         [BZ# 16916]
33854         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33855         Define.
33857 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33859         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33860         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33861         multiarch strncpy for PPC64.
33862         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33863         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33865         multiarch optimizations.
33866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33867         (__libc_ifunc_impl_list): Likewise.
33868         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33869         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33870         multiarch stpncpy for PPC64.
33871         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33872         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33874 2014-05-06  Andreas Schwab  <schwab@suse.de>
33876         [BZ #16912]
33877         * gmon/mcount.c (_MCOUNT_DECL): Use
33878         atomic_compare_and_exchange_bool_acq instead of
33879         catomic_compare_and_exchange_bool_acq.
33881 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33883         * elf/Makefile (others, install-bin): Remove pldd.
33884         (pldd-modules): Variable removed.
33885         ($(objpfx)pldd): Target removed.
33886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33887         (others, install-bin): Append pldd here.
33888         ($(objpfx)pldd): New target.
33890         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33891         to 0, so the first #if test emitted later doesn't see it undefined.
33892         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33893         * sysdeps/gnu/errlist.c: Regenerated.
33895 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33897         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33898         [libc_hidden_builtin_def]: Define to empty value.
33899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33900         [libc_hidden_builtin_def]: Likewise.
33901         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33902         [libc_hidden_builtin_def]: Likewise.
33903         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33904         [libc_hidden_builtin_def]: Likewise.
33905         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33906         __redirect_memcpy and define ifunc as default hidden symbol.
33907         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33908         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33910 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33912         * locale/iso-4217.def: Reintroduce XDR currency.
33914 2014-05-04  Allan McRae  <allan@archlinux.org>
33916         * po/eo.po: Update Esperanto translation from translation project.
33918 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33920         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33921         and FEATURE_INDEX_MAX to 1.
33922         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33924 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33926         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33927         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33928         * iconvdata/big5.c (ONE_DIRECTION): Define.
33929         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33930         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33931         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33932         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33933         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33934         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33935         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33936         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33937         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33938         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33939         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33940         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33941         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33942         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33943         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33944         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33945         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33946         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33947         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33948         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33949         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33950         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33951         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33952         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33953         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33954         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33955         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33956         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33957         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33958         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33959         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33960         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33961         * iconvdata/johab.c (ONE_DIRECTION): Define.
33962         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33963         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33964         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33965         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33966         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33967         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33968         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33969         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33970         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33971         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33973 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33975         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33976         (_IO_JUMPS_OFFSET): Define to 0.
33978         * nptl/sysdeps/pthread/bits/libc-lock.h
33979         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33980         (__libc_lock_define_initialized_recursive): Always define using
33981         initializer.  Modern compilers treat uninitialized (implicit zero) and
33982         explicit zero initializers the same (i.e. put the datum in bss).
33984 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33986         * nscd/nscd-client.h: Include <string.h>.
33988 2014-05-01  David S. Miller  <davem@davemloft.net>
33990         [BZ #16885]
33991         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33992         multiple zero bytes exist at the end of a string.
33993         Reported by Aurelien Jarno <aurelien@aurel32.net>
33995         * string/test-strcmp.c (check): Add explicit test for situations where
33996         there are multiple zero bytes after the first.
33998 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34000         [BZ #16890]
34001         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34002         when compiling wprintf.
34003         * stdio-common/tstdiomisc.c (t3): New function.
34004         (main): Call it.
34006 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34008         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34009         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34010         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34011         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34013 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34015         * stdlib/longlong.h: Updated from GCC.
34017 2014-05-01  Will Newton  <will.newton@linaro.org>
34018             Bernard Ogden  <bernie.ogden@linaro.org>
34020         * NEWS: Update fixed bug list.
34022         [BZ #15119]
34023         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34025 2014-04-30  David S. Miller  <davem@davemloft.net>
34027         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34028         (libc_feholdexcept_setround_sparc_ctx): New function.
34029         (libc_fesetenv_sparc_ctx): Likewise.
34030         (libc_feupdateenv_sparc_ctx): Likewise.
34031         (libc_feholdsetround_sparc_ctx): Likewise.
34032         (libc_feholdexcept_setround_ctx): Define.
34033         (libc_feholdexcept_setroundf_ctx): Likewise.
34034         (libc_feholdexcept_setroundl_ctx): Likewise.
34035         (libc_fesetenv_ctx): Likewise.
34036         (libc_fesetenvf_ctx): Likewise.
34037         (libc_fesetenvl_ctx): Likewise.
34038         (libc_feupdateenv_ctx): Likewise.
34039         (libc_feupdateenvf_ctx): Likewise.
34040         (libc_feupdateenvl_ctx): Likewise.
34041         (libc_feresetround_ctx): Likewise.
34042         (libc_feresetroundf_ctx): Likewise.
34043         (libc_feresetroundl_ctx): Likewise.
34044         (libc_feholdsetround_ctx): Likewise.
34045         (libc_feholdsetroundf_ctx): Likewise.
34046         (libc_feholdsetroundl_ctx): Likewise.
34048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34049         with __USE_GNU instead of XOPEN cpp guards.
34051         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34052         0.
34054         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34055         with XOPEN cpp guards.
34057 2014-04-30  Julian Brown  <julian@codesourcery.com>
34059         [BZ #16888]
34060         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34061         handling.
34063 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34065         [BZ #9894]
34066         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34067         Change to 2.6.32.
34068         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34069         * sysdeps/unix/sysv/linux/configure: Regenerated.
34070         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34071         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34072         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34073         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34074         * README: Update reference to required Linux kernel version.
34075         * manual/install.texi (Linux): Update reference to required Linux
34076         kernel headers version.
34077         * INSTALL: Regenerated.
34079         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34080         header inclusion.
34081         [POSIX] (limits.h): Likewise.
34082         [POSIX] (math.h): Likewise.
34083         [POSIX] (sys/wait.h): Likewise.
34084         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34085         function.
34086         [POSIX] (stddef.h): Do not allow header inclusion.
34088 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34090         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34092 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34094         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34095         Return immediately after lll_futex_wake.
34097 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34099         [BZ #16791]
34100         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34101         structure.
34102         (datahead_init_pos): Call datahead_init_common early.
34103         (datahead_init_neg): Likewise.
34105         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34106         datahead_init_neg): New functions.
34107         * nscd/aicache.c (addhstaiX): Use them.
34108         * nscd/grpcache.c (cache_addgr): Likewise.
34109         * nscd/hstcache.c (cache_addhst): Likewise.
34110         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34111         * nscd/netgroupcache.c (do_notfound): Likewise.
34112         (addgetnetgrentX): Likewise.
34113         (addinnetgrX): Likewise.
34114         * nscd/pwdcache.c (cache_addpw): Likewise.
34115         * nscd/servicescache.c (cache_addserv): Likewise.
34117 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34118             Atsushi Onoe  <atsushi@onoe.org>
34120         [BZ #14308]
34121         [BZ #12994]
34122         [BZ #13651]
34123         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34124         one response is valid.
34125         * resolv/res_send.c (send_dg): Check for validity of other
34126         response if the current response is a referral.
34128 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34130         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34132 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34134         [BZ #16823]
34135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34136         Always divide by positive zero when computing -Inf result.
34137         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34138         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34140 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34142         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34143         FPSCR if value do not change.
34144         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34146         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34148         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34149         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34150         function.
34152 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34154         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34155         * sysdeps/unix/sysv/linux/hppa: Move directory from
34156         ports/systeps/unix/sysv/linux/hppa.
34157         * README: Update listing for hppa-*-linux-gnu.
34159 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34161         [BZ #16754]
34162         * manual/stdio.texi (Hook functions): Fix types of stream hook
34163         functions.
34164         [BZ #16854]
34165         * socket/sys/socket.h: Fix typo in comment.
34167 2014-04-28  Wilco  <wdijkstr@arm.com>
34169         * sysdeps/arm/fenv_private.h: New file.
34170         * sysdeps/arm/math_private.h: New file.
34171         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34173 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34175         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34176         with __int128_t.
34177         (La_x86_64_retval): Likewise.
34179 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34181         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34182         fpsr if value didn't change.
34183         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34184         to fpcr if value didn't change.
34185         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34186         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34187         fpsr or fpcr if value didn't change.
34188         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34189         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34190         fpcr if value didn't change.
34191         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34192         to fpsr if value didn't change.
34194 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34196         * nptl/tst-sem3.c: Use test-skeleton.c
34197         (main): Rename to do_test.  Use return instead of
34198         exit.
34199         * nptl/tst-sem4.c: Use test-skeleton.c
34200         (main): Rename to do_test.
34202 2014-04-22  David S. Miller  <davem@davemloft.net>
34204         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34205         (struct sigaction): New struct member __glibc_reserved0, change
34206         type of sa_flags to int.
34208 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34210         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34211         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34213 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34215         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34216         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34218 2014-04-22  Will Newton  <will.newton@linaro.org>
34219             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34221         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34222         (__longjmp): Add longjmp and longjmp_target SystemTap
34223         probes.
34224         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34225         (__sigsetjmp): Add setjmp SystemTap probe.
34227 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34229         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34230         match manual order.
34232 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34234         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34236         * sysdeps/powerpc/fpu/fenv_private.h
34237         (libc_feholdexcept_setroundl_ctx): Define to
34238         libc_feholdexcept_setround_ppc_ctx.
34239         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34240         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34241         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34242         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34244 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34246         * sysdeps/aarch64/math-tests.h: New file.
34248 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34250         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34251         New.
34252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34253         Check and set bit_AVX2_Usable.
34254         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34255         macro.
34256         (bit_AVX2): Likewise.
34257         (index_AVX2_Usable): Likewise.
34258         (CPUID_AVX2): Likewise.
34259         (HAS_AVX2): Likewise.
34261 2014-04-17  Will Newton  <will.newton@linaro.org>
34263         * manual/setjmp.texi (System V contexts): Add note that
34264         calling setcontext on a context created by a call to a
34265         signal handler is undefined.  Update text to note that
34266         setcontext from a signal handler is possible but not
34267         recommended.
34269         [BZ #16629]
34270         * stdlib/tst-setcontext.c: Include signal.h.
34271         (main): Check that the signal stack before and
34272         after swapcontext is the same.
34274         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34275         Re-implement to restore registers in user code and avoid
34276         rt_sigreturn system call.
34278 2014-04-17  Wilco  <wdijkstr@arm.com>
34280         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34281         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34282         * math/test-fenv.c: Skip exception trap tests on targets which only
34283         support non-stop mode.
34285 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34286             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34288         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34289         (libc_feholdsetround_aarch64_ctx)
34290         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34291         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34292         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34293         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34294         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34295         (libc_feresetround_noexl_ctx): Define.
34297 2014-04-16  Richard Henderson  <rth@redhat.com>
34299         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34301         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34302         unwind tables.
34304         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34305         const from the non-libc, non-ldso copy.
34307         * sysdeps/alpha/libm-test-ulps: Regenerate.
34309 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34310             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34312         * sysdeps/aarch64/fpu/math_private.h: New file.
34314 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34316         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34318 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34320         [BZ #16275]
34321         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34322         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34324         Intel MPX bound registers before _dl_profile_fixup.
34325         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34326         registers after _dl_profile_fixup.  Save and restore bound
34327         registers bnd0/bnd1 when calling _dl_call_pltexit.
34328         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34329         (LR_BND_OFFSET): Likewise.
34330         (LRV_BND0_OFFSET): Likewise.
34331         (LRV_BND1_OFFSET): Likewise.
34333 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34335         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34336         to...
34337         * sysdeps/mach/hurd/i386/tls.h: ... here.
34338         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34339         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34340         fields.
34342 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34344         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34346 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34348         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34350 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34352         [BZ #14770]
34353         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34354         * sysdeps/s390/configure: Regenerate.
34356         [BZ #16824]
34357         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34358         Set round-to-nearest internally to reduce error accumulation.
34360 2014-04-16  Alan Modra  <amodra@gmail.com>
34362         [BZ #16740]
34363         [BZ #16619]
34364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34365         * math/libm-test.inc (frexp_test_data): Add tests.
34366         * NEWS: Update fixed bug list.
34368 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34370         * benchtests/Makefile: Depend on libraries in build directory.
34371         (bench-math): Separate out math tests.
34372         (bench-pthread): Separate out pthread tests.
34373         (bench): Include math and pthread tests.
34375 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34377         [BZ #16831]
34378         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34379         _dl_debug_initialize.
34381         * configure.ac: Remove SELinux header check.
34382         * configure: Regenerate.
34383         * nscd/selinux.c (perms): Array of const char* to permission names.
34384         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34385         default policy. Call string_to_security_class and string_to_av_perm to
34386         translate strings. Enforce default policy and call avs_has_perm with
34387         results of translated strings.
34389 2014-04-13  David S. Miller  <davem@davemloft.net>
34391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34393 2014-04-12  Allan McRae  <allan@archlinux.org>
34395         [BZ #16838]
34396         * manual/string.texi (Collation Functions): Fix qsort argument
34397         order in example.
34398         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34400 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34402         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34403         Make the test a no-op if there are no exceptions defined.
34405 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34407         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34408         enable-hardcoded-path-in-tests
34410 2014-04-11  Will Newton  <will.newton@linaro.org>
34412         * benchtests/Makefile (extra-objs): Add json-lib.o.
34413         (bench-func): Tidy up JSON output.
34414         * benchtests/bench-skeleton.c: Include json-lib.h.
34415         (main): Use JSON library functions to do output of
34416         benchmark results.
34417         * benchtests/bench-timing-type.c (main): Output the
34418         timing type simply, leaving formatting to the user.
34419         * benchtests/json-lib.c: New file.
34420         * benchtests/json-lib.h: Likewise.
34422 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34424         [BZ #15215]
34425         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34426         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34427         memory barriers.  Add comments.
34428         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34429         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34430         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34431         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34432         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34433         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34435 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34437         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34438         * sysdeps/s390/s390-64/configure.ac: ... this ...
34439         * sysdeps/s390/configure.ac: ... to here.
34440         * sysdeps/s390/s390-32/configure: Delete file.
34441         * sysdeps/s390/s390-64/configure: Delete file.
34442         * sysdeps/s390/configure: Regenerate.
34444 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34446         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34448 2014-04-11  Will Newton  <will.newton@linaro.org>
34450         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34451         to zero if it is not defined elsewhere.  (mtrim): Test
34452         the value of MALLOC_DEBUG with #if rather than #ifdef.
34454 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34456         * benchtests/pthread_once-inputs: New file.
34457         * benchtests/pthread_once-source.c: New file.
34458         * benchtests/README: Update documentation.
34460 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34461             H.J. Lu  <hongjiu.lu@intel.com>
34463         [BZ #16275]
34464         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34465         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34466         * sysdeps/x86_64/configure: Regenerated.
34467         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34468         macro.
34469         (REGISTER_SAVE_RAX): Likewise.
34470         (REGISTER_SAVE_RCX): Likewise.
34471         (REGISTER_SAVE_RDX): Likewise.
34472         (REGISTER_SAVE_RSI): Likewise.
34473         (REGISTER_SAVE_RDI): Likewise.
34474         (REGISTER_SAVE_R8): Likewise.
34475         (REGISTER_SAVE_R9): Likewise.
34476         (REGISTER_SAVE_BND0): Likewise.
34477         (REGISTER_SAVE_BND1): Likewise.
34478         (REGISTER_SAVE_BND2): Likewise.
34479         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34480         bound registers when calling _dl_fixup.
34482 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34484         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34485         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34486         of its definition.
34487         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34488         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34489         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34490         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34491         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34492         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34493         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34495 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34497         [BZ #15514]
34498         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34499         pathconf(_PC_NAME_MAX).
34501 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34503         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34504         Remove macro usage.
34505         (__PTHREAD_SPINS): Move definition to ...
34506         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34507         (__PTHREAD_SPINS): ... here.
34508         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34509         (__PTHREAD_SPIN): Likewise.
34510         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34511         (__PTHREAD_SPIN): Likewise.
34512         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34513         (__PTHREAD_SPIN): Likewise.
34514         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34515         (__PTHREAD_SPIN): Likewise.
34516         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34517         (__PTHREAD_SPIN): Likewise.
34518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34519         (__PTHREAD_SPIN): Likewise.
34520         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34521         (__PTHREAD_SPIN): Likewise.
34522         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34523         (__PTHREAD_SPIN): Likewise.
34524         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34525         (__PTHREAD_SPIN): Likewise.
34526         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34527         (__PTHREAD_SPIN): Likewise.
34528         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34529         (__PTHREAD_SPIN): Likewise.
34530         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34531         (__PTHREAD_SPIN): Likewise.
34533         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34534         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34535         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34536         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34537         imply folder.
34538         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34539         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34540         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34541         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34542         correct imply path.
34543         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34544         strlen symbol for non multi-arch builds.
34545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34546         missing hidden_def and weak_alias.
34548 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34550         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34552 2014-04-07  Will Newton  <will.newton@linaro.org>
34554         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34555         and contents.  [!_LIBC] Remove #ifndef and contents.
34556         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34557         * string/memccpy.c (__memccpy): Use ANSI prototype.
34558         * string/memfrob.c (memfrob): Likewise.
34559         * string/strcoll.c (STRCOLL): Likewise.
34560         * string/strlen.c (strlen): Likewise.
34561         * string/strtok.c (STRTOK): Likewise.
34562         * string/strcat.c: Remove unused #include of memcopy.h.
34563         (strcat): Use ANSI prototype.
34564         * string/strchr.c: Remove unused #include of memcopy.h.
34565         (strchr): Use ANSI prototype.
34566         * string/strcmp.c: Remove unused #include of memcopy.h.
34567         (strcmp): Use ANSI prototype.
34568         * string/strcpy.c: Remove unused #include of memcopy.h.
34569         (strcpy): Use ANSI prototype.
34571 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34573         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34574         * config.make.in (config-extra-cppflags): Set it from
34575         libc_extra_cppflags.
34576         * configure.ac (libc_extra_cflags): Make it accumulate over
34577         configure fragments.
34578         (libc_extra_cppflags): New flag.
34579         * configure. Regenerate.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34581         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34582         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34585         [BZ #16815]
34586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34587         result for FE_DOWNWARD rounding mode.
34588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34589         Likewise.
34590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34592 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34594         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34595         in function argument name.
34597 2014-04-03  David Svoboda  <svoboda@cert.org>
34599         [BZ #5666]
34600         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34601         explicitly.
34603 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34605         * elf/dl-unmap-segments.h: New file.
34606         * sysdeps/generic/ldsodefs.h
34607         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34608         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34609         * elf/dl-fptr.c: Likewise.
34610         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34611         * sysdeps/aarch64/tlsdesc.c: Likewise.
34612         * sysdeps/arm/tlsdesc.c: Likewise.
34613         * sysdeps/i386/tlsdesc.c: Likewise.
34614         * sysdeps/tile/dl-runtime.c: Likewise.
34615         * sysdeps/x86_64/tlsdesc.c: Likewise.
34616         * elf/dl-load.h: New file.
34617         * elf/dl-load.c: Include it.
34618         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34619         Macros moved to dl-load.h.
34620         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34621         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34622         Use _dl_unmap_segments in place of __munmap.
34623         Break out segment-mapping loop into ...
34624         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34626 2014-04-03  Will Newton  <will.newton@linaro.org>
34628         * elf/dl-lookup.c (do_lookup_x): Remove comment
34629         referring to nested function and move variable
34630         declarations down to before first use.
34632 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34634         [BZ #16799]
34635         [BZ #16800]
34636         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34637         with 0 numerator.
34638         * math/s_catanf.c (__catanf): Likewise.
34639         * math/s_catanh.c (__catanh): Likewise.
34640         * math/s_catanhf.c (__catanhf): Likewise.
34641         * math/s_catanhl.c (__catanhl): Likewise.
34642         * math/s_catanl.c (__catanl): Likewise.
34643         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34644         by positive zero when computing -Inf result.
34645         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34646         (catanh_test): Likewise.
34647         * sysdeps/i386/fpu/libm-test-ulps: Update.
34648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34650         [BZ #16789]
34651         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34652         instead of using underflowing value in computing result.
34653         * math/s_clog10.c (__clog10): Likewise.
34654         * math/s_clog10f.c (__clog10f): Likewise.
34655         * math/s_clog10l.c (__clog10l): Likewise.
34656         * math/s_clogf.c (__clogf): Likewise.
34657         * math/s_clogl.c (__clogl): Likewise.
34658         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34659         (clog10_test): Likewise.
34660         * sysdeps/i386/fpu/libm-test-ulps: Update.
34661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34663 2014-04-02  Alan Modra  <amodra@gmail.com>
34665         [BZ #16739]
34666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34667         output when value is near a power of two.  Use int64_t for lx and
34668         remove casts.  Use decimal rather than hex exponent constants.
34669         Don't use long double multiplication when double will suffice.
34670         * math/libm-test.inc (nextafter_test_data): Add tests.
34671         * NEWS: Add 16739 and 16786 to bug list.
34673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34675         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34677 2014-04-01  Will Newton  <will.newton@linaro.org>
34679         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34680         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34682 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34684         [BZ #13347]
34685         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34686         * nptl/tst-setuid2.c: New file.
34687         * nptl/Makefile (xtests): Add tst-setuid2.
34689 2014-04-01  Alan Modra  <amodra@gmail.com>
34691         [BZ #16786]
34692         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34694 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34696         [BZ #6803]
34697         [BZ #6804]
34698         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34699         set errno as appropriate.
34700         * math/w_scalbf.c (__scalbf): Likewise.
34701         * math/w_scalbl.c (__scalbl): Likewise.
34702         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34703         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34704         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34705         Add more NaN tests.
34707         [BZ #16349]
34708         * math/w_atan2.c: Include <errno.h>.
34709         (__atan2): Set errno for result underflowing to zero.
34710         * math/w_atan2f.c: Include <errno.h>.
34711         (__atan2f): Set errno for result underflowing to zero.
34712         * math/w_atan2l.c: Include <errno.h>.
34713         (__atan2l): Set errno for result underflowing to zero.
34714         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34715         tests.
34716         * math/auto-libm-test-out: Regenerated.
34718 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34720         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34721         Encode instruction correctly in little endian.
34722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34723         Likewise.
34724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34725         Likewise.
34726         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34727         Likewise.
34728         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34729         Likewise.
34731 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34733         [BZ #9894]
34734         * sysdeps/unix/sysv/linux/kernel-features.h
34735         [__sparc__ && !__arch64__ && !__sparc_v9__]
34736         (__ASSUME_SET_ROBUST_LIST): Do not define.
34737         [__sparc__ && !__arch64__ && !__sparc_v9__]
34738         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34739         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34740         Likewise.
34741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34742         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34743         (__ASSUME_REQUEUE_PI): Likewise.
34744         (__ASSUME_SET_ROBUST_LIST): Likewise.
34745         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34746         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34747         Undefine.
34748         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34749         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34750         Likewise.
34751         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34752         Likewise.
34753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34754         Likewise.
34755         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34756         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34757         Undefine.
34758         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34759         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34760         Likewise.
34762         [BZ #16648]
34763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34765         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34767 2014-03-31  Will Newton  <will.newton@linaro.org>
34769         * benchtests/Makefile (bench): Add ffs and ffsll to list
34770         of tests.
34771         * benchtests/ffs-inputs: New file.
34772         * benchtests/ffsll-inputs: Likewise.
34774 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34776         [BZ #16770]
34777         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34778         too large before casting to int.
34779         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34780         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34781         * math/libm-test.inc (scalb_test_data): Add more tests.
34783 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34785         * benchtests/Makefile (DETAILED_OPT): New make option.
34786         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34787         set.
34788         * benchtests/bench-skeleton.c: Include stdbool.h.
34789         (main): Store and print timings per input.
34790         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34791         member to each argument value.
34792         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34793         (_print_arg_data): Initialize per-input timing to 0.
34795         * benchtests/Makefile (timing-type): New binary.
34796         (bench-clean): Also remove bench-timing-type.
34797         (bench): New target for timing-type.
34798         (bench-func): Print output in JSON format.
34799         * benchtests/bench-skeleton.c (main): Print output in JSON
34800         format.
34801         * benchtests/bench-timing-type.c: New file.
34802         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34803         (TIMING_PRINT_STATS): Remove.
34804         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34805         name separately.
34807         * benchtests/bench-modf.c: Remove.
34808         * benchtests/modf-inputs: New inputs file.
34810 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34812         [BZ #16362]
34813         * math/s_clog10.c (M_PI_LOG10E): New macro.
34814         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34815         imaginary parts are 0.
34816         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34817         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34818         imaginary parts are 0.
34819         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34820         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34821         imaginary parts are 0.
34822         * math/libm-test.inc (clog10_test_data): Update expected results
34823         for when real and imaginary parts are 0.
34825 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34827         * elf/dl-load.c: Finish conversion of __builtin_expect into
34828         __glibc_{un}likely.
34830 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34832         [BZ #16348]
34833         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34834         1+x for argument with exponent below -67.
34835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34836         Likewise.
34837         * math/auto-libm-test-in: Add more tests of exp.
34838         * math/auto-libm-test-out: Regenerated.
34840 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34842         [BZ #16759]
34843         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34844         (nscd_getnetgrent): Use it.
34846         [BZ #16760]
34847         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34848         of stpcpy.
34850 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34852         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34853         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34854         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34855         (lll_robust_unlock): Remove out of line section. Use cfi
34856         intrinsics.
34857         (LLL_STUB_UNWIND_INFO*): Remove.
34858         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34859         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34860         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34861         (lll_robust_unlock): Remove out of line section. Use cfi
34862         intrinsics.
34863         (LLL_STUB_UNWIND_INFO*): Remove.
34865 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34867         [BZ #16758]
34868         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34869         blank values.
34871 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34873         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34875 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34877         [BZ #16198]
34878         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34879         fnstenv.
34880         * math/test-fenv-preserve.c: New file.
34881         * math/Makefile (tests): Add test-fenv-preserve.
34883 2014-03-26  Will Newton <will.newton@linaro.org>
34885         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34887 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34889         * scripts/versionlist.awk: Partition the version sets and emit all
34890         GLIBC_* (sorted) before all others (sorted).
34892 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34894         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34895         GLIBC_2.2.5 version.
34897 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34899         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34900         calls.
34902         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34903         previous change.
34905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34907 2014-03-25  Andreas Schwab  <schwab@suse.de>
34909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34910         label to be used after in6ailist is initialized.
34912 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34914         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34915         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34917 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34919         [BZ #16357]
34920         [BZ #16599]
34921         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34922         min_plus_half.
34923         (fp_formats): Update initializers.
34924         (init_fp_formats): Initialize new field.
34925         (output_for_one_input_case): Allow underflow for results up to
34926         min_plus_half.
34927         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34928         * math/auto-libm-test-in: Don't mark some underflows from asin and
34929         atanh as spurious.
34930         * math/auto-libm-test-out: Regenerated.
34931         * sysdeps/i386/fpu/libm-test-ulps: Update.
34932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34934 2014-03-25  Andreas Schwab  <schwab@suse.de>
34936         * libio/Makefile (tst-ftell-partial-wide-ENV)
34937         (tst-ftell-active-handler-ENV): Define.
34939 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34941         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34943 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34945         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34947 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34949         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34950         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34951         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34953 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34955         [BZ #16634]
34956         * elf/dl-load.c (open_verify): Add mode parameter.
34957         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34958         (open_path): Change from boolean 'secure' to complete flag 'mode'
34959         (_dl_map_object): Adjust.
34960         * elf/Makefile (tests): Add tst-dlopen-aout.
34961         * elf/tst-dlopen-aout.c: New test.
34963 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34965         [BZ #16714]
34966         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34967         (struct stat): Rename member pad0 to __glibc_reserved0.
34969         [BZ #16712]
34970         * sysdeps/s390/s390-32/bits/wordsize.h
34971         (__WORDSIZE32_SIZE_ULONG): New define.
34972         * sysdeps/s390/s390-64/bits/wordsize.h
34973         (__WORDSIZE32_SIZE_ULONG): Likewise.
34974         * sysdeps/generic/stdint.h (SIZE_MAX):
34975         Define as UL if __WORDSIZE32_SIZE_ULONG.
34977         [BZ #16713]
34978         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34979         (__glibc_reserved0): New variable.
34980         (sa_flags): Change type to int.
34982         * posix/Makefile (before-compile): Use += before-compile instead
34983         of a :=.
34985         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34986         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34988 2014-03-20  Andreas Schwab  <schwab@suse.de>
34990         [BZ #16743]
34991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34992         non-matching result from nscd.
34994 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34996         * scripts/bench.py: Moved to ...
34997         * benchtests/scripts/bench.py: ... here.
34998         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35000 2014-03-24  Andreas Schwab  <schwab@suse.de>
35002         [BZ #16002]
35003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35004         alloca_account and account alloca use for struct in6ailist.
35006 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35008         [BZ #16284]
35009         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35010         rounding mode to recompute results that overflow to infinity or
35011         underflow to zero.
35012         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35013         bug 16284.
35014         * math/auto-libm-test-out: Regenerated.
35015         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35016         (ccosh_test): Likewise.
35017         (csin_test_data): Use plus_oflow.
35018         (csin_test): Use ALL_RM_TEST.
35019         (csinh_test_data): Use plus_oflow.
35020         (csinh_test): Use ALL_RM_TEST.
35021         * sysdeps/i386/fpu/libm-test-ulps: Update.
35022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35024 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35026         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35027         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35028         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35030         [BZ #16731]
35031         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35032         when x - 1 is zero.
35033         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35034         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35035         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35036         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35037         argument is 1.
35038         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35039         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35040         zero.
35041         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35042         * sysdeps/i386/fpu/libm-test-ulps: Update.
35043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35045 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35047         * scripts/bench.pl: Remove file.
35048         * scripts/bench.py: New benchmark script.
35049         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35050         * benchtests/README: Mention python dependency.
35051         * scripts/pylintrc: New file.
35052         * scripts/pylint: New file.
35054         * bits/mathdef.h: Use #ifdef instead of #if.
35055         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35056         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35057         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35058         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35059         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35060         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35062 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35063             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35065         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35067         and strpbrk-ppc64 objects.
35068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35069         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35070         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35071         multiarch strpbrk for POWER7.
35072         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35073         multiarch strpbrk for PPC64.
35074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35075         ifunc selector.
35076         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35077         strpbrk for POWER7.
35079 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35081         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35082         (atan_test): Likewise.
35083         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35084         (atanh_test): Use ALL_RM_TEST.
35085         (atan2_test_data): Likewise.
35086         (cabs_test): Likewise.
35087         (cacosh_test): Likewise.
35088         (carg_test): Likewise.
35089         (casin_test): Likewise.
35090         (casinh_test): Likewise.
35091         (cbrt_test): Likewise.
35092         (csqrt_test): Likewise.
35093         (erf_test): Likewise.
35094         (erfc_test): Likewise.
35095         (pow10_test): Likewise.
35096         (exp2_test): Likewise.
35097         (hypot_test): Likewise.
35098         (j0_test): Likewise.
35099         (j1_test): Likewise.
35100         (lgamma_test): Likewise.
35101         (gamma_test): Likewise.
35102         (sincos_test): Likewise.
35103         (tanh_test): Likewise.
35104         (y0_test): Likewise.
35105         (y1_test): Likewise.
35106         * sysdeps/i386/fpu/libm-test-ulps: Update.
35107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35109 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35111         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35113         and strcspn-ppc64 objects.
35114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35115         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35116         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35117         multiarch strcspn for POWER7.
35118         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35119         multiarch strcspn for PPC64.
35120         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35121         ifunc selector.
35122         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35123         strcspn for POWER7.
35125 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35127         * math/gen-libm-test.pl (generate_testfile): Expect only function
35128         name as argument to AUTO_TESTS_* and pass results for all rounding
35129         modes to parse_args.
35130         (parse_auto_input): Separate inputs of automatic tests from
35131         outputs before storing in %auto_tests.
35132         * math/libm-test.inc (acos_test_data): Update call to
35133         AUTO_TESTS_f_f.
35134         (acos_test): Use ALL_RM_TEST.
35135         (acos_tonearest_test_data): Remove.
35136         (acos_test_tonearest): Likewise.
35137         (acos_towardzero_test_data): Likewise.
35138         (acos_test_towardzero): Likewise.
35139         (acos_downward_test_data): Likewise.
35140         (acos_test_downward): Likewise.
35141         (acos_upward_test_data): Likewise.
35142         (acos_test_upward): Likewise.
35143         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35144         (asin_test_data): Likewise.
35145         (asin_test): Use ALL_RM_TEST.
35146         (asin_tonearest_test_data): Remove.
35147         (asin_test_tonearest): Likewise.
35148         (asin_towardzero_test_data): Likewise.
35149         (asin_test_towardzero): Likewise.
35150         (asin_downward_test_data): Likewise.
35151         (asin_test_downward): Likewise.
35152         (asin_upward_test_data): Likewise.
35153         (asin_test_upward): Likewise.
35154         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35155         (atan_test_data): Likewise.
35156         (atanh_test_data): Likewise.
35157         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35158         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35159         (carg_test_data): Likewise.
35160         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35161         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35162         (ccosh_test_data): Likewise.
35163         (cexp_test_data): Likewise.
35164         (clog_test_data): Likewise.
35165         (clog10_test_data): Likewise.
35166         (cos_test_data): Update call to AUTO_TESTS_f_f.
35167         (cos_test): Use ALL_RM_TEST.
35168         (cos_tonearest_test_data): Remove.
35169         (cos_test_tonearest): Likewise.
35170         (cos_towardzero_test_data): Likewise.
35171         (cos_test_towardzero): Likewise.
35172         (cos_downward_test_data): Likewise.
35173         (cos_test_downward): Likewise.
35174         (cos_upward_test_data): Likewise.
35175         (cos_test_upward): Likewise.
35176         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35177         (cosh_test): Use ALL_RM_TEST.
35178         (cosh_tonearest_test_data): Remove.
35179         (cosh_test_tonearest): Likewise.
35180         (cosh_towardzero_test_data): Likewise.
35181         (cosh_test_towardzero): Likewise.
35182         (cosh_downward_test_data): Likewise.
35183         (cosh_test_downward): Likewise.
35184         (cosh_upward_test_data): Likewise.
35185         (cosh_test_upward): Likewise.
35186         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35187         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35188         (ctan_test_data): Likewise.
35189         (ctan_test): Use ALL_RM_TEST.
35190         (ctan_tonearest_test_data): Remove.
35191         (ctan_test_tonearest): Likewise.
35192         (ctan_towardzero_test_data): Likewise.
35193         (ctan_test_towardzero): Likewise.
35194         (ctan_downward_test_data): Likewise.
35195         (ctan_test_downward): Likewise.
35196         (ctan_upward_test_data): Likewise.
35197         (ctan_test_upward): Likewise.
35198         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35199         (ctanh_test): Use ALL_RM_TEST.
35200         (ctanh_tonearest_test_data): Remove.
35201         (ctanh_test_tonearest): Likewise.
35202         (ctanh_towardzero_test_data): Likewise.
35203         (ctanh_test_towardzero): Likewise.
35204         (ctanh_downward_test_data): Likewise.
35205         (ctanh_test_downward): Likewise.
35206         (ctanh_upward_test_data): Likewise.
35207         (ctanh_test_upward): Likewise.
35208         (erf_test_data): Update call to AUTO_TESTS_f_f.
35209         (erfc_test_data): Likewise.
35210         (exp_test_data): Likewise.
35211         (exp_test): Use ALL_RM_TEST.
35212         (exp_tonearest_test_data): Remove.
35213         (exp_test_tonearest): Likewise.
35214         (exp_towardzero_test_data): Likewise.
35215         (exp_test_towardzero): Likewise.
35216         (exp_downward_test_data): Likewise.
35217         (exp_test_downward): Likewise.
35218         (exp_upward_test_data): Likewise.
35219         (exp_test_upward): Likewise.
35220         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35221         (exp10_test): Use ALL_RM_TEST.
35222         (exp10_tonearest_test_data): Remove.
35223         (exp10_test_tonearest): Likewise.
35224         (exp10_towardzero_test_data): Likewise.
35225         (exp10_test_towardzero): Likewise.
35226         (exp10_downward_test_data): Likewise.
35227         (exp10_test_downward): Likewise.
35228         (exp10_upward_test_data): Likewise.
35229         (exp10_test_upward): Likewise.
35230         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35231         (expm1_test_data): Likewise.
35232         (expm1_test): Use ALL_RM_TEST.
35233         (expm1_tonearest_test_data): Remove.
35234         (expm1_test_tonearest): Likewise.
35235         (expm1_towardzero_test_data): Likewise.
35236         (expm1_test_towardzero): Likewise.
35237         (expm1_downward_test_data): Likewise.
35238         (expm1_test_downward): Likewise.
35239         (expm1_upward_test_data): Likewise.
35240         (expm1_test_upward): Likewise.
35241         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35242         (fma_test): Use ALL_RM_TEST.
35243         (fma_towardzero_test_data): Remove.
35244         (fma_test_towardzero): Likewise.
35245         (fma_downward_test_data): Likewise.
35246         (fma_test_downward): Likewise.
35247         (fma_upward_test_data): Likewise.
35248         (fma_test_upward): Likewise.
35249         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35250         (j0_test_data): Update call to AUTO_TESTS_f_f.
35251         (j1_test_data): Likewise.
35252         (jn_test_data): Update call to AUTO_TESTS_if_f.
35253         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35254         (log_test_data): Update call to AUTO_TESTS_f_f.
35255         (log10_test_data): Likewise.
35256         (log1p_test_data): Likewise.
35257         (log2_test_data): Likewise.
35258         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35259         (pow_tonearest_test_data): Likewise.
35260         (sin_test_data): Update call to AUTO_TESTS_f_f.
35261         (sin_test): Use ALL_RM_TEST.
35262         (sin_tonearest_test_data): Remove.
35263         (sin_test_tonearest): Likewise.
35264         (sin_towardzero_test_data): Likewise.
35265         (sin_test_towardzero): Likewise.
35266         (sin_downward_test_data): Likewise.
35267         (sin_test_downward): Likewise.
35268         (sin_upward_test_data): Likewise.
35269         (sin_test_upward): Likewise.
35270         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35271         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35272         (sinh_test): Use ALL_RM_TEST.
35273         (sinh_tonearest_test_data): Remove.
35274         (sinh_test_tonearest): Likewise.
35275         (sinh_towardzero_test_data): Likewise.
35276         (sinh_test_towardzero): Likewise.
35277         (sinh_downward_test_data): Likewise.
35278         (sinh_test_downward): Likewise.
35279         (sinh_upward_test_data): Likewise.
35280         (sinh_test_upward): Likewise.
35281         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35282         (sqrt_test): Use ALL_RM_TEST.
35283         (sqrt_tonearest_test_data): Remove.
35284         (sqrt_test_tonearest): Likewise.
35285         (sqrt_towardzero_test_data): Likewise.
35286         (sqrt_test_towardzero): Likewise.
35287         (sqrt_downward_test_data): Likewise.
35288         (sqrt_test_downward): Likewise.
35289         (sqrt_upward_test_data): Likewise.
35290         (sqrt_test_upward): Likewise.
35291         (tan_test_data): Update call to AUTO_TESTS_f_f.
35292         (tan_test): Use ALL_RM_TEST.
35293         (tan_tonearest_test_data): Remove.
35294         (tan_test_tonearest): Likewise.
35295         (tan_towardzero_test_data): Likewise.
35296         (tan_test_towardzero): Likewise.
35297         (tan_downward_test_data): Likewise.
35298         (tan_test_downward): Likewise.
35299         (tan_upward_test_data): Likewise.
35300         (tan_test_upward): Likewise.
35301         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35302         (tgamma_test_data): Likewise.
35303         (y0_test_data): Likewise.
35304         (y1_test_data): Likewise.
35305         (yn_test_data): Update call to AUTO_TESTS_if_f.
35306         (main): Do not call removed functions.
35308 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35310         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35311         (ldexp_test_data): Remove.
35312         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35313         scalbn_test_data.
35314         (scalb_test): Use ALL_RM_TEST.
35316 2014-03-19  Andreas Schwab  <schwab@suse.de>
35318         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35320 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35322         [BZ #16649]
35323         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35324         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35325         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35327         (__ASSUME_PREADV): Undefine.
35328         (__ASSUME_PWRITEV): Likewise.
35330 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35332         * bits/mman-linux.h: Add comment about non-Linux use.
35333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35334         bits/mman-linux.h resting place.
35336         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35337         * bits/mman-linux.h: ... here.
35339 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35341         * conform/conformtest.pl: Add standard definition when calling C
35342         preprocessor on data files.
35343         (checknamespace): Remove unused variable.
35345 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35347         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35348         minus_oflow, plus_uflow and minus_uflow in expected results.
35349         * math/libm-test.inc (scalbn_test_data): Add more tests of
35350         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35351         minus_uflow.
35352         (scalbn_test): Use ALL_RM_TEST.
35353         (scalbln_test_data): Add more tests of negative arguments.  Use
35354         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35355         (scalbln_test): Use ALL_RM_TEST.
35357 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35359         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35361 2014-03-18  Will Newton  <will.newton@linaro.org>
35363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35364         inaccurate comment.
35366 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35368         * Makerules [!subdir] (check-abi): Exit with error status if a
35369         test failed.
35371 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35373         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35374         for rint.  Include results for all rounding modes.
35375         (nearbyint_test): Use ALL_RM_TEST.
35376         (rint_test_data): Include all tests used for nearbyint.
35378 2014-03-17  Will Newton  <will.newton@linaro.org>
35380         * nptl/sysdeps/pthread/pthread.h: Revert previous
35381         change.
35383         * sysdeps/generic/ldsodefs.h: Revert previous
35384         change.
35386         * libio/genops.c: Revert previous change.
35387         * libio/libioP.h: Likewise.
35388         * stdio-common/vfprintf.c: Likewise.
35390         * sysdeps/generic/math_private.h: Revert previous
35391         change.
35393         * sysdeps/generic/math_private.h: Check whether
35394         HAVE_RM_CTX is defined with #ifdef rather
35395         than #if.
35397         * argp/argp-fmtstream.h: Check whether
35398         __STRICT_ANSI__ is defined with #ifdef rather
35399         than #if.
35400         * argp/argp.h: Likewise.
35402         * libio/genops.c: Check whether
35403         _IO_JUMPS_OFFSET is defined with #ifdef rather
35404         than #if.
35405         * libio/libioP.h: Likewise.
35406         * stdio-common/vfprintf.c: Likewise.
35408         * sysdeps/generic/ldsodefs.h: Check whether
35409         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35410         than #if.
35412         * nptl/sysdeps/pthread/pthread.h: Check
35413         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35414         its value.
35416 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35418         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35419         setting O_APPEND.
35420         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35421         test case.
35423         [BZ #16680]
35424         * libio/fileops.c (_IO_file_open): Seek to end of file but
35425         don't cache the offset.
35426         (get_file_offset): Remove function.
35427         (do_ftell): Use cached offset when available.
35428         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35429         don't cache the offset.
35430         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35431         case.
35432         (do_one_test): Call it.
35433         (do_ftell_test): Fix up expected old offset for a+ mode.
35434         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35435         available.
35437         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35438         up test status with function return status.
35439         (do_write_test): Likewise.
35440         (do_append_test): Likewise.
35442         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35443         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35444         Remove.
35446 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35448         * math/gen-libm-test.pl (parse_args): Handle results specified for
35449         each rounding mode separately.
35450         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35451         tests and results from lrint_tonearest_test_data,
35452         lrint_towardzero_test_data, lrint_downward_test_data and
35453         lrint_upward_test_data.
35454         (lrint_test): Use ALL_RM_TEST.
35455         (lrint_tonearest_test_data): Remove.
35456         (lrint_test_tonearest): Likewise.
35457         (lrint_towardzero_test_data): Likewise.
35458         (lrint_test_towardzero): Likewise.
35459         (lrint_downward_test_data): Likewise.
35460         (lrint_test_downward): Likewise.
35461         (lrint_upward_test_data): Likewise.
35462         (lrint_test_upward): Likewise.
35463         (llrint_test_data): Merge in per-rounding-mode tests and results
35464         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35465         llrint_downward_test_data and llrint_upward_test_data.
35466         (llrint_test): Use ALL_RM_TEST.
35467         (llrint_tonearest_test_data): Remove.
35468         (llrint_test_tonearest): Likewise.
35469         (llrint_towardzero_test_data): Likewise.
35470         (llrint_test_towardzero): Likewise.
35471         (llrint_downward_test_data): Likewise.
35472         (llrint_test_downward): Likewise.
35473         (llrint_upward_test_data): Likewise.
35474         (llrint_test_upward): Likewise.
35475         (rint_test_data): Merge in per-rounding-mode tests and results
35476         from rint_tonearest_test_data, rint_towardzero_test_data,
35477         rint_downward_test_data and rint_upward_test_data.  Add
35478         per-rounding-mode results for tests not in those arrays.
35479         (rint_test): Use ALL_RM_TEST.
35480         (rint_tonearest_test_data): Remove.
35481         (rint_test_tonearest): Likewise.
35482         (rint_towardzero_test_data): Likewise.
35483         (rint_test_towardzero): Likewise.
35484         (rint_downward_test_data): Likewise.
35485         (rint_test_downward): Likewise.
35486         (rint_upward_test_data): Likewise.
35487         (rint_test_upward): Likewise.
35488         (main): Don't call removed functions.
35490 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35492         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35493         "Compiled on ..." crapola.  It is anti-useful.
35495 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35497         * scripts/evaluate-test.sh: Handle fourth argument to determine
35498         whether test run should stop on failure.
35499         * Makeconfig (stop-on-test-failure): New variable.
35500         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35501         $(stop-on-test-failure).
35502         * Makefile (tests): Give a summary of results from testing and
35503         exit with failure status if they include an ERROR or FAIL.
35504         (xtests): Likewise.
35505         * manual/install.texi (Configuring and compiling): Mention
35506         stop-on-test-failure=y.
35507         * INSTALL: Regenerated.
35509 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35511         * scripts/versionlist.awk: New file.
35512         * Makerules [$(build-shared) = yes]
35513         (postclean-generated): Add Versions.def, not Versions.def.v and
35514         Versions.def.v.i.
35515         ($(common-objpfx)Versions.def.v.i): Target removed.
35516         ($(common-objpfx)Versions.def): New target.
35517         ($(common-objpfx)Versions.all): Depend on that rather that
35518         $(common-objpfx)Versions.def.v.
35519         * Versions.def: File removed.
35521         * Makeconfig (+gccwarn): Add -Wundef.
35522         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35523         a dl-sysdep.h breaking its contract.
35524         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35525         * include/stackinfo.h: New file.
35526         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35527         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35528         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35529         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35530         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35531         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35532         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35533         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35534         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35535         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35536         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35537         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35538         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35539         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35540         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35542 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35544         [BZ #16707]
35545         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35546         implementation.
35547         * math/libm-test.inc (round_test_data): Add more tests.
35549         [BZ #16706]
35550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35551         implementation.
35552         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35554         [BZ #16701]
35555         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35556         implementation.
35557         * math/libm-test.inc (ceil_test_data): Add more tests.
35559         * math/libm-test.inc (trunc_test_data): Add more tests related to
35560         BZ#16414.
35562 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35564         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35565         with #if rather than #ifdef.
35566         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35568 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35570         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35571         first.  Disable AVX-512 GCC support if assembler doesn't support
35572         it.
35573         * sysdeps/x86_64/configure: Regenerated.
35575 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35577         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35578         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35579         (__old_pthread_attr_setstack): Likewise.
35580         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35581         [!_STACK_GROWS_DOWN]: Likewise.
35583 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35585         * config.make.in (have-bash2): Delete.
35586         * configure.ac (libc_cv_have_bash2): Delete.
35587         * configure: Regenerate.
35588         * elf/Makefile (common-ldd-rewrite): Rename to ...
35589         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35590         (sh-ldd-rewrite): Delete.
35591         (bash-ldd-rewrite): Delete.
35592         (have-bash2): Delete checks.
35593         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35594         ldd-rewrite.
35596         * config.make.in (have-ksh): Delete.
35597         (KSH): Delete.
35598         * configure.ac (libc_cv_have_ksh): Delete.
35599         * configure: Regenerate.
35601         * elf/Makefile: Delete $(have-ksh) check.
35602         ($(objpfx)sotruss): Change KSH to BASH.
35603         * elf/sotruss.ksh: Rename to ...
35604         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35605         function style to match POSIX.  Drop ksh vim mode setting.
35607         * manual/time.texi (Specifying the Time Zone with TZ): Change
35608         Tuesday to Thursday.
35610         * debug/tst-longjmp_chk2.c: Update header comment.
35611         (stackoverflow_handler): Add comment.  Call assert on pass value.
35613 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35615         [BZ #16194]
35616         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35617         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35618         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35619         (La_x86_64_vector): Add zmm.
35620         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35621         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35622         ($(objpfx)tst-audit10): New target.
35623         ($(objpfx)tst-audit10.out): Likewise.
35624         (tst-audit10-ENV): New.
35625         (AVX512-CFLAGS): Likewise.
35626         (CFLAGS-tst-audit10.c): Likewise.
35627         (CFLAGS-tst-auditmod10a.c): Likewise.
35628         (CFLAGS-tst-auditmod10b.c): Likewise.
35629         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35630         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35631         * sysdeps/x86_64/configure: Regenerated.
35632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35633         AVX-512 zmm register support.
35634         (_dl_x86_64_save_sse): Likewise.
35635         (_dl_x86_64_restore_sse): Likewise.
35636         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35637         size vector registers.
35638         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35639         (ZMM_SIZE): Likewise.
35640         * sysdeps/x86_64/tst-audit10.c: New file.
35641         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35642         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35644 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35646         * configure.ac (HAVE_EHDR_START): New check.
35647         * configure: Regenerated.
35648         * config.h.in (HAVE_EHDR_START): New #undef.
35649         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35650         assuming the lowest-addressed segment maps the start of the file.
35652 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35654         * INSTALL: Regenerated.
35656 2014-03-13  Will Newton  <will.newton@linaro.org>
35658         * manual/setjmp.texi (System V contexts): Improve
35659         clarity and grammar of documentation.
35661 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35663         [BZ #16381]
35664         * elf/Makefile (tests): Add tst-pie2.
35665         (tests-pie): Add tst-pie2.
35666         * elf/tst-pie2.c: New file.
35667         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35668         for ET_EXEC.
35669         * elf/rtld.c (map_doit): Load executable as lt_executable.
35670         (dl_main): Likewise.
35672 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35674         [BZ #16642]
35675         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35676         (__ASSUME_PSELECT): Undefine.
35678 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35680         [BZ #16689]
35681         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35682         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35683         static build.
35684         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35685         selector for static builds.
35687 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35689         [BZ #16695]
35690         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35691         key in the buffer.
35693 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35695         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35696         IFUNC selector for static builds.
35698 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35700         * sysdeps/mips/math_private.h [__mips_hard_float]
35701         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35702         libc_feresetround_mips_ctx.
35703         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35704         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35705         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35707         [BZ #16677]
35708         * math/s_nextafter.c (__nextafter): Do not return value from
35709         overflowing computation.
35710         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35711         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35712         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35713         Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35715         Likewise.
35716         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35717         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35719 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35721         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35722         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35723         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35724         the new mov targetting sp.
35726 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35728         [BZ #16683]
35729         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35730         Define it for static builds as well.
35731         (NO_BZERO_IMPL): Likewise.
35733 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35735         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35736         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35737         multiarch strspn for PPC64.
35738         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35739         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35741         (__libc_ifunc_impl_list): Likewise.
35742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35743         multiarch optimizations
35744         * string/strspn.c (strspn): Using macro to redefine symbol name.
35746 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35747             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35749         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35750         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35751         multiarch strncat for PPC64.
35752         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35753         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35755         (__libc_ifunc_impl_list): Likewise.
35756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35757         multiarch optimizations
35759 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35761         [BZ #16639]
35762         * nscd/nscd.service: Make service type forking.
35764 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35766         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35767         sign in non default rounding modes.
35768         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35770 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35772         * math/libm-test.inc (ALL_RM_TEST): New macro.
35773         (ceil_test): Use ALL_RM_TEST.
35774         (cimag_test): Likewise.
35775         (conj_test): Likewise.
35776         (copysign_test): Likewise.
35777         (cproj_test): Likewise.
35778         (creal_test): Likewise.
35779         (fabs_test): Likewise.
35780         (floor_test): Likewise.
35781         (fmax_test): Likewise.
35782         (fmin_test): Likewise.
35783         (fmod_test): Likewise.
35784         (fpclassify_test): Likewise.
35785         (frexp_test): Likewise.
35786         (ilogb_test): Likewise.
35787         (isfinite_test): Likewise.
35788         (finite_test): Likewise.
35789         (isgreater_test): Likewise.
35790         (isgreaterequal_test): Likewise.
35791         (isinf_test): Likewise.
35792         (isless_test): Likewise.
35793         (islessequal_test): Likewise.
35794         (islessgreater_test): Likewise.
35795         (isnan_test): Likewise.
35796         (isnormal_test): Likewise.
35797         (issignaling_test): Likewise.
35798         (isunordered_test): Likewise.
35799         (logb_test): Likewise.
35800         (logb_downward_test_data): Remove.
35801         (logb_test_downward): Likewise.
35802         (lround_test): Use ALL_RM_TEST.
35803         (llround_test): Likewise.
35804         (modf_test): Likewise.
35805         (nexttoward_test): Likewise.
35806         (remainder_test): Likewise.
35807         (drem_test): Likewise.
35808         (remainder_tonearest_test_data): Likewise.
35809         (remainder_test_tonearest): Likewise.
35810         (drem_test_tonearest): Likewise.
35811         (remainder_towardzero_test_data): Likewise.
35812         (remainder_test_towardzero): Likewise.
35813         (drem_test_towardzero): Likewise.
35814         (remainder_downward_test_data): Likewise.
35815         (remainder_test_downward): Likewise.
35816         (drem_test_downward): Likewise.
35817         (remainder_upward_test_data): Likewise.
35818         (remainder_test_upward): Likewise.
35819         (drem_test_upward): Likewise.
35820         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35821         (round_test): Use ALL_RM_TEST.
35822         (signbit_test): Likewise.
35823         (trunc_test): Likewise.
35824         (significand_test): Likewise.
35825         (main): Don't call removed functions.
35827 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35829         [BZ #16674]
35830         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35831         || __USE_XOPEN2K8].
35832         (ILL_ILLOPN): Likewise.
35833         (ILL_ILLADR): Likewise.
35834         (ILL_ILLTRP): Likewise.
35835         (ILL_PRVOPC): Likewise.
35836         (ILL_PRVREG): Likewise.
35837         (ILL_COPROC): Likewise.
35838         (ILL_BADSTK): Likewise.
35839         (FPE_INTDIV): Likewise.
35840         (FPE_INTOVF): Likewise.
35841         (FPE_FLTDIV): Likewise.
35842         (FPE_FLTOVF): Likewise.
35843         (FPE_FLTUND): Likewise.
35844         (FPE_FLTRES): Likewise.
35845         (FPE_FLTINV): Likewise.
35846         (FPE_FLTSUB): Likewise.
35847         (SEGV_MAPERR): Likewise.
35848         (SEGV_ACCERR): Likewise.
35849         (BUS_ADRALN): Likewise.
35850         (BUS_ADRERR): Likewise.
35851         (BUS_OBJERR): Likewise.
35852         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35853         (TRAP_TRACE): Likewise.
35854         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35855         __USE_XOPEN2K8].
35856         (CLD_KILLED): Likewise.
35857         (CLD_DUMPED): Likewise.
35858         (CLD_TRAPPED): Likewise.
35859         (CLD_STOPPED): Likewise.
35860         (CLD_CONTINUED): Likewise.
35861         (POLL_IN): Likewise.
35862         (POLL_OUT): Likewise.
35863         (POLL_MSG): Likewise.
35864         (POLL_ERR): Likewise.
35865         (POLL_PRI): Likewise.
35866         (POLL_HUP): Likewise.
35867         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35868         Likewise.
35869         (ILL_ILLOPN): Likewise.
35870         (ILL_ILLADR): Likewise.
35871         (ILL_ILLTRP): Likewise.
35872         (ILL_PRVOPC): Likewise.
35873         (ILL_PRVREG): Likewise.
35874         (ILL_COPROC): Likewise.
35875         (ILL_BADSTK): Likewise.
35876         (FPE_INTDIV): Likewise.
35877         (FPE_INTOVF): Likewise.
35878         (FPE_FLTDIV): Likewise.
35879         (FPE_FLTOVF): Likewise.
35880         (FPE_FLTUND): Likewise.
35881         (FPE_FLTRES): Likewise.
35882         (FPE_FLTINV): Likewise.
35883         (FPE_FLTSUB): Likewise.
35884         (SEGV_MAPERR): Likewise.
35885         (SEGV_ACCERR): Likewise.
35886         (BUS_ADRALN): Likewise.
35887         (BUS_ADRERR): Likewise.
35888         (BUS_OBJERR): Likewise.
35889         (BUS_MCEERR_AR): Likewise.
35890         (BUS_MCEERR_AO): Likewise.
35891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35892         (TRAP_TRACE): Likewise.
35893         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35894         __USE_XOPEN2K8].
35895         (CLD_KILLED): Likewise.
35896         (CLD_DUMPED): Likewise.
35897         (CLD_TRAPPED): Likewise.
35898         (CLD_STOPPED): Likewise.
35899         (CLD_CONTINUED): Likewise.
35900         (POLL_IN): Likewise.
35901         (POLL_OUT): Likewise.
35902         (POLL_MSG): Likewise.
35903         (POLL_ERR): Likewise.
35904         (POLL_PRI): Likewise.
35905         (POLL_HUP): Likewise.
35906         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35907         (ILL_ILLOPN): Likewise.
35908         (ILL_ILLADR): Likewise.
35909         (ILL_ILLTRP): Likewise.
35910         (ILL_PRVOPC): Likewise.
35911         (ILL_PRVREG): Likewise.
35912         (ILL_COPROC): Likewise.
35913         (ILL_BADSTK): Likewise.
35914         (FPE_INTDIV): Likewise.
35915         (FPE_INTOVF): Likewise.
35916         (FPE_FLTDIV): Likewise.
35917         (FPE_FLTOVF): Likewise.
35918         (FPE_FLTUND): Likewise.
35919         (FPE_FLTRES): Likewise.
35920         (FPE_FLTINV): Likewise.
35921         (FPE_FLTSUB): Likewise.
35922         (SEGV_MAPERR): Likewise.
35923         (SEGV_ACCERR): Likewise.
35924         (BUS_ADRALN): Likewise.
35925         (BUS_ADRERR): Likewise.
35926         (BUS_OBJERR): Likewise.
35927         (BUS_MCEERR_AR): Likewise.
35928         (BUS_MCEERR_AO): Likewise.
35929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35930         (TRAP_TRACE): Likewise.
35931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35932         __USE_XOPEN2K8].
35933         (CLD_KILLED): Likewise.
35934         (CLD_DUMPED): Likewise.
35935         (CLD_TRAPPED): Likewise.
35936         (CLD_STOPPED): Likewise.
35937         (CLD_CONTINUED): Likewise.
35938         (POLL_IN): Likewise.
35939         (POLL_OUT): Likewise.
35940         (POLL_MSG): Likewise.
35941         (POLL_ERR): Likewise.
35942         (POLL_PRI): Likewise.
35943         (POLL_HUP): Likewise.
35944         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35945         Likewise.
35946         (ILL_ILLOPN): Likewise.
35947         (ILL_ILLADR): Likewise.
35948         (ILL_ILLTRP): Likewise.
35949         (ILL_PRVOPC): Likewise.
35950         (ILL_PRVREG): Likewise.
35951         (ILL_COPROC): Likewise.
35952         (ILL_BADSTK): Likewise.
35953         (ILL_BADIADDR): Likewise.
35954         (ILL_BREAK): Likewise.
35955         (FPE_INTDIV): Likewise.
35956         (FPE_INTOVF): Likewise.
35957         (FPE_FLTDIV): Likewise.
35958         (FPE_FLTOVF): Likewise.
35959         (FPE_FLTUND): Likewise.
35960         (FPE_FLTRES): Likewise.
35961         (FPE_FLTINV): Likewise.
35962         (FPE_FLTSUB): Likewise.
35963         (FPE_DECOVF): Likewise.
35964         (FPE_DECDIV): Likewise.
35965         (FPE_DECERR): Likewise.
35966         (FPE_INVASC): Likewise.
35967         (FPE_INVDEC): Likewise.
35968         (SEGV_MAPERR): Likewise.
35969         (SEGV_ACCERR): Likewise.
35970         (SEGV_PSTKOVF): Likewise.
35971         (BUS_ADRALN): Likewise.
35972         (BUS_ADRERR): Likewise.
35973         (BUS_OBJERR): Likewise.
35974         (BUS_MCEERR_AR): Likewise.
35975         (BUS_MCEERR_AO): Likewise.
35976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35977         (TRAP_TRACE): Likewise.
35978         (TRAP_BRANCH): Likewise.
35979         (TRAP_HWBKPT): Likewise.
35980         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35981         __USE_XOPEN2K8].
35982         (CLD_KILLED): Likewise.
35983         (CLD_DUMPED): Likewise.
35984         (CLD_TRAPPED): Likewise.
35985         (CLD_STOPPED): Likewise.
35986         (CLD_CONTINUED): Likewise.
35987         (POLL_IN): Likewise.
35988         (POLL_OUT): Likewise.
35989         (POLL_MSG): Likewise.
35990         (POLL_ERR): Likewise.
35991         (POLL_PRI): Likewise.
35992         (POLL_HUP): Likewise.
35993         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35994         (ILL_ILLOPN): Likewise.
35995         (ILL_ILLADR): Likewise.
35996         (ILL_ILLTRP): Likewise.
35997         (ILL_PRVOPC): Likewise.
35998         (ILL_PRVREG): Likewise.
35999         (ILL_COPROC): Likewise.
36000         (ILL_BADSTK): Likewise.
36001         (FPE_INTDIV): Likewise.
36002         (FPE_INTOVF): Likewise.
36003         (FPE_FLTDIV): Likewise.
36004         (FPE_FLTOVF): Likewise.
36005         (FPE_FLTUND): Likewise.
36006         (FPE_FLTRES): Likewise.
36007         (FPE_FLTINV): Likewise.
36008         (FPE_FLTSUB): Likewise.
36009         (SEGV_MAPERR): Likewise.
36010         (SEGV_ACCERR): Likewise.
36011         (BUS_ADRALN): Likewise.
36012         (BUS_ADRERR): Likewise.
36013         (BUS_OBJERR): Likewise.
36014         (BUS_MCEERR_AR): Likewise.
36015         (BUS_MCEERR_AO): Likewise.
36016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36017         (TRAP_TRACE): Likewise.
36018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36019         __USE_XOPEN2K8].
36020         (CLD_KILLED): Likewise.
36021         (CLD_DUMPED): Likewise.
36022         (CLD_TRAPPED): Likewise.
36023         (CLD_STOPPED): Likewise.
36024         (CLD_CONTINUED): Likewise.
36025         (POLL_IN): Likewise.
36026         (POLL_OUT): Likewise.
36027         (POLL_MSG): Likewise.
36028         (POLL_ERR): Likewise.
36029         (POLL_PRI): Likewise.
36030         (POLL_HUP): Likewise.
36031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36032         (ILL_ILLOPN): Likewise.
36033         (ILL_ILLADR): Likewise.
36034         (ILL_ILLTRP): Likewise.
36035         (ILL_PRVOPC): Likewise.
36036         (ILL_PRVREG): Likewise.
36037         (ILL_COPROC): Likewise.
36038         (ILL_BADSTK): Likewise.
36039         (FPE_INTDIV): Likewise.
36040         (FPE_INTOVF): Likewise.
36041         (FPE_FLTDIV): Likewise.
36042         (FPE_FLTOVF): Likewise.
36043         (FPE_FLTUND): Likewise.
36044         (FPE_FLTRES): Likewise.
36045         (FPE_FLTINV): Likewise.
36046         (FPE_FLTSUB): Likewise.
36047         (SEGV_MAPERR): Likewise.
36048         (SEGV_ACCERR): Likewise.
36049         (BUS_ADRALN): Likewise.
36050         (BUS_ADRERR): Likewise.
36051         (BUS_OBJERR): Likewise.
36052         (BUS_MCEERR_AR): Likewise.
36053         (BUS_MCEERR_AO): Likewise.
36054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36055         (TRAP_TRACE): Likewise.
36056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36057         __USE_XOPEN2K8].
36058         (CLD_KILLED): Likewise.
36059         (CLD_DUMPED): Likewise.
36060         (CLD_TRAPPED): Likewise.
36061         (CLD_STOPPED): Likewise.
36062         (CLD_CONTINUED): Likewise.
36063         (POLL_IN): Likewise.
36064         (POLL_OUT): Likewise.
36065         (POLL_MSG): Likewise.
36066         (POLL_ERR): Likewise.
36067         (POLL_PRI): Likewise.
36068         (POLL_HUP): Likewise.
36069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36070         (ILL_ILLOPN): Likewise.
36071         (ILL_ILLADR): Likewise.
36072         (ILL_ILLTRP): Likewise.
36073         (ILL_PRVOPC): Likewise.
36074         (ILL_PRVREG): Likewise.
36075         (ILL_COPROC): Likewise.
36076         (ILL_BADSTK): Likewise.
36077         (FPE_INTDIV): Likewise.
36078         (FPE_INTOVF): Likewise.
36079         (FPE_FLTDIV): Likewise.
36080         (FPE_FLTOVF): Likewise.
36081         (FPE_FLTUND): Likewise.
36082         (FPE_FLTRES): Likewise.
36083         (FPE_FLTINV): Likewise.
36084         (FPE_FLTSUB): Likewise.
36085         (SEGV_MAPERR): Likewise.
36086         (SEGV_ACCERR): Likewise.
36087         (BUS_ADRALN): Likewise.
36088         (BUS_ADRERR): Likewise.
36089         (BUS_OBJERR): Likewise.
36090         (BUS_MCEERR_AR): Likewise.
36091         (BUS_MCEERR_AO): Likewise.
36092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36093         (TRAP_TRACE): Likewise.
36094         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36095         __USE_XOPEN2K8].
36096         (CLD_KILLED): Likewise.
36097         (CLD_DUMPED): Likewise.
36098         (CLD_TRAPPED): Likewise.
36099         (CLD_STOPPED): Likewise.
36100         (CLD_CONTINUED): Likewise.
36101         (POLL_IN): Likewise.
36102         (POLL_OUT): Likewise.
36103         (POLL_MSG): Likewise.
36104         (POLL_ERR): Likewise.
36105         (POLL_PRI): Likewise.
36106         (POLL_HUP): Likewise.
36107         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36108         (ILL_ILLOPN): Likewise.
36109         (ILL_ILLADR): Likewise.
36110         (ILL_ILLTRP): Likewise.
36111         (ILL_PRVOPC): Likewise.
36112         (ILL_PRVREG): Likewise.
36113         (ILL_COPROC): Likewise.
36114         (ILL_BADSTK): Likewise.
36115         (ILL_DBLFLT): Likewise.
36116         (ILL_HARDWALL): Likewise.
36117         (FPE_INTDIV): Likewise.
36118         (FPE_INTOVF): Likewise.
36119         (FPE_FLTDIV): Likewise.
36120         (FPE_FLTOVF): Likewise.
36121         (FPE_FLTUND): Likewise.
36122         (FPE_FLTRES): Likewise.
36123         (FPE_FLTINV): Likewise.
36124         (FPE_FLTSUB): Likewise.
36125         (SEGV_MAPERR): Likewise.
36126         (SEGV_ACCERR): Likewise.
36127         (BUS_ADRALN): Likewise.
36128         (BUS_ADRERR): Likewise.
36129         (BUS_OBJERR): Likewise.
36130         (BUS_MCEERR_AR): Likewise.
36131         (BUS_MCEERR_AO): Likewise.
36132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36133         (TRAP_TRACE): Likewise.
36134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36135         __USE_XOPEN2K8].
36136         (CLD_KILLED): Likewise.
36137         (CLD_DUMPED): Likewise.
36138         (CLD_TRAPPED): Likewise.
36139         (CLD_STOPPED): Likewise.
36140         (CLD_CONTINUED): Likewise.
36141         (POLL_IN): Likewise.
36142         (POLL_OUT): Likewise.
36143         (POLL_MSG): Likewise.
36144         (POLL_ERR): Likewise.
36145         (POLL_PRI): Likewise.
36146         (POLL_HUP): Likewise.
36147         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36148         (ILL_ILLOPN): Likewise.
36149         (ILL_ILLADR): Likewise.
36150         (ILL_ILLTRP): Likewise.
36151         (ILL_PRVOPC): Likewise.
36152         (ILL_PRVREG): Likewise.
36153         (ILL_COPROC): Likewise.
36154         (ILL_BADSTK): Likewise.
36155         (FPE_INTDIV): Likewise.
36156         (FPE_INTOVF): Likewise.
36157         (FPE_FLTDIV): Likewise.
36158         (FPE_FLTOVF): Likewise.
36159         (FPE_FLTUND): Likewise.
36160         (FPE_FLTRES): Likewise.
36161         (FPE_FLTINV): Likewise.
36162         (FPE_FLTSUB): Likewise.
36163         (SEGV_MAPERR): Likewise.
36164         (SEGV_ACCERR): Likewise.
36165         (BUS_ADRALN): Likewise.
36166         (BUS_ADRERR): Likewise.
36167         (BUS_OBJERR): Likewise.
36168         (BUS_MCEERR_AR): Likewise.
36169         (BUS_MCEERR_AO): Likewise.
36170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36171         (TRAP_TRACE): Likewise.
36172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36173         __USE_XOPEN2K8].
36174         (CLD_KILLED): Likewise.
36175         (CLD_DUMPED): Likewise.
36176         (CLD_TRAPPED): Likewise.
36177         (CLD_STOPPED): Likewise.
36178         (CLD_CONTINUED): Likewise.
36179         (POLL_IN): Likewise.
36180         (POLL_OUT): Likewise.
36181         (POLL_MSG): Likewise.
36182         (POLL_ERR): Likewise.
36183         (POLL_PRI): Likewise.
36184         (POLL_HUP): Likewise.
36185         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36186         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36188         [BZ #16670]
36189         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36190         before #include of <time.h>.
36191         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36192         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36193         (test-xfail-UNIX98/sched.h/conform): Likewise.
36195 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36197         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36198         error absence of trapping exception support.
36199         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36201 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36203         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36204         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36205         * timezone/Makefile (testdata): Move definition above include of
36206         Rules.
36207         (test-zones): New variable.
36208         (tests-special): Add zone files.
36209         (build-testdata): Use $(evaluate-test).
36211         * elf/Makefile (tests-special): Rename tests to end with .out.
36212         ($(objpfx)noload-mem): Likewise.
36213         ($(objpfx)tst-leaks1-mem): Likewise.
36214         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36215         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36216         $(objpfx)test-iconvconfig.out.
36217         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36218         set -e inside subshell and redirect output to file.
36219         * iconvdata/Makefile (generated): Rename tests to end with .out.
36220         Correct type.
36221         (tests-special): Rename tests to end with .out.
36222         ($(objpfx)mtrace-tst-loading): Likewise.
36223         * intl/Makefile (generated): Likewise.
36224         (tests-special): Likewise.
36225         ($(objpfx)mtrace-tst-gettext): Likewise.
36226         * misc/Makefile (generated): Likewise.
36227         (tests-special): Likewise.
36228         ($(objpfx)tst-error1-mem): Likewise.
36229         * nptl/Makefile (tests-special): Likewise.
36230         ($(objpfx)tst-stack3-mem): Likewise.
36231         (generated): Likewise.
36232         * posix/Makefile (generated): Likewise.
36233         (tests-special): Likewise.
36234         (xtests-special): Likewise.
36235         ($(objpfx)tst-fnmatch-mem): Likewise.
36236         ($(objpfx)bug-regex2-mem): Likewise.
36237         ($(objpfx)bug-regex14-mem): Likewise.
36238         ($(objpfx)bug-regex21-mem): Likewise.
36239         ($(objpfx)bug-regex31-mem): Likewise.
36240         ($(objpfx)tst-vfork3-mem): Likewise.
36241         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36242         ($(objpfx)tst-pcre-mem): Likewise.
36243         ($(objpfx)tst-boost-mem): Likewise.
36244         ($(objpfx)bug-ga2-mem): Likewise.
36245         ($(objpfx)bug-glob2-mem): Likewise.
36246         * resolv/Makefile (generate): Likewise.
36247         (tests-special): Likewise.
36248         (xtests-special): Likewise.
36249         (generated): Likewise.
36250         ($(objpfx)mtrace-tst-leaks): Likewise.
36251         ($(objpfx)mtrace-tst-leaks2): Likewise.
36253         * scripts/merge-test-results.sh: New file.
36254         * Makefile (tests-special-notdir): New variable.
36255         (tests): Run merge-test-results.sh.
36256         (xtests): Likewise.
36257         * Rules (tests-special-notdir): New variable.
36258         (xtests-special-notdir): Likewise.
36259         (tests): Run merge-test-results.sh
36260         (xtests): Likewise.
36262         * Makeconfig (test-xfail-name): New variable.
36263         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36264         compute variable name for expected failures.
36265         * conform/Makefile (conformtest-headers-data): New variable.
36266         (conformtest-standards): Likewise.
36267         (conformtest-headers-ISO): Likewise.
36268         (conformtest-headers-ISO99): Likewise.
36269         (conformtest-headers-ISO11): Likewise.
36270         (conformtest-headers-POSIX): Likewise.
36271         (conformtest-headers-XPG3): Likewise.
36272         (conformtest-headers-XPG4): Likewise.
36273         (conformtest-headers-UNIX98): Likewise.
36274         (conformtest-headers-XOPEN2K): Likewise.
36275         (conformtest-headers-POSIX2008): Likewise.
36276         (conformtest-headers-XOPEN2K8): Likewise.
36277         (conformtest-header-list-base): Likewise.
36278         (conformtest-header-list-tests): Likewise.
36279         (conformtest-header-base): Likewise.
36280         (conformtest-header-tests): Likewise.
36281         (tests-special): Add $(conformtest-header-list-tests).  If
36282         [$(fast-check) && !$(cross-compiling)], add
36283         $(conformtest-header-tests) instead of
36284         $(objpfx)run-conformtest.out.
36285         (generated): Add $(conformtest-header-list-base).  If
36286         [$(fast-check) && !$(cross-compiling)], add
36287         $(conformtest-header-base).  Remove previous setting.
36288         ($(conformtest-header-list-tests)): New target.
36289         (test-xfail-run-conformtest): Remove variable.
36290         ($(objpfx)run-conformtest.out): Remove target.
36291         (test-xfail-ISO11/complex.h/conform): New variable.
36292         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36293         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36294         (test-xfail-XPG3/varargs.h/conform): Likewise.
36295         (test-xfail-XPG4/varargs.h/conform): Likewise.
36296         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36297         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36298         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36299         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36300         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36301         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36302         (test-xfail-XPG3/ftw.h/conform): Likewise.
36303         (test-xfail-XPG3/grp.h/conform): Likewise.
36304         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36305         (test-xfail-XPG3/limits.h/conform): Likewise.
36306         (test-xfail-XPG3/pwd.h/conform): Likewise.
36307         (test-xfail-XPG3/search.h/conform): Likewise.
36308         (test-xfail-XPG3/signal.h/conform): Likewise.
36309         (test-xfail-XPG3/stdio.h/conform): Likewise.
36310         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36311         (test-xfail-XPG3/string.h/conform): Likewise.
36312         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36313         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36314         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36315         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36316         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36317         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36318         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36319         (test-xfail-XPG3/termios.h/conform): Likewise.
36320         (test-xfail-XPG3/time.h/conform): Likewise.
36321         (test-xfail-XPG3/unistd.h/conform): Likewise.
36322         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36323         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36324         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36325         (test-xfail-XPG4/netdb.h/conform): Likewise.
36326         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36327         (test-xfail-XPG4/signal.h/conform): Likewise.
36328         (test-xfail-XPG4/stdio.h/conform): Likewise.
36329         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36330         (test-xfail-XPG4/stropts.h/conform): Likewise.
36331         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36332         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36333         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36334         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36335         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36336         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36337         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36338         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36339         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36340         (test-xfail-XPG4/termios.h/conform): Likewise.
36341         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36342         (test-xfail-XPG4/unistd.h/conform): Likewise.
36343         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36344         (test-xfail-POSIX/sched.h/conform): Likewise.
36345         (test-xfail-POSIX/signal.h/conform): Likewise.
36346         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36347         (test-xfail-POSIX/tar.h/conform): Likewise.
36348         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36349         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36350         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36351         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36352         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36353         (test-xfail-UNIX98/sched.h/conform): Likewise.
36354         (test-xfail-UNIX98/signal.h/conform): Likewise.
36355         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36356         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36357         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36358         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36359         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36360         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36361         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36362         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36363         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36364         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36365         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36366         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36367         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36368         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36369         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36370         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36371         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36372         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36373         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36374         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36375         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36376         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36377         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36378         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36379         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36380         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36381         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36382         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36383         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36384         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36385         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36386         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36387         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36388         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36389         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36390         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36391         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36392         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36393         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36394         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36395         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36396         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36397         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36398         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36399         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36400         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36401         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36402         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36403         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36404         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36405         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36406         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36407         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36408         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36409         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36410         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36411         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36412         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36413         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36414         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36415         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36416         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36417         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36418         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36419         (conformtest-cc-flags): Likewise.
36420         ($(conformtest-header-tests): New target.
36421         * conform/check-header-lists.sh: New file.
36422         * conform/run-conformtest.sh: Remove.
36424         * conform/conformtest.pl: Allow ' and \ in values given for
36425         constants.
36426         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36427         inclusion.
36428         [POSIX] (sys/types.h): Likewise.
36429         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36430         inclusion.
36431         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36432         inclusion.
36433         * conform/data/signal.h-data (SIGIO): Remove expectation.
36434         [XPG3] (SIGBUS): Do not expect.
36435         [POSIX || XPG3] (SIGPOLL): Likewise.
36436         [POSIX || XPG3] (SIGPROF): Likewise.
36437         [POSIX || XPG3] (SIGSYS): Likewise.
36438         [XPG3] (SIGTRAP): Likewise.
36439         [POSIX || XPG3] (SIGURG): Likewise.
36440         [POSIX || XPG3] (SIGVTALRM): Likewise.
36441         [POSIX || XPG3] (SIGXCPU): Likewise.
36442         [POSIX || XPG3] (SIGXFSZ): Likewise.
36443         [POSIX] (SA_SIGINFO): Expect.
36444         [XPG3] (siginfo_t): Do not expect type or contents.
36445         [POSIX] (si_pid): Do not expect element.
36446         [POSIX] (si_uid): Likewise.
36447         [POSIX] (si_addr): Likewise.
36448         [POSIX] (si_status): Likewise.
36449         [POSIX] (si_band): Likewise.
36450         [XPG4] (si_value): Likewise.
36451         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36452         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36453         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36454         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36455         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36456         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36457         [POSIX || XPG3] (ILL_COPROC): Likewise.
36458         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36459         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36460         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36461         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36462         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36463         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36464         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36465         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36466         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36467         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36468         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36469         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36470         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36471         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36472         [POSIX || XPG3] (CLD_EXITED): Likewise.
36473         [POSIX || XPG3] (CLD_KILLED): Likewise.
36474         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36475         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36476         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36477         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36478         [POSIX || XPG3] (POLL_IN): Likewise.
36479         [POSIX || XPG3] (POLL_OUT): Likewise.
36480         [POSIX || XPG3] (POLL_MSG): Likewise.
36481         [POSIX || XPG3] (POLL_ERR): Likewise.
36482         [POSIX || XPG3] (POLL_PRI): Likewise.
36483         [POSIX || XPG3] (POLL_HUP): Likewise.
36484         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36485         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36486         (SIG*): Do not allow.
36487         [XPG3] (si_*): Likewise.
36488         [XPG3] (SI_*): Likewise.
36489         [XPG3 || XPG4] (sigev_*): Likewise.
36490         [XPG3 || XPG4] (SIGEV_*): Likewise.
36491         [XPG3 || XPG4] (sival_*): Likewise.
36492         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36493         [POSIX || XPG3] (BUS_*): Likewise.
36494         [POSIX || XPG3] (CLD_*): Likewise.
36495         [POSIX || XPG3] (FPE_*): Likewise.
36496         [POSIX || XPG3] (ILL_*): Likewise.
36497         [POSIX || XPG3] (POLL_*): Likewise.
36498         [POSIX || XPG3] (SEGV_*): Likewise.
36499         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36500         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36501         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36502         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36503         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36504         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36505         Specify type and value.
36506         (TVERSLEN): Likewise.
36507         (REGTYPE): Likewise.
36508         (AREGTYPE): Likewise.
36509         (LNKTYPE): Likewise.
36510         (SYMTYPE): Likewise.
36511         (CHRTYPE): Likewise.
36512         (BLKTYPE): Likewise.
36513         (DIRTYPE): Likewise.
36514         (FIFOTYPE): Likewise.
36515         (CONTTYPE): Likewise.
36516         (TSUID): Likewise.
36517         (TSGID): Likewise.
36518         (TSVTX): Likewise.
36519         (TUREAD): Likewise.
36520         (TUWRITE): Likewise.
36521         (TUEXEC): Likewise.
36522         (TGREAD): Likewise.
36523         (TGWRITE): Likewise.
36524         (TGEXEC): Likewise.
36525         (TOREAD): Likewise.
36526         (TOWRITE): Likewise.
36527         (TOEXEC): Likewise.
36528         [POSIX] (TSVTX): Expect constant.
36530 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36532         * Makefile (tests): Change dependencies to ....
36533         (tests-special): ... additions to this variable.
36534         (tests): Depend on $(tests-special).
36535         * Makerules (check-abi-list): New variable.
36536         (check-abi): Depend on $(check-abi-list).
36537         [$(subdir) = elf] (tests-special): Add
36538         $(objpfx)check-abi-libc.out.
36539         [$(build-shared) = yes && subdir] (tests-special): Add
36540         $(check-abi-list).
36541         [$(build-shared) = yes && subdir] (tests): Do not depend on
36542         check-abi.
36543         * Rules (tests): Depend on $(tests-special).
36544         (xtests): Depend on $(xtests-special).
36545         * catgets/Makefile (tests): Change dependencies to ....
36546         (tests-special): ... additions to this variable.
36547         * conform/Makefile (tests): Change dependencies to ....
36548         (tests-special): ... additions to this variable.
36549         * elf/Makefile (tests): Change dependencies to ....
36550         (tests-special): ... additions to this variable.
36551         * grp/Makefile (tests): Change dependencies to ....
36552         (tests-special): ... additions to this variable.
36553         * iconv/Makefile (xtests): Change dependencies to ....
36554         (xtests-special): ... additions to this variable.
36555         * iconvdata/Makefile (tests): Change dependencies to ....
36556         (tests-special): ... additions to this variable.
36557         * intl/Makefile (tests): Change dependencies to ....
36558         (tests-special): ... additions to this variable.  Also add
36559         $(objpfx)tst-gettext.out.
36560         * io/Makefile (tests): Change dependencies to ....
36561         (tests-special): ... additions to this variable.
36562         * libio/Makefile (tests): Change dependencies to ....
36563         (tests-special): ... additions to this variable.
36564         * malloc/Makefile (tests): Change dependencies to ....
36565         (tests-special): ... additions to this variable.
36566         * misc/Makefile (tests): Change dependencies to ....
36567         (tests-special): ... additions to this variable.
36568         * nptl/Makefile (tests): Change dependencies to ....
36569         (tests-special): ... additions to this variable.
36570         * nptl_db/Makefile (tests): Change dependencies to ....
36571         (tests-special): ... additions to this variable.
36572         * posix/Makefile (tests): Change dependencies to ....
36573         (tests-special): ... additions to this variable.
36574         (xtests): Change dependencies to ....
36575         (xtests-special): ... additions to this variable.
36576         * resolv/Makefile (tests): Change dependencies to ....
36577         (tests-special): ... additions to this variable.
36578         (xtests): Change dependencies to ....
36579         (xtests-special): ... additions to this variable.
36580         * stdio-common/Makefile (tests): Change dependencies to ....
36581         (tests-special): ... additions to this variable.
36582         (do-tst-unbputc): Remove target.
36583         (do-tst-printf): Likewise.
36584         * stdlib/Makefile (tests): Change dependencies to ....
36585         (tests-special): ... additions to this variable.
36586         * string/Makefile (tests): Change dependencies to ....
36587         (tests-special): ... additions to this variable.
36588         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36589         (tests-special): ... additions to this variable.
36591         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36592         whole file.
36593         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36594         whole file.
36595         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36596         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36598         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36599         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36600         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36601         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36602         * conform/data/libgen.h-data [XPG3]: Likewise.
36603         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36604         * conform/data/ndbm.h-data [XPG3]: Likewise.
36605         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36606         * conform/data/netdb.h-data [XPG3]: Likewise.
36607         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36608         * conform/data/poll.h-data [XPG3]: Likewise.
36609         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36610         * conform/data/strings.h-data [XPG3]: Likewise.
36611         * conform/data/stropts.h-data [XPG3]: Likewise.
36612         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36613         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36614         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36615         Likewise.
36616         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36617         * conform/data/sys/time.h-data [XPG3]: Likewise.
36618         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36619         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36620         * conform/data/sys/un.h-data [XPG3]: Likewise.
36621         * conform/data/syslog.h-data [XPG3]: Likewise.
36622         * conform/data/ucontext.h-data [XPG3]: Likewise.
36623         * conform/data/utmpx.h-data [XPG3]: Likewise.
36624         * conform/data/varargs.h-data [UNIX98]: Enable file.
36626         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36628         * math/libm-test.inc (struct test_f_f_data): Move expected results
36629         into structure for each rounding mode.
36630         (struct test_ff_f_data): Likewise.
36631         (struct test_ff_f_data_nexttoward): Likewise.
36632         (struct test_fi_f_data): Likewise.
36633         (struct test_fl_f_data): Likewise.
36634         (struct test_if_f_data): Likewise.
36635         (struct test_fff_f_data): Likewise.
36636         (struct test_c_f_data): Likewise.
36637         (struct test_f_f1_data): Likewise.
36638         (struct test_fF_f1_data): Likewise.
36639         (struct test_ffI_f1_data): Likewise.
36640         (struct test_c_c_data): Likewise.
36641         (struct test_cc_c_data): Likewise.
36642         (struct test_f_i_data): Likewise.
36643         (struct test_ff_i_data): Likewise.
36644         (struct test_f_l_data): Likewise.
36645         (struct test_f_L_data): Likewise.
36646         (struct test_fFF_11_data): Likewise.
36647         (RM_): New macro.
36648         (RM_FE_DOWNWARD): Likewise.
36649         (RM_FE_TONEAREST): Likewise.
36650         (RM_FE_TOWARDZERO): Likewise.
36651         (RM_FE_UPWARD): Likewise.
36652         (RUN_TEST_LOOP_f_f): Update references to expected results.
36653         (RUN_TEST_LOOP_2_f): Likewise.
36654         (RUN_TEST_LOOP_fff_f): Likewise.
36655         (RUN_TEST_LOOP_c_f): Likewise.
36656         (RUN_TEST_LOOP_f_f1): Likewise.
36657         (RUN_TEST_LOOP_fF_f1): Likewise.
36658         (RUN_TEST_LOOP_fI_f1): Likewise.
36659         (RUN_TEST_LOOP_ffI_f1): Likewise.
36660         (RUN_TEST_LOOP_c_c): Likewise.
36661         (RUN_TEST_LOOP_cc_c): Likewise.
36662         (RUN_TEST_LOOP_f_i): Likewise.
36663         (RUN_TEST_LOOP_f_i_tg): Likewise.
36664         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36665         (RUN_TEST_LOOP_f_b): Likewise.
36666         (RUN_TEST_LOOP_f_b_tg): Likewise.
36667         (RUN_TEST_LOOP_f_l): Likewise.
36668         (RUN_TEST_LOOP_f_L): Likewise.
36669         (RUN_TEST_LOOP_fFF_11): Likewise.
36670         * math/gen-libm-test.pl (parse_args): Output four copies of
36671         expected results for each test.
36673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36674         (__ASSUME_UTIMES): Remove.
36675         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36676         (__ASSUME_UTIMES): Likewise.
36678         * math/gen-auto-libm-tests.c: Update comment on output format.
36679         (output_for_one_input_case): Generate before-rounding and
36680         after-rounding information as conditions on output flags not
36681         floating-point format.
36682         * math/auto-libm-test-out: Regenerated.
36683         * math/gen-libm-test.pl (cond_value): New function.
36684         (or_cond_value): Use cond_value.
36685         (generate_testfile): Handle conditional exceptions.
36687 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36689         * math/libm-test.inc (max_valid_error): New variable.
36690         (init_max_error): Take new argument specifying whether function
36691         results are exactly determined.  Set max_valid_error and bound
36692         other variables for errors based on this argument.
36693         (set_max_error): Do not record results above max_valid_error.
36694         (check_float_internal): Only accept errors of up to 0.5ulps if
36695         also at most max_valid_error.
36696         (START): Take new argument EXACT and pass it to init_max_error.
36697         (acos_test): Update call to START.
36698         (acos_test_tonearest): Likewise.
36699         (acos_test_towardzero): Likewise.
36700         (acos_test_downward): Likewise.
36701         (acos_test_upward): Likewise.
36702         (acosh_test): Likewise.
36703         (asin_test): Likewise.
36704         (asin_test_tonearest): Likewise.
36705         (asin_test_towardzero): Likewise.
36706         (asin_test_downward): Likewise.
36707         (asin_test_upward): Likewise.
36708         (asinh_test): Likewise.
36709         (atan_test): Likewise.
36710         (atanh_test): Likewise.
36711         (atan2_test): Likewise.
36712         (cabs_test): Likewise.
36713         (cacos_test): Likewise.
36714         (cacosh_test): Likewise.
36715         (carg_test): Likewise.
36716         (casin_test): Likewise.
36717         (casinh_test): Likewise.
36718         (catan_test): Likewise.
36719         (catanh_test): Likewise.
36720         (cbrt_test): Likewise.
36721         (ccos_test): Likewise.
36722         (ccosh_test): Likewise.
36723         (ceil_test): Likewise.
36724         (cexp_test): Likewise.
36725         (cimag_test): Likewise.
36726         (clog_test): Likewise.
36727         (clog10_test): Likewise.
36728         (conj_test): Likewise.
36729         (copysign_test): Likewise.
36730         (cos_test): Likewise.
36731         (cos_test_tonearest): Likewise.
36732         (cos_test_towardzero): Likewise.
36733         (cos_test_downward): Likewise.
36734         (cos_test_upward): Likewise.
36735         (cosh_test): Likewise.
36736         (cosh_test_tonearest): Likewise.
36737         (cosh_test_towardzero): Likewise.
36738         (cosh_test_downward): Likewise.
36739         (cosh_test_upward): Likewise.
36740         (cpow_test): Likewise.
36741         (cproj_test): Likewise.
36742         (creal_test): Likewise.
36743         (csin_test): Likewise.
36744         (csinh_test): Likewise.
36745         (csqrt_test): Likewise.
36746         (ctan_test): Likewise.
36747         (ctan_test_tonearest): Likewise.
36748         (ctan_test_towardzero): Likewise.
36749         (ctan_test_downward): Likewise.
36750         (ctan_test_upward): Likewise.
36751         (ctanh_test): Likewise.
36752         (ctanh_test_tonearest): Likewise.
36753         (ctanh_test_towardzero): Likewise.
36754         (ctanh_test_downward): Likewise.
36755         (ctanh_test_upward): Likewise.
36756         (erf_test): Likewise.
36757         (erfc_test): Likewise.
36758         (exp_test): Likewise.
36759         (exp_test_tonearest): Likewise.
36760         (exp_test_towardzero): Likewise.
36761         (exp_test_downward): Likewise.
36762         (exp_test_upward): Likewise.
36763         (exp10_test): Likewise.
36764         (exp10_test_tonearest): Likewise.
36765         (exp10_test_towardzero): Likewise.
36766         (exp10_test_downward): Likewise.
36767         (exp10_test_upward): Likewise.
36768         (pow10_test): Likewise.
36769         (exp2_test): Likewise.
36770         (expm1_test): Likewise.
36771         (expm1_test_tonearest): Likewise.
36772         (expm1_test_towardzero): Likewise.
36773         (expm1_test_downward): Likewise.
36774         (expm1_test_upward): Likewise.
36775         (fabs_test): Likewise.
36776         (fdim_test): Likewise.
36777         (floor_test): Likewise.
36778         (fma_test): Likewise.
36779         (fma_test_towardzero): Likewise.
36780         (fma_test_downward): Likewise.
36781         (fma_test_upward): Likewise.
36782         (fmax_test): Likewise.
36783         (fmin_test): Likewise.
36784         (fmod_test): Likewise.
36785         (fpclassify_test): Likewise.
36786         (frexp_test): Likewise.
36787         (hypot_test): Likewise.
36788         (ilogb_test): Likewise.
36789         (isfinite_test): Likewise.
36790         (finite_test): Likewise.
36791         (isgreater_test): Likewise.
36792         (isgreaterequal_test): Likewise.
36793         (isinf_test): Likewise.
36794         (isless_test): Likewise.
36795         (islessequal_test): Likewise.
36796         (islessgreater_test): Likewise.
36797         (isnan_test): Likewise.
36798         (isnormal_test): Likewise.
36799         (issignaling_test): Likewise.
36800         (isunordered_test): Likewise.
36801         (j0_test): Likewise.
36802         (j1_test): Likewise.
36803         (jn_test): Likewise.
36804         (ldexp_test): Likewise.
36805         (lgamma_test): Likewise.
36806         (gamma_test): Likewise.
36807         (lrint_test): Likewise.
36808         (lrint_test_tonearest): Likewise.
36809         (lrint_test_towardzero): Likewise.
36810         (lrint_test_downward): Likewise.
36811         (lrint_test_upward): Likewise.
36812         (llrint_test): Likewise.
36813         (llrint_test_tonearest): Likewise.
36814         (llrint_test_towardzero): Likewise.
36815         (llrint_test_downward): Likewise.
36816         (llrint_test_upward): Likewise.
36817         (log_test): Likewise.
36818         (log10_test): Likewise.
36819         (log1p_test): Likewise.
36820         (log2_test): Likewise.
36821         (logb_test): Likewise.
36822         (logb_test_downward): Likewise.
36823         (lround_test): Likewise.
36824         (llround_test): Likewise.
36825         (modf_test): Likewise.
36826         (nearbyint_test): Likewise.
36827         (nextafter_test): Likewise.
36828         (nexttoward_test): Likewise.
36829         (pow_test): Likewise.
36830         (pow_test_tonearest): Likewise.
36831         (pow_test_towardzero): Likewise.
36832         (pow_test_downward): Likewise.
36833         (pow_test_upward): Likewise.
36834         (remainder_test): Likewise.
36835         (drem_test): Likewise.
36836         (remainder_test_tonearest): Likewise.
36837         (drem_test_tonearest): Likewise.
36838         (remainder_test_towardzero): Likewise.
36839         (drem_test_towardzero): Likewise.
36840         (remainder_test_downward): Likewise.
36841         (drem_test_downward): Likewise.
36842         (remainder_test_upward): Likewise.
36843         (drem_test_upward): Likewise.
36844         (remquo_test): Likewise.
36845         (rint_test): Likewise.
36846         (rint_test_tonearest): Likewise.
36847         (rint_test_towardzero): Likewise.
36848         (rint_test_downward): Likewise.
36849         (rint_test_upward): Likewise.
36850         (round_test): Likewise.
36851         (scalb_test): Likewise.
36852         (scalbn_test): Likewise.
36853         (scalbln_test): Likewise.
36854         (signbit_test): Likewise.
36855         (sin_test): Likewise.
36856         (sin_test_tonearest): Likewise.
36857         (sin_test_towardzero): Likewise.
36858         (sin_test_downward): Likewise.
36859         (sin_test_upward): Likewise.
36860         (sincos_test): Likewise.
36861         (sinh_test): Likewise.
36862         (sinh_test_tonearest): Likewise.
36863         (sinh_test_towardzero): Likewise.
36864         (sinh_test_downward): Likewise.
36865         (sinh_test_upward): Likewise.
36866         (sqrt_test): Likewise.
36867         (sqrt_test_tonearest): Likewise.
36868         (sqrt_test_towardzero): Likewise.
36869         (sqrt_test_downward): Likewise.
36870         (sqrt_test_upward): Likewise.
36871         (tan_test): Likewise.
36872         (tan_test_tonearest): Likewise.
36873         (tan_test_towardzero): Likewise.
36874         (tan_test_downward): Likewise.
36875         (tan_test_upward): Likewise.
36876         (tanh_test): Likewise.
36877         (tgamma_test): Likewise.
36878         (trunc_test): Likewise.
36879         (y0_test): Likewise.
36880         (y1_test): Likewise.
36881         (yn_test): Likewise.
36882         (significand_test): Likewise.
36884         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36885         individual tests in comment.
36886         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36887         (prev_max_error): New variable.
36888         (prev_real_max_error): Likewise.
36889         (prev_imag_max_error): Likewise.
36890         (compare_ulp_data): Don't refer to test names in comment.
36891         (find_test_ulps): Remove function.
36892         (find_function_ulps): Likewise.
36893         (find_complex_function_ulps): Likewise.
36894         (init_max_error): Take function name as argument.  Look up ulps
36895         for that function.
36896         (print_ulps): Remove function.
36897         (print_max_error): Use prev_max_error instead of calling
36898         find_function_ulps.
36899         (print_complex_max_error): Use prev_real_max_error and
36900         prev_imag_max_error instead of calling find_complex_function_ulps.
36901         (check_float_internal): Take max_ulp parameter instead of calling
36902         find_test_ulps.  Don't call print_ulps.
36903         (check_float): Update call to check_float_internal.
36904         (check_complex): Update calls to check_float_internal.
36905         (START): Pass argument to init_max_error.
36906         * math/gen-libm-test.pl (%results): Don't include "kind"
36907         information.
36908         (parse_ulps): Don't handle ulps of individual tests.
36909         (print_ulps_file): Likewise.
36910         (output_ulps): Likewise.
36911         * math/README.libm-test: Update.
36912         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36913         individual tests.
36914         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36915         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36916         * sysdeps/arm/libm-test-ulps: Likewise.
36917         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36918         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36919         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36920         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36921         * sysdeps/microblaze/libm-test-ulps: Likewise.
36922         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36923         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36924         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36925         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36926         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36927         * sysdeps/sh/libm-test-ulps: Likewise.
36928         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36929         * sysdeps/tile/libm-test-ulps: Likewise.
36930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36932 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36934         * math/libm-test.inc (print_complex_max_error): Check separately
36935         whether real and imaginary errors are within allowed range and
36936         pass 0 to print_complex_function_ulps instead of value within
36937         allowed range.
36939 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36941         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36942         formatting.
36943         (get_handles_fopen): Likewise.
36944         (do_write_test): Likewise.
36946         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36948         * libio/fileops.c (do_ftell): Use cached offset when
36949         available.
36950         * libio/iofwide.c (do_ftell_wide): Likewise.
36951         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36952         _IO_file_attach.
36953         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36955         [BZ #16532]
36956         * libio/libioP.h (get_file_offset): New function.
36957         * libio/fileops.c (get_file_offset): Likewise.
36958         (do_ftell): Likewise.
36959         (_IO_new_file_seekoff): Split out ftell logic.
36960         * libio/wfileops.c (do_ftell_wide): Likewise.
36961         (_IO_wfile_seekoff): Split out ftell logic.
36962         * libio/tst-ftell-active-handler.c: New test case.
36963         * libio/Makefile (tests): Add it.
36965 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36967         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36968         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36970 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36972         [BZ #16639]
36973         * nscd/connections.c (nscd_init): Call do_exit.
36974         (start_threads): Call do_exit and notify_parent.
36975         (begin_drop_privileges): Call do_exit.
36976         (finish_drop_privileges): Likewise.
36977         * nscd/selinux.c (preserve_capabilities): Likewise.
36978         (install_real_capabilities): Likewise.
36979         (nscd_selinux_enabled): Likewise.
36980         (avc_create_thread): Likewise.
36981         (avc_alloc_lock): Likewise.
36982         (nscd_avc_init): Likewise.
36983         * nscd/nscd.c (parent_fd): New static variable.
36984         (main): Create a pipe between parent and child processes.
36985         Skip closing parent_fd.
36986         (monitor_child): New function.
36987         (do_exit): Likewise.
36988         (notify_parent): Likewise.
36989         * nscd/nscd.h (notify_parent): Likewise.
36990         (do_exit): Likewise.
36992 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36994         * malloc/malloc.c (__libc_calloc): Revert last change.
36996 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37000 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37002         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37004         implementation.
37005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37006         (__libc_ifunc_impl_list): Likewise.
37007         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37008         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37009         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37010         * string/strrchr.c: Define STRRCHR.
37012 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37014         * benchtest/bench-strtok.c (simple_strtok): Delete.
37015         (strtok_string): Use as benchmark.
37016         * string/strtok (STRTOK): New macro.
37018 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37020         * manual/threads.texi: Add header and standard comments to all
37021         functions.
37023         * elf/dl-lookup.c (check_match): New function.
37024         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37025         (do_lookup_x): Remove nested function check_match. Use non-nested
37026         function check_match.
37028 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37030         * csu/Makefile (generated, before-compile): Use += rather than =.
37031         * catgets/Makefile (generated, generated-dirs): Likewise.
37032         * debug/Makefile (generated): Likewise.
37033         * dlfcn/Makefile (generated): Likewise.
37034         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37035         * iconvdata/Makefile (before-compile, generated): Likewise.
37036         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37037         * libio/Makefile (generated): Likewise.
37038         * malloc/Makefile (generated): Likewise.
37039         * manual/Makefile (generated, generated-dirs): Likewise.
37040         * misc/Makefile (generated): Likewise.
37041         * posix/Makefile (generated): Likewise.
37042         * resolv/Makefile (generated): Likewise.
37043         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37044         * timezone/Makefile (generated, generated-dirs): Likewise.
37046         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37048 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37051         power8 implementation.
37052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37053         file: POWER8 llround ifunc implementation.
37054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37055         (__lllround): Add POWER8 implementation.
37056         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37057         POWER8 llround implementation.
37059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37060         power8 implementation.
37061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37062         file: POWER8 llrint ifunc implementation.
37063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37064         Add POWER8 implementation.
37065         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37066         POWER8 llrint implementation.
37068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37069         power8 implementation.
37070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37071         file: POWER8 finite ifunc implementation.
37072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37073         Add POWER8 implementation.
37074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37075         Likewise.
37076         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37077         POWER8 finite implementation.
37078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37081         power8 implementation.
37082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37083         file: POWER8 isinf ifunc implementation.
37084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37085         POWER8 implementation.
37086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37087         Likewise.
37088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37089         isinf implementation.
37090         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37092         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37093         (INIT_ARCH): Add hwcap2 initialization.
37094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37095         power8 implementation.
37096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37097         file: POWER8 isnan ifunc implementation.
37098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37099         POWER8 implementation.
37100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37101         Likewise.
37102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37103         isnan implementation.
37104         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37106 2014-02-27  Joey Ye  <joey.ye@arm.com>
37108         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37109         (_FP_NANFRAC_Q): Set to zero.
37111 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         [BZ #16623]
37114         * math/auto-libm-test-in: New test inputs.
37115         * math/auto-libm-test-out: Regenerate.
37116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37117         and DA.
37118         (__cos): Likewise.
37119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37121 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37123         * scripts/evaluate-test.sh: Take new argument indicating whether
37124         failure is expected.
37125         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37126         indicating whether failure is expected.
37127         * conform/Makefile (test-xfail-run-conformtest): New variable.
37128         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37129         level.
37130         * posix/Makefile (test-xfail-annexc): New variable.
37131         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37133 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37135         * argp/Makefile: Include Makeconfig immediately after defining
37136         subdir.
37137         * assert/Makefile: Likewise.
37138         * benchtests/Makefile: Likewise.
37139         * catgets/Makefile: Likewise.
37140         * conform/Makefile: Likewise.
37141         * crypt/Makefile: Likewise.
37142         * csu/Makefile: Likewise.
37143         (all): Remove target.
37144         * ctype/Makefile: Include Makeconfig immediately after defining
37145         subdir.
37146         * debug/Makefile: Likewise.
37147         * dirent/Makefile: Likewise.
37148         * dlfcn/Makefile: Likewise.
37149         * gmon/Makefile: Likewise.
37150         * gnulib/Makefile: Likewise.
37151         * grp/Makefile: Likewise.
37152         * gshadow/Makefile: Likewise.
37153         * hesiod/Makefile: Likewise.
37154         * hurd/Makefile: Likewise.
37155         (all): Remove target.
37156         * iconvdata/Makefile: Include Makeconfig immediately after
37157         defining subdir.
37158         * inet/Makefile: Likewise.
37159         * intl/Makefile: Likewise.
37160         * io/Makefile: Likewise.
37161         * libio/Makefile: Likewise.
37162         (all): Remove target.
37163         * locale/Makefile: Include Makeconfig immediately after defining
37164         subdir.
37165         * login/Makefile: Likewise.
37166         * mach/Makefile: Likewise.
37167         (all): Remove target.
37168         * malloc/Makefile: Include Makeconfig immediately after defining
37169         subdir.
37170         (all): Remove target.
37171         * manual/Makefile: Include Makeconfig immediately after defining
37172         subdir.
37173         * math/Makefile: Likewise.
37174         * misc/Makefile: Likewise.
37175         * nis/Makefile: Likewise.
37176         * nss/Makefile: Likewise.
37177         * po/Makefile: Likewise.
37178         (all): Remove target.
37179         * posix/Makefile: Include Makeconfig immediately after defining
37180         subdir.
37181         * pwd/Makefile: Likewise.
37182         * resolv/Makefile: Likewise.
37183         * resource/Makefile: Likewise.
37184         * rt/Makefile: Likewise.
37185         * setjmp/Makefile: Likewise.
37186         * shadow/Makefile: Likewise.
37187         * signal/Makefile: Likewise.
37188         * socket/Makefile: Likewise.
37189         * soft-fp/Makefile: Likewise.
37190         * stdio-common/Makefile: Likewise.
37191         * stdlib/Makefile: Likewise.
37192         * streams/Makefile: Likewise.
37193         * string/Makefile: Likewise.
37194         * sunrpc/Makefile: Likewise.
37195         (all): Remove target.
37196         * sysvipc/Makefile: Include Makeconfig immediately after defining
37197         subdir.
37198         * termios/Makefile: Likewise.
37199         * time/Makefile: Likewise.
37200         * timezone/Makefile: Likewise.
37201         (all): Remove target.
37202         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37203         subdir.
37204         * wctype/Makefile: Likewise.
37206 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37208         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37209         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37210         (libc_feholdexcept_setround_mips): Ditto.
37211         (libc_feholdsetround): New.
37212         (libc_feholdsetroundf): New.
37213         (libc_feholdsetroundl): New.
37214         (libc_feupdateenv_test_mips): New.
37215         (libc_feupdateenv_test): New.
37216         (libc_feupdateenv_testf): New.
37217         (libc_feupdateenv_testl): New.
37218         (libc_feresetround): New.
37219         (libc_feresetroundf): New.
37220         (libc_feresetroundl): New.
37221         (libc_fetestexcept_mips): New.
37222         (libc_fetestexcept): New.
37223         (libc_fetestexceptf): New.
37224         (libc_fetestexceptl): New.
37225         (HAVE_RM_CTX): New.
37226         (libc_feholdexcept_setround_mips_ctx): New.
37227         (libc_feholdexcept_setround_ctx): New.
37228         (libc_feholdexcept_setroundf_ctx): New.
37229         (libc_feholdexcept_setroundl_ctx): New.
37230         (libc_fesetenv_mips_ctx): New.
37231         (libc_fesetenv_ctx): New.
37232         (libc_fesetenv_ctxf): New.
37233         (libc_fesetenv_ctxl): New.
37234         (libc_feupdateenv_mips_ctx): New.
37235         (libc_feupdateenv_ctx): New.
37236         (libc_feupdateenvf_ctx): New.
37237         (libc_feupdateenvl_ctx): New.
37238         (libc_feholdsetround_mips_ctx): New.
37239         (libc_feholdsetround_ctx): New.
37240         (libc_feholdsetroundf_ctx): New.
37241         (libc_feholdsetroundl_ctx): New.
37242         (libc_feresetround_mips_ctx): New.
37243         (libc_feresetround_ctx): New.
37244         (libc_feresetroundf_ctx): New.
37245         (libc_feresetroundl_ctx): New.
37247 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37249         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37251         * manual/ipc.texi: New file.
37252         * manual/Makefile (chapters): Add ipc.
37253         * manual/job.texi: Add "Inter-Process Communication" to next.
37254         * manual/process.texi: Add "Inter-Process Communication" to prev.
37256 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37260 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37262         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37264         * manual/arith.texi: Fix spaces after sentences.
37265         * manual/charset.texi: Likewise.
37266         * manual/errno.texi: Likewise.
37267         * manual/install.texi: Likewise.
37268         * manual/llio.texi: Likewise.
37269         * manual/locale.texi: Likewise.
37270         * manual/maint.texi: Likewise.
37271         * manual/math.texi: Likewise.
37272         * manual/memory.texi: Likewise.
37273         * manual/message.texi: Likewise.
37274         * manual/probes.texi: Likewise.
37275         * manual/resource.texi: Likewise.
37276         * manual/signal.texi: Likewise.
37277         * manual/socket.texi: Likewise.
37278         * manual/stdio.texi: Likewise.
37279         * manual/string.texi: Likewise.
37280         * manual/time.texi: Likewise.
37281         * manual/users.texi: Likewise.
37283 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37285         [BZ #16632]
37286         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37287         _DEFAULT_SOURCE is defined.
37289 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37290             Carlos O'Donell  <carlos@redhat.com>
37292         [BZ #16613]
37293         * elf/dl-tls.c (_dl_count_modids): New function.
37294         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37295         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37296         audit library and increment generation counter.
37297         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37298         * elf/tst-audit9.c: New file.
37299         * elf/tst-auditmod9a.c: New file.
37300         * elf/tst-auditmod9b.c: New file.
37301         * elf/Makefile: Add rules to build and run tst-audit9.
37303 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37305         [BZ #15347]
37306         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37308 2014-02-25  Will Newton  <will.newton@linaro.org>
37310         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37311         (__longjmp): Restore sp and lr before restoring callee
37312         saved registers.  Add longjmp and longjmp_target
37313         SystemTap probe point.
37314         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37315         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37316         Define to zero to match jmpbuf layout.
37317         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37318         (__sigsetjmp): Save sp and lr before saving callee
37319         saved registers.  Add setjmp SystemTap probe point.
37321 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37323         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37325 2014-02-24  Andreas Schwab  <schwab@suse.de>
37327         [BZ #15804]
37328         * elf/pldd.c (wait_for_ptrace_stop): New function.
37329         (main): Call it after attaching.
37331 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37333         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37334         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37335         Versions files is now verboten.
37336         * hurd/Versions (libc: GLIBC_2.0):
37337         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37338         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37339         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37340         * mach/Versions: Likewise.
37342         * csu/Versions: Remove unused %include.
37343         * resolv/Versions: Likewise.
37345 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37347         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37348         ($(objpfx)check-local-headers.out): Likewise.
37349         ($(objpfx)begin-end-check.out): Likewise.
37350         * Makerules (check-abi-%.out): Likewise.
37351         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37352         ($(objpfx)test2.cat): Likewise.
37353         ($(objpfx)de/libc.cat): Likewise.
37354         ($(objpfx)test-gencat.out): Likewise.
37355         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37356         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37357         ($(objpfx)noload-mem): Likewise.
37358         ($(objpfx)tst-pathopt.out): Likewise.
37359         ($(objpfx)tst-rtld-load-self.out): Likewise.
37360         ($(objpfx)tst-array1-cmp.out): Likewise.
37361         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37362         ($(objpfx)tst-array2-cmp.out): Likewise.
37363         ($(objpfx)tst-array3-cmp.out): Likewise.
37364         ($(objpfx)tst-array4-cmp.out): Likewise.
37365         ($(objpfx)tst-array5-cmp.out): Likewise.
37366         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37367         ($(objpfx)check-textrel.out): Likewise.
37368         ($(objpfx)check-execstack.out): Likewise.
37369         ($(objpfx)check-localplt.out): Likewise.
37370         ($(objpfx)order2-cmp.out): Likewise.
37371         ($(objpfx)tst-leaks1-mem): Likewise.
37372         ($(objpfx)tst-leaks1-static-mem): Likewise.
37373         ($(objpfx)tst-initorder-cmp.out): Likewise.
37374         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37375         ($(objpfx)tst-unused-dep.out): Likewise.
37376         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37377         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37378         * iconv/Makefile (test-iconvconfig): Likewise.
37379         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37380         ($(objpfx)iconv-test.out): Likewise.
37381         ($(objpfx)tst-tables.out): Likewise.
37382         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37383         ($(objpfx)tst-gettext.out): Likewise.
37384         ($(objpfx)tst-translit.out): Likewise.
37385         ($(objpfx)tst-gettext2.out): Likewise.
37386         ($(objpfx)tst-gettext4.out): Likewise.
37387         ($(objpfx)tst-gettext6.out): Likewise.
37388         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37389         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37390         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37391         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37392         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37393         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37394         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37395         ($(objpfx)wordexp-tst.out): Likewise.
37396         ($(objpfx)annexc.out): Likewise.
37397         ($(objpfx)tst-fnmatch-mem): Likewise.
37398         ($(objpfx)bug-regex2-mem): Likewise.
37399         ($(objpfx)bug-regex14-mem): Likewise.
37400         ($(objpfx)bug-regex21-mem): Likewise.
37401         ($(objpfx)bug-regex31-mem): Likewise.
37402         ($(objpfx)tst-vfork3-mem): Likewise.
37403         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37404         ($(objpfx)tst-pcre-mem): Likewise.
37405         ($(objpfx)tst-boost-mem): Likewise.
37406         ($(objpfx)tst-getconf.out): Likewise.
37407         ($(objpfx)bug-ga2-mem): Likewise.
37408         ($(objpfx)bug-glob2-mem): Likewise.
37409         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37410         ($(objpfx)mtrace-tst-leaks2): Likewise.
37411         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37412         ($(objpfx)tst-printf.out): Likewise.
37413         ($(objpfx)tst-setvbuf1.out): Likewise.
37414         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37415         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37416         ($(objpfx)tst-fmtmsg.out): Likewise.
37417         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37418         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37420         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37421         * bits/sigaction.h [__USE_MISC]: Likewise.
37422         * bits/waitstatus.h: Update #endif comments.
37423         * ctype/ctype.h: Likewise.
37424         * dirent/dirent.h: Likewise.
37425         [__USE_MISC]: Remove redundant conditionals.
37426         * grp/grp.h: Update #endif comments.
37427         [__USE_GNU]: Remove redundant conditionals.
37428         [__USE_MISC]: Likewise.
37429         * inet/netinet/in.h [__USE_GNU]: Likewise.
37430         * io/sys/stat.h [__USE_MISC]: Likewise.
37431         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37432         * libio/bits/stdio.h: Update #endif comments.
37433         [__USE_MISC]: Remove redundant conditionals.
37434         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37435         * libio/stdio.h: Update #endif comments.
37436         [__USE_MISC]: Remove redundant conditionals.
37437         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37438         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37439         * math/math.h: Update #else and #endif comments.
37440         [__USE_MISC]: Remove redundant conditionals.
37441         * misc/sys/uio.h: Update #endif comments.
37442         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37443         * posix/glob.h [__USE_MISC]: Likewise.
37444         * posix/sys/types.h: Update #endif comments.
37445         [__USE_MISC]: Remove redundant conditionals.
37446         * posix/sys/wait.h: Update #endif comments.
37447         [__USE_MISC]: Remove redundant conditionals.
37448         * posix/unistd.h: Update #endif comments.
37449         [__USE_MISC]: Remove redundant conditionals.
37450         * pwd/pwd.h [__USE_GNU]: Likewise.
37451         [__USE_MISC]: Likewise.
37452         * resolv/netdb.h [__USE_GNU]: Likewise.
37453         * signal/signal.h: Update #endif comments.
37454         [__USE_MISC]: Remove redundant conditionals.
37455         * stdlib/stdlib.h: Update #else and #endif comments.
37456         [__USE_MISC]: Remove redundant conditionals.
37457         [__USE_GNU]: Likewise.
37458         * string/bits/string2.h [__USE_MISC]: Likewise.
37459         * string/string.h: Update #endif comments.
37460         [__USE_MISC]: Remove redundant conditionals.
37461         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37462         Likewise.
37463         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37464         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37465         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37468         Likewise.
37469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37470         comments.
37471         [__USE_MISC]: Remove redundant conditionals.
37472         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37473         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37474         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37475         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37476         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37477         Likewise.
37478         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37479         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37480         Likewise.
37481         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37482         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37483         Likewise.
37484         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37485         Likewise.
37486         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37487         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37488         Likewise.
37489         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37490         Likewise.
37491         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37492         * sysdeps/x86/bits/string.h: Update #endif comments.
37493         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37494         conditionals.
37495         * time/sys/time.h: Update #endif comments.
37496         * time/time.h: Likewise.
37497         [__USE_MISC]: Remove redundant conditionals.
37499 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37501         [BZ #16600]
37502         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37504 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37506         * Versions.def (librt): Add GLIBC_2.17.
37508 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37510         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37511         synonym for _SYS_AUXV_H to allow direct inclusion.
37512         * sysdeps/sparc/bits/hwcap.h: Likewise.
37513         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37514         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37515         * sysdeps/sparc/sysdep.h: Likewise.
37517 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37519         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37521 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37523         * benchtests/bench-strrchr.c: Print length instead of position.
37525 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37527         [BZ #16611]
37528         * sysdeps/unix/sysv/linux/kernel-features.h
37529         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37530         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37531         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37532         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37533         Likewise.
37534         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37535         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37536         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37537         (__ASSUME_SENDMMSG): Define instead of using previous
37538         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37539         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37540         (__ASSUME_SENDMMSG_SYSCALL): Define.
37541         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37542         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37543         Likewise.
37544         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37545         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37546         Likewise.
37547         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37548         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37549         Likewise.
37550         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37551         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37552         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37553         [__ASSUME_SENDMMSG]: Change conditionals to
37554         [__ASSUME_SENDMMSG_SOCKETCALL].
37555         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37556         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37557         Define.
37558         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37559         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37560         Likewise.
37561         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37562         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37563         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37564         [!__ASSUME_SENDMMSG]: Change conditional to
37565         [!__ASSUME_SENDMMSG_SOCKETCALL].
37566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37567         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37568         Define.
37570         [BZ #16610]
37571         * sysdeps/unix/sysv/linux/kernel-features.h
37572         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37573         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37574         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37575         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37576         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37577         [__i386__ || __sparc__]
37578         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37579         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37580         (__ASSUME_RECVMMSG): Define instead of using previous
37581         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37583         (__ASSUME_RECVMMSG_SYSCALL): Define.
37584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37586         Likewise.
37587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37588         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37589         Likewise.
37590         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37591         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37592         Likewise.
37593         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37594         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37595         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37596         [__ASSUME_RECVMMSG]: Change condition to
37597         [__ASSUME_RECVMMSG_SOCKETCALL].
37598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37600         Define.
37601         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37604         Likewise.
37605         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37606         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37607         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37608         [!__ASSUME_RECVMMSG]: Change condition to
37609         [!__ASSUME_RECVMMSG_SOCKETCALL].
37610         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37611         (__ASSUME_RECVMMSG_SYSCALL): Define.
37613         [BZ #16609]
37614         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37615         __powerpc__ || __s390__ || __sh__ || __sparc__]
37616         (__ASSUME_SOCKETCALL): Define.
37617         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37618         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37619         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37620         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37621         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37622         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37623         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37624         (__ASSUME_ACCEPT4): Define instead of using previous
37625         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37626         __powerpc__ || __sparc__ || __s390__)] condition.
37627         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37628         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37629         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37630         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37631         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37632         [!__ASSUME_ACCEPT4]: Change condition to
37633         [!__ASSUME_ACCEPT4_SOCKETCALL].
37634         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37635         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37636         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37638         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37639         __ASSUME_ACCEPT4_SYSCALL.
37640         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37641         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37642         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37643         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37644         __ASSUME_ACCEPT4_SYSCALL.
37645         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37646         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37647         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37648         [__ASSUME_ACCEPT4]: Change condition to
37649         [__ASSUME_ACCEPT4_SOCKETCALL].
37650         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37651         (__ASSUME_SOCKETCALL): Define.
37652         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37654         (__ASSUME_SOCKETCALL): Define.
37655         (__ASSUME_ACCEPT4): Remove.
37656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37657         Define.
37658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37659         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37660         Likewise.
37661         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37662         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37664         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37665         macro.
37666         (HWCAP_ARM_LPAE): Likewise.
37667         (HWCAP_ARM_EVTSTRM): Likewise.
37668         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37669         Add vpfd32, lpae and evtstrm.
37670         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37671         Increase to 22.
37673 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37675         * math/auto-libm-test-in: Add tests of clog10.
37676         * math/auto-libm-test-out: Regenerated.
37677         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37678         * sysdeps/i386/fpu/libm-test-ulps: Update.
37679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37681 2014-02-18  Andreas Schwab  <schwab@suse.de>
37683         [BZ #16574]
37684         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37685         Store non-zero if the second buffer was newly allocated.
37686         (send_dg): Likewise.
37687         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37688         to send_vc and send_dg.
37689         (res_nsend): Pass NULL for ansp2_malloced.
37690         * resolv/res_query.c (__libc_res_nquery): Add parameter
37691         answerp2_malloced and pass it down to __libc_res_nsend.
37692         (res_nquery): Pass additional NULL to __libc_res_nquery.
37693         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37694         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37695         second answer buffer if answerp2_malloced was set.
37696         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37697         (__libc_res_nquerydomain): Add parameter
37698         answerp2_malloced and pass it down to __libc_res_nquery.
37699         (res_nquerydomain): Pass additional NULL to
37700         __libc_res_nquerydomain.
37701         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37702         additional NULL to __libc_res_nsend and __libc_res_nquery.
37703         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37704         additional NULL to __libc_res_nsearch.
37705         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37706         parameter of __libc_res_nsearch to check for separately allocated
37707         second buffer.
37708         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37709         __libc_res_nquery.
37710         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37711         additional NULL to __libc_res_nquery.
37712         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37713         __libc_res_nsearch.
37714         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37715         * include/resolv.h: Update prototypes of __libc_res_nquery,
37716         __libc_res_nsearch, __libc_res_nsend.
37718 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37720         * math/auto-libm-test-in: Add tests of fma.
37721         * math/auto-libm-test-out: Regenerated.
37722         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37723         (fma_towardzero_test_data): Likewise.
37724         (fma_downward_test_data): Likewise.
37725         (fma_upward_test_data): Likewise.
37726         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37727         mpc_mode.
37728         (rounding_modes): Add values for new field.
37729         (func_calc_method): Add value mpfr_fff_f.
37730         (func_calc_desc): Add mpfr_fff_f union field.
37731         (test_function): Add field exact_args.
37732         (FUNC): Add macro argument EXACT_ARGS.
37733         (FUNC_mpfr_f_f): Update call to FUNC.
37734         (FUNC_mpfr_f_f): Likewise.
37735         (FUNC_mpfr_ff_f): Likewise.
37736         (FUNC_mpfr_if_f): Likewise.
37737         (FUNC_mpc_c_f): Likewise.
37738         (FUNC_mpc_c_c): Likewise.
37739         (test_functions): Add fma.  Update calls to FUNC.
37740         (handle_input_arg): Add argument exact_args.
37741         (add_test): Update call to handle_input_arg.
37742         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37743         (output_for_one_input_case): Update call to calc_generic_results.
37744         Recalculate exact zero results in each rounding mode.
37746         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37747         non-negative before setting low bit.
37748         * math/auto-libm-test-in: Mark one asin test possibly having
37749         spurious underflow.
37750         * math/auto-libm-test-out: Regenerated.
37751         * sysdeps/i386/fpu/libm-test-ulps: Update.
37752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37754 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37756         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37757         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37758         ports/sysdeps/unix/sysv/linux/microblaze.
37759         * README: Add missing listing for microblaze*-*-linux-gnu.
37761 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37763         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37764         duplicate code
37766 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37768         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37769         * sysdeps/unix/sysv/linux/ia64: Move directory from
37770         ports/sysdeps/unix/sysv/linux/ia64.
37771         * README: Update listing for ia64-*-linux-gnu.
37773 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37774             Joseph Myers  <joseph@codesourcery.com>
37776         * Makeconfig (test-name): New variable.
37777         (evaluate-test): Likewise.
37778         * Makerules (do-test-clean): Remove .test-result files.
37779         (common-mostlyclean): Likewise.
37780         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37781         * scripts/evaluate-test.sh: New file.
37783 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37785         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37786         separate $(objpfx)tst-fopenloc-cmp.out and
37787         $(objpfx)tst-fopenloc-mem.out targets.
37788         (tests): Update dependencies.
37789         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37790         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37791         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37792         (tst-rxspencer-no-utf8-ARGS): New variable.
37793         (tst-rxspencer-no-utf8-ENV): Likewise.
37794         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37795         instead of $(objpfx)tst-rxspencer-mem.
37796         ($(objpfx)tst-rxspencer-mem): Change target to
37797         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37798         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37799         * posix/tst-rxspencer-no-utf8.c: New file.
37801         * elf/Makefile ($(objpfx)order.out): Remove rule.
37802         [$(run-built-tests) = yes] (tests): Depend on
37803         $(objpfx)order-cmp.out.
37804         ($(objpfx)order-cmp.out): New rule.
37805         [$(run-built-tests) = yes] (tests): Depend on
37806         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37807         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37808         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37809         $(objpfx)tst-array5-static-cmp.out.
37810         ($(objpfx)tst-array1.out): Remove rule.
37811         ($(objpfx)tst-array1-cmp.out): New rule.
37812         ($(objpfx)tst-array1-static.out): Remove rule.
37813         ($(objpfx)tst-array1-static-cmp.out): New rule.
37814         ($(objpfx)tst-array2.out): Remove rule.
37815         ($(objpfx)tst-array2-cmp.out): New rule.
37816         ($(objpfx)tst-array3.out): Remove rule.
37817         ($(objpfx)tst-array3-cmp.out): New rule.
37818         ($(objpfx)tst-array4.out): Remove rule.
37819         ($(objpfx)tst-array4-cmp.out): New rule.
37820         ($(objpfx)tst-array5.out): Remove rule.
37821         ($(objpfx)tst-array5-cmp.out): New rule.
37822         ($(objpfx)tst-array5-static.out): Remove rule.
37823         ($(objpfx)tst-array5-static-cmp.out): New rule.
37824         [$(run-built-tests) = yes] (tests): Depend on
37825         $(objpfx)order2-cmp.out.
37826         ($(objpfx)order2.out): Remove rule.
37827         ($(objpfx)order2-cmp.out): New rule.
37828         ($(objpfx)tst-initorder.out): Remove rule.
37829         [$(run-built-tests) = yes] (tests): Depend on
37830         $(objpfx)tst-initorder-cmp.out.
37831         ($(objpfx)tst-initorder-cmp.out): New rule.
37832         ($(objpfx)tst-initorder2.out): Remove rule.
37833         [$(run-built-tests) = yes] (tests): Depend on
37834         $(objpfx)tst-initorder2-cmp.out.
37835         ($(objpfx)tst-initorder2-cmp.out): New rule.
37836         [$(run-built-tests) = yes] (tests): Depend on
37837         $(objpfx)tst-unused-dep-cmp.out.
37838         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37839         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37840         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37841         on $(objpfx)tst-setvbuf1-cmp.out.
37842         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37843         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37844         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37845         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37846         ($(objpfx)tst-svc.out): Remove rule.
37847         ($(objpfx)tst-svc-cmp.out): New rule.
37849 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37851         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37852         * ctype/ctype.h [__USE_MISC]: Likewise.
37853         * dirent/dirent.h [__USE_MISC]: Likewise.
37854         * grp/grp.h [__USE_MISC]: Likewise.
37855         * io/fcntl.h [__USE_MISC]: Likewise.
37856         * io/sys/stat.h [__USE_MISC]: Likewise.
37857         * libio/stdio.h [__USE_MISC]: Likewise.
37858         * posix/unistd.h [__USE_MISC]: Likewise.
37859         * pwd/pwd.h [__USE_MISC]: Likewise.
37860         * stdlib.h [__USE_MISC]: Likewise.
37861         * string/bits/string2.h [__USE_MISC]: Likewise.
37862         * string/string.h [__USE_MISC]: Likewise.
37863         * time/time.h [__USE_MISC]: Likewise.
37865 2014-02-13  Andreas Schwab  <schwab@suse.de>
37867         [BZ #16574]
37868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37869         second answer buffer if it was separately allocated.
37871 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37873         * sysdeps/mips/math-tests.h: Include <features.h>.
37874         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37875         (ROUNDING_TESTS_long_double): Do not define.
37876         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37877         (EXCEPTION_TESTS_long_double): Likewise.
37878         * sysdeps/mips/mips64/libm-test-ulps: Update.
37880         * include/features.h (__USE_BSD): Remove macro definitions.
37881         (__USE_SVID): Likewise.
37882         (_BSD_SOURCE): Likewise.
37883         (_SVID_SOURCE): Likewise.
37884         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37885         from definition of _DEFAULT_SOURCE.
37886         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37887         [_DEFAULT_SOURCE].
37888         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37889         * bits/mman.h [__USE_BSD]: Likewise.
37890         * bits/termios.h [__USE_BSD]: Likewise.
37891         * bits/waitstatus.h [__USE_BSD]: Likewise.
37892         * ctype/ctype.h [__USE_SVID]: Likewise.
37893         * dirent/dirent.h [__USE_BSD]: Likewise.
37894         * grp/grp.h [__USE_SVID]: Likewise.
37895         [__USE_BSD]: Likewise.
37896         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37897         * io/fcntl.h [__USE_BSD]: Likewise.
37898         * io/ftw.h [__USE_BSD]: Likewise.
37899         * io/sys/stat.h [__USE_BSD]: Likewise.
37900         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37901         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37902         * libio/stdio.h [__USE_SVID]: Likewise.
37903         [__USE_BSD]: Likewise.
37904         * math/math.h [__USE_SVID]: Likewise.
37905         [__USE_BSD]: Likewise.
37906         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37907         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37908         * misc/search.h [__USE_SVID]: Likewise.
37909         * misc/sys/mman.h [__USE_BSD]: Likewise.
37910         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37911         * misc/sys/uio.h [__USE_BSD]: Likewise.
37912         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37913         * posix/glob.h [__USE_BSD]: Likewise.
37914         * posix/regex.h [__USE_BSD]: Likewise.
37915         * posix/sys/types.h [__USE_BSD]: Likewise.
37916         [__USE_SVID]: Likewise.
37917         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37918         * posix/sys/wait.h [__USE_BSD]: Likewise.
37919         [__USE_SVID]: Likewise.
37920         * posix/unistd.h [__USE_BSD]: Likewise.
37921         [__USE_SVID]: Likewise.
37922         * pwd/pwd.h [__USE_SVID]: Likewise.
37923         * resolv/netdb.h [__USE_BSD]: Likewise.
37924         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37925         * signal/signal.h [__USE_BSD]: Likewise.
37926         [__USE_SVID]: Likewise.
37927         * socket/sys/socket.h [__USE_BSD]: Likewise.
37928         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37929         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37930         [__USE_SVID]: Likewise.
37931         * string/bits/string2.h [__USE_BSD]: Likewise.
37932         [__USE_SVID]: Likewise.
37933         * string/bits/string3.h [__USE_BSD]: Likewise.
37934         * string/endian.h [__USE_BSD]: Likewise.
37935         * string/string.h [__USE_SVID]: Likewise.
37936         [__USE_BSD]: Likewise.
37937         * string/strings.h [__USE_BSD]: Likewise.
37938         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37939         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37940         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37941         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37942         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37943         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37944         Likewise.
37945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37946         Likewise.
37947         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37948         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37949         Likewise.
37950         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37951         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37952         Likewise.
37953         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37954         Likewise.
37955         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37956         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37957         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37958         Likewise.
37959         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37960         Likewise.
37961         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37962         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37963         * termios/termios.h [__USE_BSD]: Likewise.
37964         * time/sys/time.h [__USE_BSD]: Likewise.
37965         * time/time.h [__USE_BSD]: Likewise.
37966         [__USE_SVID]: Likewise.
37968         * Makefile (subdir_targets): Remove subdir_lint.out.
37970         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37971         (do-tst-printf): Likewise.
37972         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37973         $(objpfx)tst-printf.out.
37975         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37977         * Makerules (check-abi-%): Change target to
37978         $(objpfx)check-abi-%.out.
37979         (check-abi target): Update dependencies.
37980         (check-abi-pattern variable): Redirect output of diff to $@.
37981         (check-abi variable): Likewise.
37982         * elf/Makefile (check-abi): Update dependencies.
37984         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37985         unused.
37986         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37987         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37988         subnormal range.
37989         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37990         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37991         value has largest subnormal exponent.
37992         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37993         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37994         * sysdeps/aarch64/soft-fp/sfp-machine.h
37995         (_FP_TININESS_AFTER_ROUNDING): New macro.
37996         * sysdeps/alpha/soft-fp/sfp-machine.h
37997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37998         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37999         Likewise.
38000         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38002         * sysdeps/mips/soft-fp/sfp-machine.h
38003         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38004         * sysdeps/powerpc/soft-fp/sfp-machine.h
38005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38006         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38007         Likewise.
38008         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38010         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38012         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38013         Likewise.
38015 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38017         [BZ #16545]
38018         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38019         model 1.
38021 2014-02-12  Richard Henderson  <rth@redhat.com>
38023         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38024         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38025         * sysdeps/unix/sysv/linux/alpha: Move directory from
38026         ports/sysdeps/unix/sysv/linux/alpha.
38027         * README: Update listing for alpha-*-linux-gnu.
38029 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38031         * include/features.h: Update comment documenting feature test
38032         macros.
38033         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38034         _DEFAULT_SOURCE.
38035         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38036         (_SVID_SOURCE): Likewise.
38037         (_DEFAULT_SOURCE): Update description of default features.
38038         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38039         with _GNU_SOURCE.
38040         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38041         (S_ISVTX): Likewise.
38042         * manual/math.texi (Mathematical Constants): Likewise.
38043         * manual/signal.texi (Interrupted Primitives): Likewise.
38044         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38045         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38046         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38047         Don't refer to _SVID_SOURCE in warning text.
38049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38051         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38052         already defined.
38053         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38054         * sysdeps/mips/dl-lookup.c: Remove.
38055         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38057 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38059         [BZ #16447]
38060         * math/auto-libm-test-in: Add testcase for expl.
38061         * math/auto-libm-test-out: Regenerate.
38062         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38063         calculation of unsafe.
38064         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38066 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38068         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38069         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38070         ports/sysdeps/unix/sysv/linux/aarch64.
38071         * README: Update listing for aarch64*-*-linux-gnu.
38073 2014-02-11  Will Newton  <will.newton@linaro.org>
38075         * manual/probes.texi (Mathematical Function Probes): Use
38076         "triggered" instead of "hit".
38078         * manual/probes.texi (Internal Probes): Add documentation
38079         of setjmp, longjmp and longjmp_target probes.
38081         * include/stap-probe.h: Add comment about probe argument
38082         format.
38084         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38085         definition.  (tr_where, tr_freehook, tr_mallochook,
38086         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38088 2014-02-11  David S. Miller  <davem@davemloft.net>
38090         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38091         processing int_tests.
38093 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38095         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38096         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38097         * sysdeps/unix/sysv/linux/mips: Move directory from
38098         ports/sysdeps/unix/sysv/linux/mips.
38099         * README: Update listing for mips-*-linux-gnu and
38100         mips64-*-linux-gnu.
38102 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38104         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38105         * sysdeps/unix/sysv/linux/m68k: Move directory from
38106         ports/sysdeps/unix/sysv/linux/m68k.
38107         * README: Update listing for m68k-*-linux-gnu.
38109 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38111         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38112         * sysdeps/unix/sysv/linux/generic: Move directory from
38113         ports/sysdeps/unix/sysv/linux/generic.
38114         * sysdeps/unix/sysv/linux/tile: Move directory from
38115         ports/sysdeps/unix/sysv/linux/tile.
38116         * README: Update listing for tile*-*-linux-gnu.
38118 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38120         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38121         __builtin_expect.
38122         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38123         * catgets/open_catalog.c (__open_catalog): Likewise.
38124         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38125         * debug/confstr_chk.c: Likewise.
38126         * debug/fread_chk.c (__fread_chk): Likewise.
38127         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38128         * debug/getgroups_chk.c: Likewise.
38129         * debug/mbsnrtowcs_chk.c: Likewise.
38130         * debug/mbsrtowcs_chk.c: Likewise.
38131         * debug/mbstowcs_chk.c: Likewise.
38132         * debug/memcpy_chk.c: Likewise.
38133         * debug/memmove_chk.c: Likewise.
38134         * debug/mempcpy_chk.c: Likewise.
38135         * debug/memset_chk.c: Likewise.
38136         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38137         * debug/strcat_chk.c (__strcat_chk): Likewise.
38138         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38139         * debug/strncat_chk.c (__strncat_chk): Likewise.
38140         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38141         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38142         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38143         * debug/wcpncpy_chk.c: Likewise.
38144         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38145         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38146         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38147         * debug/wcsncpy_chk.c: Likewise.
38148         * debug/wcsnrtombs_chk.c: Likewise.
38149         * debug/wcsrtombs_chk.c: Likewise.
38150         * debug/wcstombs_chk.c: Likewise.
38151         * debug/wmemcpy_chk.c: Likewise.
38152         * debug/wmemmove_chk.c: Likewise.
38153         * debug/wmempcpy_chk.c: Likewise.
38154         * debug/wmemset_chk.c: Likewise.
38155         * dirent/scandirat.c (SCANDIRAT): Likewise.
38156         * dlfcn/dladdr1.c (dladdr1): Likewise.
38157         * dlfcn/dladdr.c (dladdr): Likewise.
38158         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38159         * dlfcn/dlerror.c (__dlerror): Likewise.
38160         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38161         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38162         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38163         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38164         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38165         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38166         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38167         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38168         Likewise.
38169         * elf/dl-conflict.c: Likewise.
38170         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38171         * elf/dl-dst.h: Likewise.
38172         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38173         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38175         * elf/dl-init.c (call_init, _dl_init): Likewise.
38176         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38177         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38178         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38179         Likewise.
38180         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38181         Likewise.
38182         * elf/dl-minimal.c (__libc_memalign): Likewise.
38183         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38184         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38185         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38186         * elf/dl-sym.c (do_sym): Likewise.
38187         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38188         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38189         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38190         * elf/dl-writev.h (_dl_writev): Likewise.
38191         * elf/ldconfig.c (search_dir): Likewise.
38192         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38193         (dl_main): Likewise.
38194         * elf/setup-vdso.h (setup_vdso): Likewise.
38195         * grp/compat-initgroups.c (compat_call): Likewise.
38196         * grp/fgetgrent.c (fgetgrent): Likewise.
38197         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38198         * grp/putgrent.c (putgrent): Likewise.
38199         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38200         Likewise.
38201         * hurd/hurdinit.c: Likewise.
38202         * iconvdata/8bit-gap.c (struct): Likewise.
38203         * iconvdata/ansi_x3.110.c : Likewise.
38204         * iconvdata/big5.c : Likewise.
38205         * iconvdata/big5hkscs.c : Likewise.
38206         * iconvdata/cp1255.c: Likewise.
38207         * iconvdata/cp1258.c : Likewise.
38208         * iconvdata/cp932.c : Likewise.
38209         * iconvdata/euc-cn.c: Likewise.
38210         * iconvdata/euc-jisx0213.c : Likewise.
38211         * iconvdata/euc-jp.c: Likewise.
38212         * iconvdata/euc-jp-ms.c : Likewise.
38213         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38214         * iconvdata/gb18030.c : Likewise.
38215         * iconvdata/gbbig5.c (const): Likewise.
38216         * iconvdata/gbgbk.c: Likewise.
38217         * iconvdata/gbk.c : Likewise.
38218         * iconvdata/ibm1364.c : Likewise.
38219         * iconvdata/ibm930.c : Likewise.
38220         * iconvdata/ibm932.c: Likewise.
38221         * iconvdata/ibm933.c : Likewise.
38222         * iconvdata/ibm935.c : Likewise.
38223         * iconvdata/ibm937.c : Likewise.
38224         * iconvdata/ibm939.c : Likewise.
38225         * iconvdata/ibm943.c: Likewise.
38226         * iconvdata/iso_11548-1.c: Likewise.
38227         * iconvdata/iso-2022-cn.c : Likewise.
38228         * iconvdata/iso-2022-cn-ext.c : Likewise.
38229         * iconvdata/iso-2022-jp-3.c: Likewise.
38230         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38231         * iconvdata/iso-2022-kr.c : Likewise.
38232         * iconvdata/iso646.c (gconv_end): Likewise.
38233         * iconvdata/iso_6937-2.c : Likewise.
38234         * iconvdata/iso_6937.c : Likewise.
38235         * iconvdata/iso8859-1.c: Likewise.
38236         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38237         * iconvdata/shift_jisx0213.c : Likewise.
38238         * iconvdata/sjis.c : Likewise.
38239         * iconvdata/t.61.c : Likewise.
38240         * iconvdata/tcvn5712-1.c : Likewise.
38241         * iconvdata/tscii.c: Likewise.
38242         * iconvdata/uhc.c : Likewise.
38243         * iconvdata/unicode.c (gconv_end): Likewise.
38244         * iconvdata/utf-16.c (gconv_end): Likewise.
38245         * iconvdata/utf-32.c (gconv_end): Likewise.
38246         * iconvdata/utf-7.c (base64): Likewise.
38247         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38248         * iconv/gconv_close.c (__gconv_close): Likewise.
38249         * iconv/gconv_open.c (__gconv_open): Likewise.
38250         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38251         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38252         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38253         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38254         (ucs4le_internal_loop_single): Likewise.
38255         * iconv/iconv.c (iconv): Likewise.
38256         * iconv/iconv_close.c: Likewise.
38257         * iconv/loop.c (SINGLE): Likewise.
38258         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38259         * include/atomic.h: Likewise.
38260         * inet/inet6_option.c (option_alloc): Likewise.
38261         * intl/bindtextdom.c (set_binding_values): Likewise.
38262         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38263         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38264         * intl/localealias.c (read_alias_file): Likewise.
38265         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38266         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38267         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38268         * libio/fmemopen.c (fmemopen): Likewise.
38269         * libio/iofgets.c (_IO_fgets): Likewise.
38270         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38271         * libio/iofgetws.c (fgetws): Likewise.
38272         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38273         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38274         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38275         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38276         * locale/findlocale.c (_nl_find_locale): Likewise.
38277         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38278         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38279         Likewise.
38280         * locale/setlocale.c (setlocale): Likewise.
38281         * login/programs/pt_chown.c (main): Likewise.
38282         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38283         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38284         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38285         (mmap, mmap64, mremap, munmap): Likewise.
38286         * math/e_exp2l.c: Likewise.
38287         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38288         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38289         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38290         * math/s_catan.c (__catan): Likewise.
38291         * math/s_catanf.c (__catanf): Likewise.
38292         * math/s_catanh.c (__catanh): Likewise.
38293         * math/s_catanhf.c (__catanhf): Likewise.
38294         * math/s_catanhl.c (__catanhl): Likewise.
38295         * math/s_catanl.c (__catanl): Likewise.
38296         * math/s_ccosh.c (__ccosh): Likewise.
38297         * math/s_ccoshf.c (__ccoshf): Likewise.
38298         * math/s_ccoshl.c (__ccoshl): Likewise.
38299         * math/s_cexp.c (__cexp): Likewise.
38300         * math/s_cexpf.c (__cexpf): Likewise.
38301         * math/s_cexpl.c (__cexpl): Likewise.
38302         * math/s_clog10.c (__clog10): Likewise.
38303         * math/s_clog10f.c (__clog10f): Likewise.
38304         * math/s_clog10l.c (__clog10l): Likewise.
38305         * math/s_clog.c (__clog): Likewise.
38306         * math/s_clogf.c (__clogf): Likewise.
38307         * math/s_clogl.c (__clogl): Likewise.
38308         * math/s_csin.c (__csin): Likewise.
38309         * math/s_csinf.c (__csinf): Likewise.
38310         * math/s_csinh.c (__csinh): Likewise.
38311         * math/s_csinhf.c (__csinhf): Likewise.
38312         * math/s_csinhl.c (__csinhl): Likewise.
38313         * math/s_csinl.c (__csinl): Likewise.
38314         * math/s_csqrt.c (__csqrt): Likewise.
38315         * math/s_csqrtf.c (__csqrtf): Likewise.
38316         * math/s_csqrtl.c (__csqrtl): Likewise.
38317         * math/s_ctan.c (__ctan): Likewise.
38318         * math/s_ctanf.c (__ctanf): Likewise.
38319         * math/s_ctanh.c (__ctanh): Likewise.
38320         * math/s_ctanhf.c (__ctanhf): Likewise.
38321         * math/s_ctanhl.c (__ctanhl): Likewise.
38322         * math/s_ctanl.c (__ctanl): Likewise.
38323         * math/w_pow.c: Likewise.
38324         * math/w_powf.c: Likewise.
38325         * math/w_powl.c: Likewise.
38326         * math/w_scalb.c (sysv_scalb): Likewise.
38327         * math/w_scalbf.c (sysv_scalbf): Likewise.
38328         * math/w_scalbl.c (sysv_scalbl): Likewise.
38329         * misc/error.c (error_tail): Likewise.
38330         * misc/pselect.c (__pselect): Likewise.
38331         * nis/nis_callback.c (__nis_create_callback): Likewise.
38332         * nis/nis_call.c (__nisfind_server): Likewise.
38333         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38334         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38335         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38336         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38337         * nis/nis_lookup.c (nis_lookup): Likewise.
38338         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38339         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38340         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38341         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38342         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38343         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38344         * nis/nss_compat/compat-initgroups.c (add_group)
38345         (internal_getgrent_r): Likewise.
38346         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38347         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38348         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38349         (internal_getspnam_r): Likewise.
38350         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38351         (_nss_nis_getaliasbyname_r): Likewise.
38352         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38353         (_nss_nis_getntohost_r): Likewise.
38354         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38355         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38356         (_nss_nis_getgrgid_r): Likewise.
38357         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38358         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38359         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38360         (_nss_nis_gethostbyname4_r): Likewise.
38361         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38362         (initgroups_netid): Likewise.
38363         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38364         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38365         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38366         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38367         (_nss_nis_getprotobynumber_r): Likewise.
38368         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38369         (_nss_nis_getsecretkey): Likewise.
38370         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38371         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38372         (_nss_nis_getpwuid_r): Likewise.
38373         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38374         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38375         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38376         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38377         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38378         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38379         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38380         Likewise.
38381         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38382         (_nss_nisplus_getntohost_r): Likewise.
38383         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38384         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38385         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38386         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38387         Likewise.
38388         * nis/nss_nisplus/nisplus-initgroups.c
38389         (_nss_nisplus_initgroups_dyn): Likewise.
38390         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38391         (_nss_nisplus_getnetbyaddr_r): Likewise.
38392         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38393         (_nss_nisplus_getprotobynumber_r): Likewise.
38394         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38395         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38396         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38397         Likewise.
38398         * nis/nss_nisplus/nisplus-service.c
38399         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38400         (_nss_nisplus_getservbyport_r): Likewise.
38401         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38402         (_nss_nisplus_getspnam_r): Likewise.
38403         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38404         Likewise.
38405         * nscd/aicache.c (addhstaiX): Likewise.
38406         * nscd/cache.c (cache_search, prune_cache): Likewise.
38407         * nscd/connections.c (register_traced_file, send_ro_fd)
38408         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38409         (main_loop_epoll): Likewise.
38410         * nscd/grpcache.c (addgrbyX): Likewise.
38411         * nscd/hstcache.c (addhstbyX): Likewise.
38412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38413         * nscd/mem.c (gc, mempool_alloc): Likewise.
38414         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38415         (addinnetgrX): Likewise.
38416         * nscd/nscd-client.h (__nscd_acquire_maplock)
38417         (__nscd_drop_map_ref): Likewise.
38418         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38419         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38421         Likewise.
38422         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38423         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38424         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38425         (__nscd_get_map_ref): Likewise.
38426         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38427         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38428         Likewise.
38429         * nscd/pwdcache.c (addpwbyX): Likewise.
38430         * nscd/selinux.c (preserve_capabilities): Likewise.
38431         * nscd/servicescache.c (addservbyX): Likewise.
38432         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38433         * posix/fnmatch.c (fnmatch): Likewise.
38434         * posix/getopt.c (_getopt_internal_r): Likewise.
38435         * posix/glob.c (glob, glob_in_dir): Likewise.
38436         * posix/wordexp.c (exec_comm_child): Likewise.
38437         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38438         (getanswer_r, gaih_getanswer_slice): Likewise.
38439         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38440         * resolv/res_init.c: Likewise.
38441         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38442         * resolv/res_query.c (__libc_res_nquery): Likewise.
38443         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38444         Likewise.
38445         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38446         * stdio-common/perror.c (perror): Likewise.
38447         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38448         * stdio-common/tmpnam.c (tmpnam): Likewise.
38449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38450         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38451         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38452         Likewise.
38453         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38454         * stdlib/putenv.c (putenv): Likewise.
38455         * stdlib/setenv.c (__add_to_environ): Likewise.
38456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38457         * stdlib/strtol_l.c (INTERNAL): Likewise.
38458         * string/memmem.c (memmem): Likewise.
38459         * string/strerror.c (strerror): Likewise.
38460         * string/strnlen.c (__strnlen): Likewise.
38461         * string/test-memmem.c (simple_memmem): Likewise.
38462         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38463         * sunrpc/pm_getport.c (__get_socket): Likewise.
38464         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38465         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38466         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38467         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38468         Likewise.
38469         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38470         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38471         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38472         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38473         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38474         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38475         Likewise.
38476         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38477         Likewise.
38478         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38479         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38481         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38482         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38485         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38486         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38487         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38488         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38489         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38490         Likewise.
38491         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38492         Likewise.
38493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38494         Likewise.
38495         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38496         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38499         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38500         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38501         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38510         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38511         Likewise.
38512         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38513         Likewise.
38514         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38515         Likewise.
38516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38517         Likewise.
38518         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38519         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38520         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38521         Likewise.
38522         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38523         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38524         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38525         * sysdeps/posix/sleep.c: Likewise.
38526         * sysdeps/posix/tempname.c: Likewise.
38527         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38528         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38529         Likewise.
38530         * sysdeps/powerpc/powerpc32/dl-machine.h
38531         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38532         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38534         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38535         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38536         Likewise.
38537         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38538         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38539         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38540         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38541         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38542         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38543         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38544         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38546         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38548         (elf_machine_lazy_rel): Likewise.
38549         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38551         (elf_machine_lazy_rel): Likewise.
38552         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38553         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38554         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38555         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38556         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38557         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38558         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38560         Likewise.
38561         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38562         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38563         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38564         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38565         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38566         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38567         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38568         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38569         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38570         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38571         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38572         Likewise.
38573         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38574         (__posix_fallocate64_l64): Likewise.
38575         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38576         (posix_fallocate): Likewise.
38577         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38578         Likewise.
38579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38580         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38581         (getifaddrs_internal): Likewise.
38582         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38583         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38584         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38585         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38586         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38587         (__posix_fallocate64_l64): Likewise.
38588         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38589         Likewise.
38590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38591         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38592         (__get_clockfreq): Likewise.
38593         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38594         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38595         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38598         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38599         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38600         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38601         Likewise.
38602         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38603         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38604         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38606         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38607         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38608         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38609         Likewise.
38610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38611         (posix_fallocate): Likewise.
38612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38613         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38614         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38615         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38616         (elf_machine_rela, elf_machine_rela_relative)
38617         (elf_machine_lazy_rel): Likewise.
38618         * time/asctime.c (asctime_internal): Likewise.
38619         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38620         * time/tzset.c (__tzset_parse_tz): Likewise.
38621         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38622         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38623         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38624         * wcsmbs/wcsmbsload.h: Likewise.
38626         [BZ #15894]
38627         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38629         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38630         (arena_get2): Remove THREAD_STATS conditionals.
38631         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38632         (__malloc_stats, int): Likewise.
38634 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38636         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38637         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38639         * manual/setjmp.texi: Fix typos/grammar errors.
38641         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38642         Only return early when n is <= 0.  Delete unused return statement.
38644         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38645         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38646         * debug/tst-longjmp_chk3.c: New file.
38648         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38649         (test_main): Replace code with set_fortify_handler call.
38650         * debug/test-strcpy_chk.c: Likewise.
38651         * debug/tst-chk1.c: Likewise.
38652         * debug/tst-longjmp_chk.c: Likewise.
38653         * test-skeleton.c: Include fcntl.h & paths.h
38654         (set_fortify_handler): Define.
38656         * debug/tst-longjmp_chk.c: Add header comment and include
38657         ../test-skeleton.c.
38658         (do_test): Mark static.
38659         (TEST_FUNCTION): Define.
38661         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38662         (IP_PMTUDISC_INTERFACE): Likewise.
38663         (IP_MULTICAST_IF): Likewise.
38664         (IP_MULTICAST_TTL): Likewise.
38665         (IP_MULTICAST_LOOP): Likewise.
38666         (IP_ADD_MEMBERSHIP): Likewise.
38667         (IP_DROP_MEMBERSHIP): Likewise.
38668         (IP_UNBLOCK_SOURCE): Likewise.
38669         (IP_BLOCK_SOURCE): Likewise.
38670         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38671         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38672         (IP_MSFILTER): Likewise.
38673         (MCAST_JOIN_GROUP): Likewise.
38674         (MCAST_BLOCK_SOURCE): Likewise.
38675         (MCAST_UNBLOCK_SOURCE): Likewise.
38676         (MCAST_LEAVE_GROUP): Likewise.
38677         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38678         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38679         (MCAST_MSFILTER): Likewise.
38680         (IP_MULTICAST_ALL): Likewise.
38681         (IP_UNICAST_IF): Likewise.
38683         * timezone/Makefile: Delete $(have-ksh) check.
38684         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38685         * timezone/tzselect.ksh: Add +x mode bits.
38687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38688         (ANON_INODE_FS_MAGIC): Likewise.
38689         (BDEVFS_MAGIC): Likewise.
38690         (BINFMTFS_MAGIC): Likewise.
38691         (BTRFS_TEST_MAGIC): Likewise.
38692         (CRAMFS_MAGIC_WEND): Likewise.
38693         (DEBUGFS_MAGIC): Likewise.
38694         (ECRYPTFS_SUPER_MAGIC): Likewise.
38695         (EXT3_SUPER_MAGIC): Likewise.
38696         (EXT4_SUPER_MAGIC): Likewise.
38697         (FUTEXFS_SUPER_MAGIC): Likewise.
38698         (HOSTFS_SUPER_MAGIC): Likewise.
38699         (HUGETLBFS_MAGIC): Likewise.
38700         (MINIX3_SUPER_MAGIC): Likewise.
38701         (MTD_INODE_FS_MAGIC): Likewise.
38702         (NILFS_SUPER_MAGIC): Likewise.
38703         (OPENPROM_SUPER_MAGIC): Likewise.
38704         (PIPEFS_MAGIC): Likewise.
38705         (PSTOREFS_MAGIC): Likewise.
38706         (QNX6_SUPER_MAGIC): Likewise.
38707         (RAMFS_MAGIC): Likewise.
38708         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38709         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38710         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38711         (SECURITYFS_MAGIC): Likewise.
38712         (SELINUX_MAGIC): Likewise.
38713         (SMACK_MAGIC): Likewise.
38714         (SOCKFS_MAGIC): Likewise.
38715         (SQUASHFS_MAGIC): Likewise.
38716         (STACK_END_MAGIC): Likewise.
38717         (TMPFS_MAGIC): Likewise.
38718         (USBDEVICE_SUPER_MAGIC): Likewise.
38719         (V9FS_MAGIC): Likewise.
38720         (XENFS_SUPER_MAGIC): Likewise.
38721         (CRAMFS_MAGIC): Fix typo in comment.
38722         (EXT2_SUPER_MAGIC): Update comment.
38723         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38725 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38727         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38728         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38729         * sysdeps/unix/sysv/linux/arm: Move directory from
38730         ports/sysdeps/unix/sysv/linux/arm.
38731         * README: Update listing for arm-*-linux-gnueabi.
38733         * README: Remove mention of am33.
38735 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38737         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38738         than the comma operator, to avoid "rhs of comma has no effect"
38739         compiler warnings.
38740         (__sigfillset, __sigandset, __sigorset): Likewise.
38741         * include/signal.h (__sigemptyset): Likewise.
38742         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38744 2014-02-07  Allan McRae  <allan@archlinux.org>
38746         * version.h (RELEASE): Set to "development".
38747         (VERSION): Set to "2.19.90"
38748         * NEWS: Add 2.20 section.
38750 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38752         [BZ #16529]
38753         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38755 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38757         * manual/contrib.texi: Update entry for Carlos O'Donell,
38758         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38760 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38762         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38764         * sysdeps/unix/sysv/linux/kernel-features.h
38765         [__LINUX_KERNEL_VERSION >= 0x020621]
38766         (__ASSUME_PROC_PID_TASK_COMM): Define.
38768 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38770         [BZ #16398]
38771         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38772         conversion when destination buffer does not have enough space.
38773         * libio/tst-ftell-partial-wide.c: New test case.
38774         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38776         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38777         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38778         Leonard and Allan McRae.
38780 2014-02-04  David S. Miller  <davem@davemloft.net>
38782         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38783         32-bit.
38785 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38788         New file
38789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38790         New file
38791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38792         New file.
38793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38794         New file.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38796         New file.
38797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38798         New file.
38799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38800         New file.
38801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38802         New file.
38803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38804         New file.
38805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38806         New file.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38808         New file.
38809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38810         New file.
38811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38812         New file.
38814 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38816         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38817         * shlib-versions: Likewise.
38819 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38820             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38822         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38823         (abilist-pattern): New variable, set to %-le.abilist.
38825         * Makerules (abilist-pattern): New variable.
38826         (vpath): Use $(abilist-pattern) in place of %.abilist.
38827         (check-abi-% pattern rule): Likewise.
38828         (check-abi, update-abi): Likewise.
38830 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38834 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38836         * manual/startup.texi: Add next, previous, and top entries for
38837         the `Program Arguments' and `Environment Variables' nodes.
38839 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38841         * manual/macros.texi: Add comments before MTASC-safety macros.
38843         * manual/users.texi: Document MTASC-safety properties.
38845         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38846         (pthread_getspecific, pthread_setspecific): Format with
38847         @deftypefun, and add @safety note.
38848         * manual/signal.texi: Move comments that analyze the above
38849         functions to their home place.
38851 2014-02-03  Allan McRae  <allan@archlinux.org>
38853         * po/sl.po: Update Slovenian translation from translation project.
38855 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38857         * manual/time.texi (timegm): Add missing blank after @c.
38858         Reported by Joseph Myers <joseph@codesourcery.com>.
38860 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38862         * manual/check-safety.sh: New.
38863         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38865         * manual/terminal.texi: Document MTASC-safety properties.
38867         * manual/filesys.texi: Document MTASC-safety properties.
38869         * manual/errno.texi: Document MTASC-safety properties.
38871         * manual/intro.texi: Document safety identifiers and
38872         conditionals.
38874         * manual/string.texi (wcstok): Fix prototype.
38875         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38877         * manual/time.texi: Document MTASC-safety properties.
38879         * manual/string.texi: Document MTASC-safety properties.
38881         * manual/threads.texi: Document MTASC-safety properties.
38883         * manual/stdio.texi: Document MTASC-safety properties.
38885         * manual/syslog.texi: Document MTASC-safety properties.
38887         * manual/sysinfo.texi: Document MTASC-safety properties.
38889         * manual/startup.texi: Document MTASC-safety properties.
38891         * manual/socket.texi: Document MTASC-safety properties.
38893         * manual/signal.texi: Document MTASC-safety properties.
38895 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38897         * manual/setjmp.texi: Document MTASC-safety properties.
38899         * manual/search.texi: Document MTASC-safety properties.
38901         * manual/resource.texi: Document MTASC-safety properties.
38903         * manual/process.texi: Document MTASC-safety properties.
38905         * manual/platform.texi: Document MTASC-safety properties.
38907         * manual/pipe.texi: Document MTASC-safety properties.
38909         * manual/pattern.texi: Document MTASC-safety properties.
38911         * manual/message.texi: Document MTASC-safety properties.
38913         [BZ #12751]
38914         * manual/memory.texi: Document MTASC-safety properties.
38916         * manual/math.texi: Document MTASC-safety properties.
38918         * manual/locale.texi: Document MTASC-safety properties.
38920         * manual/llio.texi: Document MTASC-safety properties.
38922         * manual/libdl.texi: New.
38924         * manual/lang.texi: Document MTASC-safety properties.
38926         * manual/job.texi: Document MTASC-safety properties.
38928         * manual/getopt.texi: Document MTASC-safety properties.
38930         * manual/ctype.texi: Document MTASC-safety properties.
38932 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38934         [BZ #16046]
38935         * csu/libc-tls.c (static_map): Remove variable.
38936         (__libc_setup_tls): Use main executable's link map for TLS data.
38937         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38938         casing for LM_ID_BASE and GL(dl_nns).
38939         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38940         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38941         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38942         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38943         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38944         member.
38945         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38946         l_phnum members.
38948 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38950         * manual/debug.texi: Document MTASC-safety properties.
38952 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38954         [BZ #16510]
38955         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38956         of __x86_64__ when disabling x87 inline functions.
38958 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38960         * manual/charset.texi: Document MTASC-safety properties.
38962         * manual/crypt.texi: Document MTASC-safety properties.
38964         * manual/conf.texi: Document MTASC-safety properties.
38966         * manual/arith.texi: Document MTASC-safety properties.
38968         * manual/argp.texi: Document MTASC-safety properties.
38970         * manual/macros.texi: Introduce macros to document multi
38971         thread, asynchronous signal and asynchronous cancellation
38972         safety properties.
38973         * manual/intro.texi: Introduce the properties themselves.
38975 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38977         * sysdeps/sh/sh4/Makefile: New file.
38979 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38981         * math/gen-libm-test.pl ($srcdir): New variable.
38982         ($auto_input): Use it.
38984 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38986         [BZ #16506]
38987         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38988         access beyond array bounds when parsing netgroups file.
38990         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38991         the old buffer before realloc.
38993 2014-01-27  Allan McRae  <allan@archlinux.org>
38995         * po/fr.po: Update French translation from translation project.
38997 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38999         * sysdeps/sh/libm-test-ulps: Regenerate.
39001 2014-01-24  David S. Miller  <davem@davemloft.net>
39003         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39005 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39007         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39008         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39010 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39012         [BZ #16474]
39013         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39014         string pointers after reallocation.
39016 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39018         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39019         __SH4A__ instead of __SH_FPU_ANY__.
39021 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39023         * sysdeps/sh/fpu_control.h: New file.
39024         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39025         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39026         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39027         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39028         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39029         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39030         * sysdeps/sh/sys/ucontext.h: Remove.
39031         * sysdeps/sh/sys: Remove directory.
39033 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39035         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39036         s390/sys/ucontext.h.
39037         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39038         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39040 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39042         [BZ #15605]
39043         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39045 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39047         [BZ#16431]
39048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39049         Adjust the vDSO correctly for internal calls.
39050         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39052 2014-01-20  Allan McRae  <allan@archlinux.org>
39054         * po/ca.po: Update Catalan translation from translation project.
39056 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39058         * sysdeps/s390/sotruss-lib.c: New file.
39060 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39062         [BZ#16430]
39063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39064         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39065         local calls issues by not having a PLT stub required for IFUNC calls.
39066         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39068 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39070         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39071         * math/test-fpucw-static.c: Likewise.
39073 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39075         [BZ #16453]
39076         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39078 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39080         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39081         implementation for powerpc.
39083 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39085         [BZ #14782]
39086         * sysdeps/posix/system.c (__libc_system): Do not enable
39087         asynchronous cancellation.
39089 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39091         [BZ #16427]
39092         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39093         handling only for numbers special also in the IEEE case.
39095 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39099 2014-01-11  Allan McRae  <allan@archlinux.org>
39101         * po/bg.po: Update Bulgarian translation from translation project.
39103         * po/de.po: Update German translation from translation project.
39105 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39107         * sysdeps/generic/gcc-compat.h: New file.
39109 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39111         * benchtests/asin-inputs: Correct slow inputs.
39112         * benchtests/acos-inputs: Likewise.
39114 2014-01-10  Allan McRae  <allan@archlinux.org>
39116         * po:sv.po: Update Swedish translation from translation project.
39118         * po/vi.po: Update Vietnamese translation from translation project.
39120         * po/eo.po: Update Esperanto translation from translation project.
39122         * po/cs.po: Update Czech translation from translation project.
39124         * po/nl.po: Update Dutch translation from translation project.
39126         * po/pl.po: Update Polish translation from translation project.
39128         * po/ru.po: Update Russian translation from translation project.
39130         * po/uk.po: Update Ukrainian translation from translation project.
39132 2014-01-08  Brooks Moses  <bmoses@google.com>
39134         * elf/dl-load.c: Fix comment typo.
39136 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39138         * po/header.pot: Rename to...
39139         * po/pot.header: ... this.
39140         * po/Makefile: Use pot.header.
39142 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39143             Maxim Kuvyrkov  <maxim@kugelworks.com>
39145         [BZ #16394]
39146         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39147         SRC and DEST against LEN.
39149 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39151         [BZ #16414]
39152         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39153         implementation.
39154         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39156 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39160 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39162         [BZ #16408]
39163         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39164         for large positive arguments.
39166 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39168         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39170         * math/auto-libm-test-in: Mark various tests with
39171         xfail-rounding:ldbl-128ibm.
39172         * math/auto-libm-test-out: Regenerated.
39174         [BZ #16407]
39175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39176         Increase overflow threshold.
39178 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39180         [BZ #14286]
39181         * stdio-common/vfprintf.c: Check for integer overflow.
39183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39185         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39186         the first argument and return value of __tls_get_addr_internal.
39188 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39190         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39191         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39193 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39195         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39196         * sysdeps/s390/rtld-global-offsets.sym: New file.
39197         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39198         GLIBC_2.19 symbol.
39199         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39200         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39202         ... this.
39203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39204         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39205         ... this.
39206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39207         Regenerate.
39208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39209         Regenerate.
39210         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39211         halfs of GPRs for high_gprs contexts.
39212         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39213         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39214         field.
39215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39216         uc_flags field.
39217         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39218         64 bit versions:
39219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39220         for high GPRs (uc_high_gprs) and for future extensions
39221         (__reserved).
39222         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39223         for future extensions (__reserved).
39224         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39225         64 bit versions:
39226         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39227         SC_HIGHGPRS offset definition.
39228         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39229         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39231         * Versions.def: Add GLIBC_2.19 for libpthread.
39232         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39233         siglongjmp for libpthread with GLIBC_2.19 symver.
39234         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39235         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39236         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39237         * sysdeps/s390/__longjmp.c: New file.
39238         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39239         * sysdeps/s390/longjmp.c: New file.
39240         * sysdeps/s390/setjmp.S: New file.
39241         * sysdeps/s390/sigjmp.S: New file.
39242         * sysdeps/s390/v1-longjmp.c: New file.
39243         * sysdeps/s390/v1-setjmp.h: New file.
39244         * sysdeps/s390/v1-sigjmp.c: New file.
39245         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39246         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39247         GLIBC_2.19 version.
39248         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39249         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39250         versioned symbols for ____longjmp_chk.
39251         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39252         Likewise.
39253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39254         Regenerate.
39255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39256         Regenerate.
39257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39258         Regenerate.
39259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39260         Regenerate.
39261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39262         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39263         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39264         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39265         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39266         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39267         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39268         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39269         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39270         * sysdeps/s390/rtld-__longjmp.c: New file.
39271         * sysdeps/s390/rtld-setjmp.S: New file.
39273 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39275         [BZ #16400]
39276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39277         Return -__logl (x) for small positive arguments without evaluating
39278         a polynomial.
39280 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39282         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39283         Rename to ...
39284         (__ptrace_peeksiginfo_args): ... this.
39285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39289 2014-01-06  Allan McRae  <allan@archlinux.org>
39291         * inet/netinet/in.h: Fix typo in comment.
39293 2014-01-05  Andreas Jaeger  <aj@suse.de>
39295         * sysdeps/i386/fpu/libm-test-ulps: Update.
39297 2014-01-05  Allan McRae  <allan@archlinux.org>
39299         * po/libc.pot: Regenerated.
39301         * malloc/memusagestat.c: Fix gettext call formatting.
39303 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39305         * nscd/nscd.c: Improve usage() output.
39307 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39309         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39310         * sysdeps/unix/sysv/linux/configure: Regenerated.
39311         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39312         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39316         [BZ #16390]
39317         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39318         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39320 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39323         extra tokens at end of #undef directive.
39324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39325         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39328 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39330         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39332         * math/auto-libm-test-in: Mark various tests with
39333         xfail-rounding:ldbl-128ibm.
39334         * math/auto-libm-test-out: Regenerated.
39336 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39338         [BZ #16386]
39339         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39340         numbers with subnormal high part when calculating exponent.
39342         [BZ #16385]
39343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39344         fabs.
39346         [BZ #16384]
39347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39348         M_LN2l.
39349         (__ieee754_acoshl): Use __log1pl not __log1p.
39351 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39353         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39354         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39355         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39356         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39357         (reused_arena, arena_get2): Convert to GNU style.
39358         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39359         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39360         (memalign_check, __malloc_set_state): Likewise.
39361         * malloc/mallocbug.c (main): Likewise.
39362         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39363         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39364         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39365         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39366         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39367         (__posix_memalign, malloc_info): Likewise.
39368         * malloc/malloc.h: Likewise.
39369         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39370         (mallochook, memalignhook, reallochook, mabort): Likewise.
39371         * malloc/mcheck.h: Likewise.
39372         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39373         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39374         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39375         * malloc/morecore.c (__default_morecore): Likewise.
39376         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39377         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39378         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39379         (print_and_abort): Likewise.
39380         * malloc/obstack.h: Likewise.
39381         * malloc/set-freeres.c (__libc_freeres): Likewise.
39382         * malloc/tst-mallocstate.c (main): Likewise.
39383         * malloc/tst-mtrace.c (main): Likewise.
39384         * malloc/tst-realloc.c (do_test): Likewise.
39386 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39388         [BZ #16366]
39389         * nscd/netgroupcache.c (do_notfound): New function.
39390         (addgetnetgrentX): Use it.
39392         [BZ # 16365]
39393         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39394         NSS_STATUS_NOTFOUND.
39396 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39398         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39401 2014-01-01  Allan McRae  <allan@archlinux.org>
39403         * scripts/update-copyrights: Update configure input file suffix.
39405         * NEWS: Update copyright year.
39406         * catgets/gencat.c: Likewise.
39407         * csu/version.c: Likewise.
39408         * debug/catchsegv.sh: Likewise.
39409         * debug/pcprofiledump.c: Likewise.
39410         * debug/xtrace.sh: Likewise.
39411         * elf/ldconfig.c: Likewise.
39412         * elf/ldd.bash.in: Likewise.
39413         * elf/pldd.c: Likewise.
39414         * elf/sotruss.ksh: Likewise.
39415         * elf/sprof.c: Likewise.
39416         * iconv/iconv_prog.c: Likewise.
39417         * iconv/iconvconfig.c: Likewise.
39418         * locale/programs/locale.c: Likewise.
39419         * locale/programs/localedef.c: Likewise.
39420         * login/programs/pt_chown.c: Likewise.
39421         * malloc/memusage.sh: Likewise.
39422         * malloc/memusagestat.c: Likewise.
39423         * malloc/mtrace.pl: Likewise.
39424         * manual/libc.texinfo: Likewise.
39425         * nscd/nscd.c: Likewise.
39426         * nss/getent.c: Likewise.
39427         * nss/makedb.c: Likewise.
39428         * posix/getconf.c: Likewise.
39429         * scripts/test-installation.pl: Likewise.
39431         * All files with FSF copyright notices: Update copyright dates
39432         using scripts/update-copyrights.
39433         * intl/plural.c: Regenerated.
39434         * locale/programs/charmap-kw.h: Likewise.
39435         * locale/programs/locfile-kw.h: Likewise.
39437 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39439         * sysdeps/unix/sysv/linux/configure: Regenerated.
39440         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39441         the linux/fanotify.h header.
39442         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39443         HAVE_LINUX_FANOTIFY_H is defined.
39445 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39447         * benchtests/cos-inputs: New inputs.
39448         * benchtests/sin-inputs: Likewise.
39450         * benchtests/atan-inputs: New inputs. Fix name of multiple
39451         precision fallback inputs.
39453         * benchtests/atanh-inputs: New inputs.
39454         * benchtests/tanh-inputs: Likewise.
39456         * benchtests/acosh-inputs: New inputs.
39457         * benchtests/asinh-inputs: Likewise.
39459         * benchtests/cosh-inputs: New inputs.
39460         * benchtests/sinh-inputs: Likewise.
39462         * benchtests/acos-inputs: Add more inputs.
39463         * benchtests/asin-inputs: Likewise.
39465 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39467         [BZ #16375]
39468         * manual/arith.texi: Fix spelling.
39469         * manual/charset.texi: Likewise.
39470         * manual/errno.texi: Likewise.
39471         * manual/filesys.texi: Likewise.
39472         * manual/lang.texi: Likewise.
39473         * manual/llio.texi: Likewise.
39474         * manual/locale.texi: Likewise.
39475         * manual/message.texi: Likewise.
39476         * manual/resource.texi: Likewise.
39477         * manual/search.texi: Likewise.
39478         * manual/setjmp.texi: Likewise.
39479         * manual/stdio.texi: Likewise.
39480         * manual/string.texi: Likewise.
39481         * manual/sysinfo.texi: Likewise.
39482         * manual/time.texi: Likewise.
39484 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39486         * po/sl.po: New file.
39488 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39490         * .gitignore: Add core/.gdbinit/.gdb_history.
39492 2013-12-27  Allan McRae  <allan@archlinux.org>
39494         [BZ #16369]
39495         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39496         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39498 2013-12-24  Brooks Moses  <bmoses@google.com>
39500         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39501         all compilers that claim C++98 compliance, not just GCC.
39502         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39503         Likewise.
39505 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39507         * NEWS: Restore accidentally deleted bug-fix entries.
39509 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39510             Ondřej Bílka  <neleai@seznam.cz>
39512         [BZ #15073]
39513         * malloc/malloc.c (_int_free): Perform sanity check only if we
39514         have_lock.
39516 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39518         [BZ #12986]
39519         * manual/stdio.texi (String Input Conversions): Clarify that character
39520         classes are not supported.
39522 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39526 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39528         [BZ #16337]
39529         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39530         Calculate results for small negative arguments directly rather
39531         than using reflection formula with special underflow handling.
39533         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39534         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39535         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39536         (fchflags): Likewise.
39537         (revoke): Likewise.
39538         (setlogin): Likewise.
39539         (sigaltstack): Likewise.
39540         (wait4): Likewise.
39541         (sigblock): Remove.
39542         (sigsetmask): Likewise.
39543         (wait3): Likewise.
39544         (waitpid): Likewise.
39545         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39546         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39547         file.
39548         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39549         * sysdeps/unix/bsd/Makefile: ... here.
39550         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39551         * sysdeps/unix/bsd/Versions: ... here.
39552         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39553         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39554         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39555         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39556         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39557         * sysdeps/unix/bsd/sigblock.c: ... here.
39558         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39559         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39560         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39561         * sysdeps/unix/bsd/sigvec.c: ... here.
39562         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39563         * sysdeps/unix/bsd/tcdrain.c: ... here.
39564         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39565         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39566         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39567         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39568         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39569         * sysdeps/unix/bsd/wait.c: ... here.
39570         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39571         * sysdeps/unix/bsd/wait3.c: ... here.
39572         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39573         * sysdeps/unix/bsd/waitpid.c: ... here.
39575 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39577         [BZ #16356]
39578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39579         round-to-nearest for [!USE_AS_EXPM1L].
39580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39581         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39582         more tests of exp and exp10.  Expect some exp10 tests to miss
39583         exceptions or fail in directed rounding modes.
39584         * math/auto-libm-test-out: Regenerated.
39585         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39586         (exp10_test_tonearest): New function.
39587         (exp10_towardzero_test_data): New array.
39588         (exp10_test_towardzero): New function.
39589         (exp10_downward_test_data): New array.
39590         (exp10_test_downward): New function.
39591         (exp10_upward_test_data): New array.
39592         (exp10_test_upward): New function.
39593         (main): Call the new functions.
39594         * sysdeps/i386/fpu/libm-test-ulps: Update.
39595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39597 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39599         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39600         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39601         * math/auto-libm-test-out: Regenerated.
39602         * math/libm-test.inc (acosh_test_data): Add more tests.
39603         (atanh_test_data): Likewise.
39604         (ceil_test_data): Likewise.
39605         (copysign_test_data): Likewise.
39606         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39609         * timezone/checktab.awk: Update from tzcode 2013i.
39610         * timezone/private.h: Likewise.
39611         * timezone/scheck.c: Likewise.
39612         * timezone/tzfile.h: Likewise.
39613         * timezone/tzselect.ksh: Likewise.
39614         * timezone/zdump.c: Likewise.
39615         * timezone/zic.c: Likewise.
39617         * math/auto-libm-test-in: Add tests of cpow.
39618         * math/auto-libm-test-out: Regenerated.
39619         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39621         mpc_cc_c.
39622         (func_calc_desc): Add mpc_cc_c union field.
39623         (test_functions): Add cpow.
39624         (special_fill_2pi): New function.
39625         (special_real_inputs): Add 2pi.
39626         (calc_generic_results): Handle mpc_cc_c.
39627         * sysdeps/i386/fpu/libm-test-ulps: Update.
39628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39630         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39631         csqrt, ctan and ctanh.
39632         * math/auto-libm-test-out: Regenerated.
39633         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39634         (TEST_COND_x86): Likewise.
39635         (ccos_test_data): Use AUTO_TESTS_c_c.
39636         (ccosh_test_data): Likewise.
39637         (cexp_test_data): Likewise.
39638         (clog_test_data): Likewise.
39639         (csqrt_test_data): Likewise.
39640         (ctan_test_data): Likewise.
39641         (ctan_tonearest_test_data): Likewise.
39642         (ctan_towardzero_test_data): Likewise.
39643         (ctan_downward_test_data): Likewise.
39644         (ctan_upward_test_data): Likewise.
39645         (ctanh_test_data): Likewise.
39646         (ctanh_tonearest_test_data): Likewise.
39647         (ctanh_towardzero_test_data): Likewise.
39648         (ctanh_downward_test_data): Likewise.
39649         (ctanh_upward_test_data): Likewise.
39650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39651         mpc_c_c.
39652         (func_calc_desc): Add mpc_c_c union field.
39653         (FUNC_mpc_c_c): New macro.
39654         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39655         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39656         ctanh.
39657         (special_fill_min_subnorm_p120): New function.
39658         (special_real_inputs): Add min_subnorm_p120.
39659         (calc_generic_results): Handle mpc_c_c.
39660         * sysdeps/i386/fpu/libm-test-ulps: Update.
39661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39665         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39666         (do_sin_slow): New functions.
39667         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39668         (cslow2, csloww1, csloww2): Use the new functions.
39670         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39671         Use M to change sign of result instead of X.  Assume X is
39672         positive.
39673         (csloww1): Likewise.
39674         (__sin): Adjust.
39675         (__cos): Adjust.
39677         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39678         arguments A and DA.
39679         (__sin): Adjust.
39680         (__cos): Likewise.
39682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39683         (__cos): Likewise.
39684         (sloww1): Don't adjust sign of DX.
39685         (csloww1): Likewise.
39686         (sloww2): Use X directly and don't adjust sign of DX.
39687         (csloww2): Likewise.
39689 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39691         * math/auto-libm-test-in: Add tests of cabs and carg.
39692         * math/auto-libm-test-out: Regenerated.
39693         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39694         (carg_test_data): Likewise.
39695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39696         mpc_c_f.
39697         (func_calc_desc): Add mpc_c_f union field.
39698         (test_functions): Add cabs and carg.
39699         (calc_generic_results): Handle mpc_c_f.
39701         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39702         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39703         as a macro and a compat symbol.
39704         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39705         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39706         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39707         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39708         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39710         not use .hidden.
39711         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39712         Likewise.
39713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39714         Likewise.
39715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39716         Likewise.
39717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39718         Likewise.
39719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39720         Likewise.
39721         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39722         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39723         from GLIBC_2.3.2.
39725 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39729 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39731         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39732         trailing whitespace removed.
39733         * scripts/config.guess: Update to version 2013-11-29.
39734         * scripts/config.sub: Update to version 2013-10-01.
39736         * math/auto-libm-test-in: Add tests of sincos.
39737         * math/auto-libm-test-out: Regenerated.
39738         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39740         mpfr_f_11.
39741         (func_calc_desc): Add mpfr_f_11 union field.
39742         (test_functions): Add sincos.
39743         (calc_generic_results): Handle mpfr_f_11.
39744         * sysdeps/i386/fpu/libm-test-ulps: Update.
39745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39747 2013-12-19  Andreas Schwab  <schwab@suse.de>
39749         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39750         CALL_MCOUNT.
39751         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39752         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39753         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39755 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39757         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39758         * sysdeps/i386/fpu/libm-test-ulps: Update.
39759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39761         [BZ #16293]
39762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39763         round-to-nearest mode when using frndint.
39764         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39765         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39766         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39767         Likewise.
39768         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39769         sinh test to fail.
39770         * math/auto-libm-test-out: Regenerated.
39771         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39772         (TEST_COND_x86): Likewise.
39773         (expm1_tonearest_test_data): New array.
39774         (expm1_test_tonearest): New function.
39775         (expm1_towardzero_test_data): New array.
39776         (expm1_test_towardzero): New function.
39777         (expm1_downward_test_data): New array.
39778         (expm1_test_downward): New function.
39779         (expm1_upward_test_data): New array.
39780         (expm1_test_upward): New function.
39781         (main): Run the new test functions.
39782         * sysdeps/i386/fpu/libm-test-ulps: Update.
39783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39785         * include/features.h: Update comment documenting feature test
39786         macros.  Mention _DEFAULT_SOURCE in comment.
39787         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39788         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39789         _BSD_SOURCE and _SVID_SOURCE.
39790         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39791         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39792         !_SVID_SOURCE]: Likewise.
39793         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39794         (__USE_POSIX_IMPLICITLY): Define.
39795         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39796         (_POSIX_SOURCE): Undefine and redefine.
39797         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39798         (_POSIX_C_SOURCE): Likewise.
39799         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39800         (Feature Test Macros): Update documentation of default features.
39802 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39804         * benchtests/Makefile: Add bench-strtok.
39805         * benchtests/bench-strtok.c: New file: strtok benchtest.
39807 2013-12-19  Allan McRae  <allan@archlinux.org>
39809         * manual/install.texi: Suppress menu for plain text output.
39810         * INSTALL: Regenerated.
39812 2013-12-18  Brooks Moses  <bmoses@google.com>
39814         [BZ #15846]
39815         * misc/getauxval.c: Include errno.h.
39816         (__getauxval): Set errno to ENOENT if the requested type is not
39817         found.
39818         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39819         don't declare with __attribute_const__.
39820         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39821         * manual/startup.texi: Document that getauxval sets errno.
39823 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39825         * math/auto-libm-test-in: Add tests of jn and yn.
39826         * math/auto-libm-test-out: Regenerated.
39827         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39828         (yn_test_data): Likewise.
39829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39830         mpfr_if_f.
39831         (func_calc_desc): Add mpfr_if_f union field.
39832         (FUNC_mpfr_if_f): New macro.
39833         (test_functions): Add jn and yn.
39834         (calc_generic_results): Assert type of second input for
39835         mpfr_ff_f.  Handle mpfr_if_f.
39836         (output_for_one_input_case): Disable all checking for arguments
39837         fitting floating-point types in case of an integer argument.
39838         * sysdeps/i386/fpu/libm-test-ulps: Update.
39839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39842         Don't expect fegetround reference in libm.so.
39844 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39846         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39847         $(config-cflags-nofma).
39849 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39851         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39852         * math/auto-libm-test-out: Regenerated.
39854         [BZ #16338]
39855         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39856         to determine exponent and adjust argument to have exponent of -1.
39857         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39858         log2.
39859         * math/auto-libm-test-out: Regenerated.
39860         * sysdeps/i386/fpu/libm-test-ulps: Update.
39861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39863 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39865         * manual/probes.texi: Remove cases when per-thread arenas are
39866         disabled.
39868 2013-12-18  Andreas Schwab  <schwab@suse.de>
39870         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39871         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39872         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39873         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39874         * sysdeps/i386/i686/multiarch/Makefile: Update.
39875         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39877 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39879         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39880         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39882 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39884         [BZ #15968]
39885         Support TZ transition times < 00:00:00.
39886         This is needed for version-3 tz-format files; it supports time
39887         stamps past 2037 for America/Godthab (the only entry in the tz
39888         database for which this change is relevant).
39889         * manual/time.texi (TZ Variable): Document transition times
39890         from -167:59:59 through -00:00:01.
39891         * time/tzset.c (tz_rule): Time of day is now signed.
39892         (__tzset_parse_tz): Parse negative time of day.
39894         Document TZ transition times >= 25:00:00.
39895         * manual/time.texi (TZ Variable): Document transition times from
39896         25:00:00 through 167:59:59.  These are already supported, and this
39897         support will help with version-3 tz-format files.
39899         * manual/time.texi (TZ Variable): Modernize North America example
39900         to reflect current (i.e., 2007-and-later) daylight saving rules.
39902         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39904 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39906         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39907         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39909         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39910         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39911         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39912         * sysdeps/unix/bsd/clock.c: Likewise.
39913         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39914         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39915         * sysdeps/unix/bsd/init-posix.c: Likewise.
39916         * sysdeps/unix/bsd/poll.c: Likewise.
39917         * sysdeps/unix/bsd/ptsname.c: Likewise.
39918         * sysdeps/unix/bsd/seekdir.c: Likewise.
39919         * sysdeps/unix/bsd/setegid.c: Likewise.
39920         * sysdeps/unix/bsd/seteuid.c: Likewise.
39921         * sysdeps/unix/bsd/setgid.c: Likewise.
39922         * sysdeps/unix/bsd/setrgid.c: Likewise.
39923         * sysdeps/unix/bsd/setruid.c: Likewise.
39924         * sysdeps/unix/bsd/setsid.c: Likewise.
39925         * sysdeps/unix/bsd/setuid.c: Likewise.
39926         * sysdeps/unix/bsd/sigaction.c: Likewise.
39927         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39928         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39929         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39930         * sysdeps/unix/bsd/telldir.c: Likewise.
39931         * sysdeps/unix/bsd/times.c: Likewise.
39932         * sysdeps/unix/bsd/usleep.c: Likewise.
39934         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39935         ($(objpfx)libbsd-compat.a): Remove rule.
39937         * include/features.h (__FAVOR_BSD): Do not define.
39938         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39939         features conflicting with POSIX.
39940         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39941         (_BSD_SOURCE): Remove description of not being a subset of other
39942         feature test macros.
39943         * manual/job.texi (getpgrp): Do not document BSD version.
39944         (getpgid): Do not document by reference to BSD getpgrp.
39945         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39946         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39947         * signal/signal.h [__FAVOR_BSD]: Likewise.
39948         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39949         instead of making contents conditional on [__FAVOR_BSD].
39950         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39952 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39956 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39958         [BZ #16314]
39959         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39960         values below 2**-450, not 2**-500.
39961         * math/auto-libm-test-in: Don't allow spurious underflow from
39962         hypot.
39963         * math/auto-libm-test-out: Regenerated.
39965         [BZ #16316]
39966         [BZ #16330]
39967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39968         values of ha and hb and sort them after adjusting subnormal
39969         arguments.
39970         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39971         Likewise.
39972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39973         values of ea and eb and sort them after adjusting subnormal
39974         arguments.
39975         * math/auto-libm-test-in: Do not expect some hypot tests of
39976         subnormals to fail.  Add more hypot tests.
39977         * math/auto-libm-test-out: Regenerated.
39979 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39981         [BZ #13304]
39982         * sysdeps/sh/s_fma.c: New file.
39983         * sysdeps/sh/s_fmaf.c: New file.
39984         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39985         version.
39986         * sysdeps/sh/Implies: Add sh/soft-fp.
39988 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39990         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39991         level of indirection to members `objname', `errstring', `malloced'.
39992         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39993         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39994         it as the __longjmp argument (just pass 1 instead).
39995         (_dl_catch_error): Initialize C with argument pointers and address of
39996         volatile local ERRCODE rather than copying values out of C at return.
39998 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40000         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40001         * math/auto-libm-test-out: Regenerated.
40002         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40003         (hypot_test_data): Likewise.
40004         (pow_test_data): Likewise.
40005         (pow_tonearest_test_data): Likewise.
40006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40007         mpfr_ff_f.
40008         (func_calc_desc): Add mpfr_ff_f union field.
40009         (FUNC_mpfr_ff_f): New macro.
40010         (test_functions): Add atan2, hypot and pow.
40011         (special_fill_min): New function.
40012         (special_fill_minus_min): Likewise.
40013         (special_fill_min_subnorm): Likewise.
40014         (special_fill_minus_min_subnorm): Likewise.
40015         (special_real_inputs): Add min, -min, min_subnorm and
40016         -min_subnorm.
40017         (calc_generic_results): Handle mpfr_ff_f.
40018         * sysdeps/i386/fpu/libm-test-ulps: Update.
40019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40021 2013-12-16  Will Newton  <will.newton@linaro.org>
40023         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40024         (Aligned Memory Blocks): Add documentation for aligned_alloc
40025         and suggest it as an alternative to posix_memalign.
40026         (Hooks for Malloc): Document __memalign_hook is also called
40027         for aligned_alloc.  (Summary of Malloc): Add summary for
40028         aligned alloc.  Document __memalign_hook is also called
40029         for aligned_alloc.
40031 2013-12-16  Will Newton  <will.newton@linaro.org>
40033         * manual/memory.texi (Malloc Examples): Clarify default
40034         alignment documentation.  Suggest posix_memalign rather
40035         than memalign or valloc.
40036         (Aligned Memory Blocks): Remove suggestion to use memalign
40037         or valloc.  Remove obsolete comment about BSD.
40038         Document memalign errno values and mark the function obsolete.
40039         Document posix_memalign returned error codes.  Mark valloc
40040         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40041         called for posix_memalign and valloc.
40042         (Summary of Malloc): Add posix_memalign to function summary.
40043         __memalign_hook is also called for posix_memalign and valloc.
40045 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40047         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40048         TAYLOR_SIN.
40049         (__sin): Adjust.
40050         (__cos): Likewise.
40051         (sloww): Use mynumber union.  Expand ternary operator into
40052         if-else statements.
40053         (cslow): use mynumber union.
40055 2013-12-16  Allan McRae  <allan@archlinux.org>
40057         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40058         * configure: Regenerated.
40060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40062         [BZ #14120]
40063         * configure.ac: Added --enable-maintainer-mode. Check for
40064         autoconf when enabled.
40065         * configure: Regenerated.
40067         * nscd/nscd.service: New file.
40068         * nscd/nscd.tmpfiles: New file.
40070 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40072         [BZ #12100]
40073         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40074         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40075         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40076         (strstr): Add __strstr_sse2_unaligned ifunc.
40077         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40078         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40079         (strcasestr): Remove __strcasestr_sse42 ifunc.
40080         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40084 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40086         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40087         * sysdeps/sh/bits/fenv.h: ... here.
40088         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40090 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40092         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40095         hypotf multiarch implementations.
40096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40099         multiarch hypot for PPC64.
40100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40103         multiarch hypotf for PPC64.
40105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40106         modff multiarch implementations.
40107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40110         multiarch modf for PPC64.
40111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40114         multiarch modff for PPC64.
40116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40117         and logl multiarch implementations.
40118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40121         multiarch logb for PPC64.
40122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40125         multiarch logb for PPC64.
40126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40129         multiarch logb for PPC64.
40131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40132         isinff multiarch implementation.
40133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40134         file.
40135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40137         multiarch isinf for PPC64.
40138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40139         file.
40140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40141         multiarch isinff for PPC64.
40143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40144         finitef multiarch implementation.
40145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40146         file.
40147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40149         multiarch finite for PPC64.
40150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40151         file.
40152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40153         multiarch finitef for PPC64.
40155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40156         lrint multiarch implementation.
40157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40158         file.
40159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40161         multiarch llrint for PPC64.
40162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40163         multiarch lrint for PPC64.
40165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40166         copysignf multiarch implementation.
40167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40168         file.
40169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40170         file.
40171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40172         multiarch copysign for PPC64.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40174         multiarch copysignf for PPC64.
40176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40177         multiarch implementation.
40178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40179         file.
40180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40181         file.
40182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40183         file.
40184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40185         file.
40186         multiarch llround for PPC64.
40187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40188         multiarch trunc for PPC64.
40189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40190         multiarch truncf for PPC64.
40192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40193         multiarch implementation.
40194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40195         file.
40196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40197         file.
40198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40199         file.
40200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40201         file.
40202         multiarch llround for PPC64.
40203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40204         multiarch round for PPC64.
40205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40206         multiarch roundf for PPC64.
40208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40209         multiarch implementation.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40211         file.
40212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40213         file.
40214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40215         file.
40216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40217         file.
40218         multiarch llround for PPC64.
40219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40220         multiarch floor for PPC64.
40221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40222         multiarch floorf for PPC64.
40224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40225         multiarch implementation.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40227         file.
40228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40229         file.
40230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40231         file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40233         file.
40234         multiarch llround for PPC64.
40235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40236         multiarch ceil for PPC64.
40237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40238         multiarch ceilf for PPC64.
40240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40241         multiarch implementation.
40242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40243         file.
40244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40245         file.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40247         file.
40248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40249         multiarch llround for PPC64.
40250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40251         multiarch lround for PPC64.
40253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40254         multiarch implementation.
40255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40258         file.
40259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40262         multiarch isnan for PPC64.
40263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40264         multiarch isnanf for PPC64.
40266         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40267         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40268         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40269         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40270         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40273         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40279         multiarch implementations.
40280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40281         (__libc_ifunc_impl_list): Likewise.
40282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40283         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40285         multiarch stpcpy for PPC64.
40287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40288         multiarch implementations.
40289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40290         (__libc_ifunc_impl_list): Likewise.
40291         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40293         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40294         multiarch strcpy for PPC64.
40296         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40297         redefine function name.
40298         (_wordcopy_fwd_dest_aligned): Likewise.
40299         (_wordcopy_bwd_aligned): Likewise.
40300         (_wordcopy_bwd_dest_aligned): Likewise.
40301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40302         multiarch implementations.
40303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40304         (__libc_ifunc_impl_list): Likewise.
40305         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40307         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40308         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40309         multiarch wcscpy for PPC64.
40311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40312         multiarch implementations.
40313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40314         (__libc_ifunc_impl_list): Likewise.
40315         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40318         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40319         multiarch wcscpy for PPC64.
40321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40322         multiarch implementations.
40323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40324         (__libc_ifunc_impl_list): Likewise.
40325         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40326         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40327         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40328         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40329         multiarch wcsrchr for PPC64.
40331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40332         multiarch implementations.
40333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40334         (__libc_ifunc_impl_list): Likewise.
40335         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40336         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40337         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40338         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40339         multiarch wcschr for PPC64.
40341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40342         multiarch implementations.
40343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40344         (__libc_ifunc_impl_list): Likewise.
40345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40348         multiarch strchrnul for PPC64.
40350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40351         implementations.
40352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40353         (__libc_ifunc_impl_list): Likewise.
40354         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40355         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40356         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40357         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40358         strchr for PPC64.
40360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40361         implementations.
40362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40363         (__libc_ifunc_impl_list): Likewise.
40364         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40365         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40366         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40367         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40368         strncmp for PPC64.
40370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40371         multiarch implementations.
40372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40373         (__libc_ifunc_impl_list): Likewise.
40374         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40375         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40376         strncasecmp for PPC64.
40377         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40378         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40379         multiarch strncasecmp_l for PPC64.
40381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40382         multiarch implementations.
40383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40384         (__libc_ifunc_impl_list): Likewise.
40385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40387         multiarch strcasecmp for PPC64.
40388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40389         file.
40390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40391         multiarch strcasecmp_l for PPC64.
40393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40394         implementations.
40395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40396         (__libc_ifunc_impl_list): Likewise.
40397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40398         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40399         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40400         strnlen for PPC64.
40402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40403         implementations.
40404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40405         (__libc_ifunc_impl_list): Likewise.
40406         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40407         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40409         strlen for PPC64.
40411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40412         implementations.
40413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40414         (__libc_ifunc_impl_list): Likewise.
40415         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40416         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40417         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40418         rawmemrchr for PPC64.
40420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40421         implementation.
40422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40423         (__libc_ifunc_impl_list): Likewise.
40424         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40425         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40426         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40427         memrchr for PPC64.
40429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40430         implementation.
40431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40432         (__libc_ifunc_impl_list): Likewise.
40433         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40434         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40435         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40436         memchr for PPC64.
40438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40439         implementation.
40440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40441         (__libc_ifunc_impl_list): Likewise.
40442         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40443         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40444         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40445         mempcpy for PPC64.
40447         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40448         avoid cretion of __bzero symbol.
40449         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40450         Likewise.
40451         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40452         Likewise.
40453         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40454         Likewise.
40455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40456         multiarch implementations.
40457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40458         (__libc_ifunc_impl_list): Likewise.
40459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40462         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40463         bzero for PPC32.
40464         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40467         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40468         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40469         memset for PPC64.
40470         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40472         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40474         implementations.
40475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40476         (__libc_ifunc_impl_list): Likewise.
40477         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40478         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40479         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40480         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40481         memcmp for PPC64.
40483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40484         multiarch for POWER/PPC64.
40485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40486         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40489         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40490         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40491         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40492         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40493         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40494         memcpy for PPC64.
40496         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40497         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40498         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40499         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40500         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40501         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40502         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40503         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40504         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40505         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40506         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40507         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40508         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40509         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40510         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40519 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40521         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40523 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40525         * benchtests/Makefile (bench): Add exp2 and log2.
40526         (LDLIBS-bench-exp2): Add -lm.
40527         (LDLIBS-bench-log2): Likewise.
40528         * benchtests/exp2-inputs: New inputs file.
40529         * benchtests/log2-inputs: New inputs file.
40530         * benchtests/log-inputs: Add new inputs.
40531         * benchtests/tan-inputs: Likewise.
40533 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40535         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40536         definition...
40537         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40538         (csloww2): ... from here.
40540         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40541         instead of structures.
40542         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40543         (POLYNOMIAL): Likewise.
40544         (TAYLOR_SLOW): Likewise.
40545         (__sin): Likewise.
40546         (__cos): Likewise.
40547         (slow1): Likewise.
40548         (slow2): Likewise.
40549         (sloww): Likewise.
40550         (sloww1); Likewise.
40551         (sloww2): Likewise.
40552         (bsloww1): Likewise.
40553         (bsloww2): Likewise.
40554         (cslow2): Likewise.
40555         (csloww): Likewise.
40556         (csloww1): Likewise.
40557         (csloww2): Likewise.
40559 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40561         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40562         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40563         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40564         * malloc/hooks.c (realloc_check): Likewise.
40566         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40567         * malloc/arena.c: Remove PER_THREAD conditional.
40568         [!PER_THREAD]: Remove code.
40569         (ptmalloc_unlock_all2): Likewise.
40570         (ptmalloc_init): Likewise.
40571         (_int_new_arena): Likewise.
40572         (arena_get2): Likewise.
40573         * malloc/hooks.c (__malloc_get_state): Likewise.
40574         (__malloc_set_state): Likewise.
40575         * malloc/malloc.c: Likewise.
40576         (struct malloc_state): Likewise.
40577         (struct malloc_par): Likewise.
40578         (__libc_realloc): Likewise.
40579         (__libc_mallopt): Likewise.
40581 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40583         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40585 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40587         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40588         macro to a function.  Check for zero perturb_byte.
40589         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40591         * malloc/malloc.c: (force_reg): Remove.
40592         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40593         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40594         force_reg by atomic_forced_read.
40595         * malloc/arena.c (ptmalloc_init): Likewise.
40596         * malloc/hooks.c (top_check): Likewise.
40598 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40602 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40606 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40608         * math/auto-libm-test-in: Add tests of lgamma.
40609         * math/auto-libm-test-out: Regenerated.
40610         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40611         (M_LOG_2_SQRT_PIl): Likewise.
40612         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40613         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40614         mpfr_f_f1.
40615         (func_calc_desc): Add mpfr_f_f1 union field.
40616         (ARGS1): New macro.
40617         (ARGS2): Likewise.
40618         (ARGS3): Likewise.
40619         (ARGS4): Likewise.
40620         (RET1): Likewise.
40621         (RET2): Likewise.
40622         (CALC): Likewise.
40623         (FUNC): Likewise.
40624         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40625         (test_functions): Add lgamma.
40626         (calc_generic_results): Handle mpfr_f_f1.
40627         * sysdeps/i386/fpu/libm-test-ulps: Update.
40628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40632         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40633         __mpn_add_n for PowerPC64/POWER7.
40634         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40635         __mpn_sub_n for PowerPC64/POWER7.
40637         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40638         __mpn_addmul_1 for PowerPC64.
40639         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40640         __mpn_submul_1 for PowerPC64.
40641         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40642         for PowerPC64.
40643         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40644         for PowerPC64.
40646 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40648         [BZ #15089]
40649         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40653         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40655         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40656         add multiarch folders.
40657         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40658         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40659         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40660         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40661         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40662         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40663         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40664         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40665         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40666         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40667         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40676         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40678         New file.
40679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40680         New file.
40681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40682         multiarch __ieee754_hypot for PowerPC32.
40683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40684         New file.
40685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40686         New file.
40687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40688         multiarch __ieee754_hypotf for PowerPC32.
40690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40691         long_double_symbol only if __logbl is defined.
40692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40693         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40695         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40697         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40699         path for implementation.
40700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40701         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40703         logb, and logbl multiarch implementations for PowerPC32.
40704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40705         file.
40706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40707         file.
40708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40709         multiarch logb for PowerPC32.
40710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40711         file.
40712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40713         file.
40714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40715         multiarch logbf for PowerPC32.
40716         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40718         file.
40719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40720         multiarch logbl implementation for PowerPC32.
40722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40723         and modff multiarch implementations.
40724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40725         New file.
40726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40727         New file.
40728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40729         multiarch modf for PowerPC32.
40730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40731         New file.
40732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40733         New file.
40734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40735         multiarch modff for PowerPC32.
40737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40738         and lrintf multiarch implementations.
40739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40740         New file.
40741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40742         New file.
40743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40744         multiarch lrint for PowerPC32.
40745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40746         file: multiarch lrintf for PowerPC32.
40748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40749         and lroundf multiarch implementations.
40750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40751         New file.
40752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40753         New file.
40754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40755         New file.
40756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40757         multiarch lround for PowerPC32.
40758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40759         file: multiarch lroundf for PowerPC32.
40761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40762         copysign and copysignf multiarch implementations.
40763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40764         New file.
40765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40766         New file.
40767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40768         file: multiarch copysign for PowerPC32.
40769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40770         file: multiarch copysignf for PowerPC32.
40772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40773         and truncf multiarch implementations.
40774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40775         New file.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40777         file.
40778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40779         multiarch trunc for PowerPC32.
40780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40781         New file.
40782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40783         New file.
40784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40785         multiarch truncf for PowerPC32.
40787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40788         and roundf multiarch implementations.
40789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40790         New file.
40791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40792         file.
40793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40794         multiarch round for PowerPC32.
40795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40796         New file.
40797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40798         New file.
40799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40800         multiarch roundf for PowerPC32.
40802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40803         and floorf multiarch implementations.
40804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40805         New file.
40806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40807         file.
40808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40809         multiarch floor for PowerPC32.
40810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40811         New file.
40812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40813         New file.
40814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40815         multiarch floorf for PowerPC32.
40817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40818         and ceilf multiarch implementations.
40819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40820         New file.
40821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40822         file.
40823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40824         multiarch ceil for PowerPC32.
40825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40826         New file.
40827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40828         file.
40829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40830         multiarch ceilf for PowerPC32.
40832         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40833         is defined.
40834         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40835         FINITEF is defined.
40836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40837         and finitef multiarch implementations.
40838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40839         New file.
40840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40841         file.
40842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40843         multiarch finite for PowerPC32.
40844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40845         New file.
40846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40847         file: multiarch finitef for PowerPC32.
40849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40850         and isinff multiarch implementations.
40851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40852         file.
40853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40854         file.
40855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40856         multiarch isinf for PowerPC32.
40857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40858         New file.
40859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40860         multiarch isinff for PowerPC32.
40862         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40863         alias when __isnan is defined.
40864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40865         and isnanf multiarch implementations.
40866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40867         file.
40868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40869         file.
40870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40871         file.
40872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40873         file.
40874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40875         multiarch isnan for PowerPC32.
40876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40877         New file.
40878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40879         New file.
40880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40881         multiarch isnanf for PowerPC32.
40883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40884         and sqrtf multiarch implementations.
40885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40886         file.
40887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40888         file.
40889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40890         multiarch sqrt for PowerPC32.
40891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40892         file.
40893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40894         file.
40895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40896         multiarch sqrtf for PowerPC32.
40898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40899         and llroundf multiarch implementations.
40900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40901         New file.
40902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40903         New file.
40904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40905         New file.
40906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40907         file: multiarch llround for PowerPC32.
40908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40909         file: multiarch llroundf for PowerPC32.
40911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40912         multiarch PowerPC32 fpu implementations.
40913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40914         New file.
40915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40916         New file.
40917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40918         multiarch llrint for PowerPC32.
40919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40920         New file.
40921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40922         New file.
40923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40924         file.
40926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40929         file.
40930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40931         file.
40932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40933         file.
40934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40935         multiarch wordcopy for PPC32.
40936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40937         wordcopy objects.
40938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40939         (__libc_ifunc_impl_list): Likewise.
40940         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40941         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40942         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40943         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40945         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40947         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40949         file.
40950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40951         file.
40952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40953         file.
40954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40955         multiarch wcscpy for PPC32.
40956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40957         multiarch objects.
40958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40959         (__libc_ifunc_impl_list): Likewise.
40960         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40961         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40962         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40963         sysdeps/powerpc/power6/wcscpy.c.
40965         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40967         file.
40968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40969         file.
40970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40971         file.
40972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40973         multiarch wcsrchr for PPC32.
40974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40975         multiarch objects.
40976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40977         (__libc_ifunc_impl_list): Likewise.
40978         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40979         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40980         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40981         sysdeps/powerpc/power6/wcsrchr.c.
40983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40984         file.
40985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40986         file.
40987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40989         multiarch wcschr for PPc32.
40990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40991         multiarch objects.
40992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40993         (__libc_ifunc_impl_list): Likewise.
40994         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40995         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40996         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40997         sysdeps/powerpc/power6/wcschr.c.
40999         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41001         file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41004         file: multiarch strchr for PPC32.
41005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41006         multiarch objects.
41007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41008         (__libc_ifunc_impl_list): Likewise.
41010         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41011         name.
41012         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41013         file.
41014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41015         file.
41016         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41017         multiarch strchrnul for PPC32.
41018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41019         multiarch objects.
41020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41021         (__libc_ifunc_impl_list): Likewise.
41023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41024         file.
41025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41026         multiarch strncasecmp for PPC32.
41027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41028         file.
41029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41030         multiarch strncasecmp_l for PPC32.
41031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41032         strncasecmp multiarch objects.
41033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41034         (__libc_ifunc_impl_list): Likewise.
41036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41037         file.
41038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41039         multiarch strncasecmp for PPC32.
41040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41041         New file.
41042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41043         multiarch strcasecmp_l for PPC32.
41044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41045         multiarch objects.
41046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41047         (__libc_ifunc_impl_list): Likewise.
41049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41050         file.
41051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41052         file.
41053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41054         multiarch strncmp for PPC32.
41055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41056         multiarch objects.
41057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41058         (__libc_ifunc_impl_list): Likewise.
41060         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41061         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41062         file.
41063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41066         multiarch objects.
41067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41068         (__libc_ifunc_impl_list): Likewise.
41070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41071         file.
41072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41073         file.
41074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41076         multiarch objects.
41077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41078         (__libc_ifunc_impl_list): Likewise.
41080         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41081         file.
41082         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41083         file.
41084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41085         multiarch rawmemchr for PPC32.
41086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41087         multiarch objects.
41088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41089         (__libc_ifunc_impl_list): Likewise.
41091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41092         file.
41093         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41094         file.
41095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41096         file: memrchr multiarch for PPC32.
41097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41098         multiarch objects.
41099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41100         (__libc_ifunc_impl_list): Likewise.
41102         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41103         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41104         file.
41105         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41106         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41107         multiarch memchr for PPC32.
41108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41109         multiarch objects.
41110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41111         (__libc_ifunc_impl_list): Likewise.
41113         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41115         file.
41116         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41117         file.
41118         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41119         file: multiarch mempcpy for PPC32.
41120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41121         multiarch objects.
41122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41123         (__libc_ifunc_impl_list): Likewise.
41125         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41126         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41128         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41129         multiarch bzero for PPC32.
41130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41131         file.
41132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41133         file.
41134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41135         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41136         file: multiarch memset for PPC32.
41137         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41139         memset multiarch objects.
41140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41141         (__libc_ifunc_impl_list): Likewise.
41143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41144         file.
41145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41147         memcmp for PPC32.
41148         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41150         multiarch objects.
41151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41152         (__libc_ifunc_impl_list): Likewise.
41154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41157         file.
41158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41159         file.
41160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41161         file.
41162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41163         multiarch memcpy for PPC32.
41164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41165         multiarch objects.
41166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41167         (__libc_ifunc_impl_list): Likewise.
41169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41170         support multiarch for POWER/PPC32.
41171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41172         Likewise.
41173         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41175         Implies file to make multiarch folder appers before the fpu and
41176         default folder for power4 configuration.
41178 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41180         * scripts/bench.pl: Append volatile keyword to type.
41182 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41184         * sysdeps/sh/sotruss-lib.c: New file.
41185         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41187 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41191 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41193         [BZ #6810]
41194         * math/w_tgamma.c: Include <errno.h>.
41195         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41196         * math/w_tgammaf.c: Include <errno.h>.
41197         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41198         * math/w_tgammal.c: Include <errno.h>.
41199         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41200         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41201         underflow.  Add more tgamma tests.
41202         * math/auto-libm-test-out: Regenerated.
41203         * sysdeps/i386/fpu/libm-test-ulps: Update.
41204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41206         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41207         sin, sinh, tan, tanh, tgamma, y0 and y1.
41208         * math/auto-libm-test-out: Regenerated.
41209         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41210         (TEST_COND_x86): Likewise.
41211         (M_E2l): Remove macro.
41212         (M_E3l): Likewise.
41213         (M_2_SQRT_PIl): Likewise.
41214         (M_SQRT_PIl): Likewise.
41215         (M_1_DIV_El): Likewise.
41216         (log_test_data): Use AUTO_TESTS_f_f.
41217         (log10_test_data): Likewise.
41218         (log1p_test_data): Likewise.
41219         (log2_test_data): Likewise.
41220         (sin_test_data): Likewise.
41221         (sin_tonearest_test_data): Likewise.
41222         (sin_towardzero_test_data): Likewise.
41223         (sin_downward_test_data): Likewise.
41224         (sin_upward_test_data): Likewise.
41225         (sinh_test_data): Likewise.
41226         (sinh_tonearest_test_data): Likewise.
41227         (sinh_towardzero_test_data): Likewise.
41228         (sinh_downward_test_data): Likewise.
41229         (sinh_upward_test_data): Likewise.
41230         (tan_test_data): Likewise.
41231         (tan_tonearest_test_data): Likewise.
41232         (tan_towardzero_test_data): Likewise.
41233         (tan_downward_test_data): Likewise.
41234         (tan_upward_test_data): Likewise.
41235         (tanh_test_data): Likewise.
41236         (tgamma_test_data): Likewise.
41237         (y0_test_data): Likewise.
41238         (y1_test_data): Likewise.
41239         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41240         (special_real_inputs): Add pi/4.
41241         * sysdeps/i386/fpu/libm-test-ulps: Update.
41242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41246         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41247         "longjmp_target" static probes.
41248         (__longjmp): Rename to __longjmp_symbol.
41249         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41250         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41251         on which longjmp to generate.
41252         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41253         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41254         probe.
41255         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41256         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41257         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41259         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41260         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41262         __longjmp_symbol based on which __longjmp to generate.
41263         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41264         probe.
41265         (setjmp): Rename to setjmp_symbol.
41266         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41267         (_setjmp): Rename to _setjmp_symbol.
41268         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41269         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41270         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41271         which setjmp to generate.
41272         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41273         "longjmp_target" static probes.
41275 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41277         * benchtests/README: Add note about output arguments.
41278         * benchtests/bench-sincos.c: Remove file.
41279         * benchtests/sincos-inputs: New file.
41280         * scripts/bench.pl: Identify output arguments and define
41281         static variables for them.
41283         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41285         [BZ #15941]
41286         * Makefile (INSTALL): Add install-plain.texi as the primary
41287         dependency.
41288         * manual/install-plain.texi: New file.
41289         * manual/install.texi: Include node directive only for
41290         non-plaintext output.
41292 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41294         * stdlib/longlong.h: Update from GCC.
41296         [BZ #6807]
41297         [BZ #15901]
41298         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41299         * math/w_j0f.c (y0f): Likewise.
41300         * math/w_j0l.c (__y0l): Likewise.
41301         * math/w_j1.c (y1): Likewise.
41302         * math/w_j1f.c (y1f): Likewise.
41303         * math/w_j1l.c (__y1l): Likewise.
41304         * math/w_jn.c (yn): Likewise.
41305         * math/w_jnf.c (ynf): Likewise.
41306         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41307         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41308         value for Bessel function domain errors outside _SVID_ mode.
41309         Adjust sign of return value for yn (negative integer, 0).
41310         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41311         by zero in return for negative x and set sign appropriately for
41312         negative n.
41313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41315         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41316         expectations in error cases.
41317         (y1_test_data): Likewise.
41318         (yn_test_data): Likewise.
41319         * sysdeps/i386/fpu/libm-test-ulps: Update.
41320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41322 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41324         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41325         "64" to "64-v1".  Add "64-v2".
41326         (abi-64-options): Rename to ...
41327         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41328         (abi-64-condition): Rename to ...
41329         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41330         (abi-64-ld-soname): Rename to ...
41331         (abi-64-v1-ld-soname): ... this.
41332         (abi-64-v2-options): Define.
41333         (abi-64-v2-condition): Likewise.
41334         (abi-64-v2-ld-soname): Likewise.
41335         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41336         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41341 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41342             Alan Modra  <amodra@gmail.com>
41344         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41345         New versions for use with the ELFv2 ABI.
41346         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41347         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41348         declaration.
41349         (struct La_ppc64v2_retval): Likewise.
41350         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41351         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41352         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41353         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41354         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41355         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41356         Do not save or restore CR.
41357         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41358         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41359         return values for ELFv2 ABI.  Fix location of FPR return registers.
41360         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41361         updated values for _CALL_ELF == 2.
41362         (La_regs, La_retval, int_retval): Likewise.
41364 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41366         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41367         (FRAME_MIN_SIZE_PARM): Likewise.
41368         (FRAME_BACKCHAIN): Likewise.
41369         (FRAME_CR_SAVE): Likewise.
41370         (FRAME_LR_SAVE): Likewise.
41371         (FRAME_TOC_SAVE): Likewise.
41372         (FRAME_PARM_SAVE): Likewise.
41373         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41374         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41375         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41376         (call_mcount_parm_offset): New macro.
41377         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41378         (PROF): Use symbolic stack frame offsets.
41379         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41380         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41381         Redefine in terms of FRAME_MIN_SIZE.
41382         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41383         (_dl_profile_resolve): Likewise.  Update comment.
41384         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41385         symbols stack frame offsets.
41386         (__sigsetjmp): Likewise.
41387         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41388         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41389         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41390         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41393         (FRAME_BACKCHAIN): Remove.
41394         (FRAME_CR_SAVE): Likewise.
41395         (FRAME_LR_SAVE): Likewise.
41396         (FRAME_COMPILER_DW): Likewise.
41397         (FRAME_LINKER_DW): Likewise.
41398         (FRAME_TOC_SAVE): Likewise.
41399         (FRAME_PARM_SAVE): Likewise.
41400         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41401         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41402         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41404         (CHECK_SP): Use symbolic stack frame offsets.
41405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41406         zone" instead of caller's parameter save area for temp storage.
41407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41408         Likewise.  Also, use symbolic stack frame offsets.
41409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41410         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41411         our own stack frame instead of the caller's.
41412         (__socket): Use symbolic stack frame offsets.
41414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41415             Alan Modra  <amodra@gmail.com>
41417         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41418         Define.
41419         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41420         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41421         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41422         New function.
41423         (elf_machine_fixup_plt): Call it.
41424         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41425         reloc arguments.
41426         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41428         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41429         r2 before calling target.
41431 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41432             Alan Modra  <amodra@gmail.com>
41434         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41435         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41436         versions of macros to support ELFv2 ABI.
41437         (LOCALENTRY): New macro.
41438         (ENTRY, EALIGN): Use it.
41439         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41440         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41441         fall through into ENTRY entry point.
41442         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41443         Only define if _CALL_ELF != 2.
41445         (elf_machine_matches_host): Verify ABI version matches.
41446         (RTLD_START): Use LOCALENTRY.
41447         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41448         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41449         (PLT_ENTRY_WORDS): New macro.
41450         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41451         (elf_machine_runtime_setup): Support ELFv2 ABI.
41452         (elf_machine_fixup_plt): Likewise.
41453         (elf_machine_plt_conflict): Likewise.
41454         (resolve_ifunc): Likewise.
41455         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41456         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41457         Likewise.
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41459         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41461         (makecontext): Support ELFv2 ABI.
41462         * elf/elf.h (EF_PPC64_ABI): Define.
41464 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41466         * sysdeps/powerpc/powerpc64/sysdep.h
41467         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41468         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41469         (ENTRY) [ASSEMBLER]: ... but instead here ...
41470         (EALIGN) [ASSEMBLER]: ... and here.
41471         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41472         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41473         (ENTRY_2) [!ASSEMBLER]: Use it.
41474         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41475         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41477         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41480         Use PPC64_LOAD_FUNCPTR.
41482         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41484 2013-12-04  Alan Modra  <amodra@gmail.com>
41486         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41487         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41488         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41489         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41492         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41493         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41494         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41495         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41496         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41501         (__makecontext): Fix incorrect CFI when backtracing out of
41502         context created via makecontext.
41503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41504         (__setcontext): Fix incorrect CFI during switch to new context.
41505         (__novec_setcontext): Likewise.
41507 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41509         [BZ #4772]
41510         * time/strptime_l.c (__strptime_internal): Allow modifiers
41511         in strptime.
41512         * time/tst-strptime.c (day_tests): Add testcase.
41514 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41516         * scripts/bench.pl: Skip over blank lines.
41518 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41520         [BZ #926]
41521         * manual/time.texi (Calendar Time): Clarify what timezone functions
41522         use.
41524 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41528 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41530         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41531         implementation.
41532         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41533         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41534         * debug/memset_chk.c (__memset_chk): Likewise.
41535         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41536         * debug/strncpy_chk.c: Likewise.
41538 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41540         [BZ #15268]
41541         [BZ #15425]
41542         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41543         (__ieee754_exp): For possibly underflowing results, check size of
41544         result and force underflow exception if required.
41545         * math/auto-libm-test-in: Add more tests of exp.
41546         * math/auto-libm-test-out: Regenerated.
41547         * sysdeps/i386/fpu/libm-test-ulps: Update.
41548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41550         [BZ #16283]
41551         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41552         * math/w_exp2f.c (__exp2f): Likewise.
41553         * math/w_exp2l.c (__exp2l): Likewise.
41554         * math/auto-libm-test-in: Do not allow missing errno on exp2
41555         underflow.
41556         * math/auto-libm-test-out: Regenerated.
41558 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41560         [BZ #16274]
41561         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41562         handle filename validation.
41563         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41564         (do_open): Delete.
41566 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41568         [BZ #6786]
41569         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41570         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41571         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41572         <float.h>.
41573         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41575         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41577         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41578         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41579         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41580         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41581         Add more erfc tests.
41582         * math/auto-libm-test-out: Regenerated.
41583         * sysdeps/i386/fpu/libm-test-ulps: Update.
41584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41586         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41587         exp2, expm1, j0 and j1.
41588         * math/auto-libm-test-out: Regenerated.
41589         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41590         (erfc_test_data): Likewise.
41591         (exp_test_data): Likewise.
41592         (exp_tonearest_test_data): Likewise.
41593         (exp_towardzero_test_data): Likewise.
41594         (exp_downward_test_data): Likewise.
41595         (exp_upward_test_data): Likewise.
41596         (exp10_test_data): Likewise.
41597         (exp2_test_data): Likewise.
41598         (expm1_test_data): Likewise.
41599         (j0_test_data): Likewise.
41600         (j1_test_data): Likewise.
41601         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41602         (input_flag_type): Add flag_xfail_rounding.
41603         (input_flags): Add xfail-rounding.
41604         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41605         (output_for_one_input_case): Handle flag_xfail_rounding.
41606         * sysdeps/i386/fpu/libm-test-ulps: Update.
41607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41609 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41611         [BZ #16289]
41612         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41613         division by 0.
41615 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41617         [BZ #16195]
41618         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41619         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41620         (STAP_PROBE0): New macro.
41621         (STAP_PROBE1): Likewise.
41622         (STAP_PROBE2): Likewise.
41623         (STAP_PROBE3): Likewise.
41624         (STAP_PROBE4): Likewise.
41626 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41628         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41630 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41632         * benchtests/Makefile (bench): Add sqrt.
41633         (LDLIBS-bench-sqrt): New.
41634         * benchtests/sqrt-input: New.
41636 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41638         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41639         (GAIH_EAI): Likewise.
41640         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41641         (gaih_inet): Likewise.
41642         (getaddrinfo): Don't use GAIH_EAI.
41644         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41645         (struct gaih): Remove definition.
41647 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41649         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41650         Use HERRNOP directly.
41652 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41656 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41658         * math/gen-auto-libm-tests.c (test_functions): Add more
41659         single-argument functions.
41660         (special_fill_pi_2): New function.
41661         (special_fill_minus_pi_2): Likewise.
41662         (special_fill_pi_6): Likewise.
41663         (special_fill_minus_pi_6): Likewise.
41664         (special_fill_pi_3): Likewise.
41665         (special_fill_2pi_3): Likewise.
41666         (special_fill_e): Likewise.
41667         (special_fill_1_e): Likewise.
41668         (special_fill_e_minus_1): Likewise.
41669         (special_real_inputs): Add more special inputs.
41670         (output_for_one_input_case): Do not require ERANGE on underflow to
41671         zero if round-to-nearest result does not underflow to zero, unless
41672         exact results required.
41673         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41674         atan, atanh, cbrt, cos and cosh.
41675         * math/auto-libm-test-out: Regenerated.
41676         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41677         (acos_tonearest_test_data): Likewise.
41678         (acos_towardzero_test_data): Likewise.
41679         (acos_downward_test_data): Likewise.
41680         (acos_upward_test_data): Likewise.
41681         (acosh_test_data): Likewise.
41682         (asin_test_data): Likewise.
41683         (asin_tonearest_test_data): Likewise.
41684         (asin_towardzero_test_data): Likewise.
41685         (asin_upward_test_data): Likewise.
41686         (asinh_test_data): Likewise.
41687         (atan_test_data): Likewise.
41688         (atanh_test_data): Likewise.
41689         (cbrt_test_data): Likewise.
41690         (cos_test_data): Likewise.
41691         (cos_tonearest_test_data): Likewise.
41692         (cos_towardzero_test_data): Likewise.
41693         (cos_downward_test_data): Likewise.
41694         (cos_upward_test_data): Likewise.
41695         (cosh_test_data): Likewise.
41696         (cosh_tonearest_test_data): Likewise.
41697         (cosh_towardzero_test_data): Likewise.
41698         (cosh_downward_test_data): Likewise.
41699         (cosh_upward_test_data): Likewise.
41700         * sysdeps/i386/fpu/libm-test-ulps: Update.
41701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41703 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41705         [BZ #6787]
41706         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41707         * math/w_exp10f.c (__exp10f): Likewise.
41708         * math/w_exp10l.c (__exp10l): Likewise.
41709         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41710         errno settings in existing tests.
41712         [BZ #14032]
41713         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41714         precision control set to double precision.
41715         * sysdeps/i386/fpu/w_sqrt.c: New file.
41716         * math/auto-libm-test-in: Add more tests.
41717         * math/auto-libm-test-out: Update.
41719         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41720         (sqrt_test_tonearest): New function.
41721         (sqrt_towardzero_test_data): New variable.
41722         (sqrt_test_towardzero): New function.
41723         (sqrt_downward_test_data): New variable.
41724         (sqrt_test_downward): New function.
41725         (sqrt_upward_test_data): New variable.
41726         (sqrt_test_upward): New function.
41727         (main): Call the new functions.
41729         * math/gen-auto-libm-tests.c: New file.
41730         * math/auto-libm-test-in: Likewise.
41731         * math/auto-libm-test-out: New generated file.
41732         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41733         variables.
41734         (%beautify): Add generated representations of zero.
41735         (top level): Set $auto_input and call parse_auto_input.
41736         (beautify): Remove trailing "f" from hex float constants.
41737         (parse_args): Handle XFAIL_TEST.
41738         (convert_condition): New function.
41739         (or_value): Likewise.
41740         (or_cond_value): Likewise.
41741         (generate_testfile): Handle AUTO_TESTS_* lines.
41742         (parse_auto_input): New function.
41743         * math/libm-test.inc (XFAIL_TEST): New macro.
41744         (ERRNO_UNCHANGED): Update value.
41745         (ERRNO_EDOM): Likewise.
41746         (ERRNO_ERANGE): Likewise.
41747         (IGNORE_RESULT): Likewise.
41748         (TEST_COND_flt_32): New macro.
41749         (TEST_COND_dbl_64): Likewise.
41750         (TEST_COND_ldbl_96_intel): Likewise.
41751         (TEST_COND_ldbl_96_m68k): Likewise.
41752         (TEST_COND_ldbl_128): Likewise.
41753         (TEST_COND_ldbl_128ibm): Likewise.
41754         (TEST_COND_long32): Likewise.
41755         (TEST_COND_long64): Likewise.
41756         (TEST_COND_before_rounding): Likewise.
41757         (TEST_COND_after_rounding): Likewise.
41758         (enable_test): Handle XFAIL_TEST flag.
41759         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41760         with finite results.
41761         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41762         auto-libm-test-out.
41764 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41765             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41767         [BZ #16214]
41768         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41769         __tls_get_addr_internal instead of __tls_get_offset in order to
41770         avoid GOT pointer dependency.  Make rtld export
41771         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41772         __tls_get_addr since we are a __tls_get_offset platform.
41773         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41774         GOT pointer being set up before.
41775         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41777 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41779         * manual/math.texi (Errors in Math Functions): Document accuracy
41780         goals.
41782         [BZ #15004]
41783         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41784         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41785         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41786         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41787         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41788         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41789         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41790         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41791         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41792         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41795         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41796         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41798         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41800         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41801         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41802         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41803         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41804         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41805         Likewise.
41806         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41807         Likewise.
41808         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41809         Likewise.
41810         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41811         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41812         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41813         atomic-feupdateenv and flt-rounds.
41814         * sysdeps/powerpc/nofpu/Versions (libc): Add
41815         __atomic_feholdexcept, __atomic_feclearexcept,
41816         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41818         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41820         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41821         here.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41823         Update.
41825         * manual/arith.texi (FP Exceptions): Document that exceptions may
41826         not be raised when matherr is used.
41827         (Math Error Reporting): Document overflow in directed rounding
41828         modes.  Document that errno may not be set when finite values are
41829         returned on overflow.  Document intent to set errno on underflow
41830         only for underflow to zero.
41832         [BZ #16271]
41833         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41834         round-to-nearest then adjust result for other rounding modes.
41835         * include/fenv.h (fegetround): Use libm_hidden_proto.
41836         * math/fegetround.c (fegetround): Use libm_hidden_def.
41837         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41838         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41841         Likewise.
41842         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41843         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41844         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41845         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41847 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41849         [BZ #16077]
41850         * nss/Versions (libnss_files): Add
41851         _nss_files_gethostbyname3_r.
41852         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41853         New function.
41854         (HOST_DB_LOOKUP): Remove macro.
41855         (_nss_files_gethostbyname_r): Implement function without the
41856         HOST_DB_LOOKUP macro.
41857         (_nss_files_gethostbyname2_r): Likewise.
41859 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41861         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41863 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41865         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41866         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41867         warning.
41869 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41871         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41872         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41873         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41874         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41875         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41876         __fe_nomask_env_priv and attribute_hidden.
41877         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41878         (libc_feupdateenv_test_ppc): Likewise.
41879         (libc_feresetround_ppc): Likewise.
41880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41881         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41882         compat_symbol macro.
41883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41884         (__fe_nomask_env): Likewise.
41885         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41887 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41889         * string/Makefile: Remove ifunc tests.
41890         * string/test-string.h: Define TEST_IFUNC.
41891         * string/test-bcopy-ifunc.c: Remove.
41892         * string/test-bzero-ifunc.c: Likewise.
41893         * string/test-memccpy-ifunc.c: Likewise.
41894         * string/test-memchr-ifunc.c: Likewise.
41895         * string/test-memcmp-ifunc.c: Likewise.
41896         * string/test-memcpy-ifunc.c: Likewise.
41897         * string/test-memmem-ifunc.c: Likewise.
41898         * string/test-memmove-ifunc.c: Likewise.
41899         * string/test-mempcpy-ifunc.c: Likewise.
41900         * string/test-memrchr-ifunc.c: Likewise.
41901         * string/test-memset-ifunc.c: Likewise.
41902         * string/test-rawmemchr-ifunc.c: Likewise.
41903         * string/test-stpcpy-ifunc.c: Likewise.
41904         * string/test-stpncpy-ifunc.c: Likewise.
41905         * string/test-strcasecmp-ifunc.c: Likewise.
41906         * string/test-strcasestr-ifunc.c: Likewise.
41907         * string/test-strcat-ifunc.c: Likewise.
41908         * string/test-strchr-ifunc.c: Likewise.
41909         * string/test-strchrnul-ifunc.c: Likewise.
41910         * string/test-strcmp-ifunc.c: Likewise.
41911         * string/test-strcpy-ifunc.c: Likewise.
41912         * string/test-strcspn-ifunc.c: Likewise.
41913         * string/test-strlen-ifunc.c: Likewise.
41914         * string/test-strncasecmp-ifunc.c: Likewise.
41915         * string/test-strncat-ifunc.c: Likewise.
41916         * string/test-strncmp-ifunc.c: Likewise.
41917         * string/test-strncpy-ifunc.c: Likewise.
41918         * string/test-strnlen-ifunc.c: Likewise.
41919         * string/test-strpbrk-ifunc.c: Likewise.
41920         * string/test-strrchr-ifunc.c: Likewise.
41921         * string/test-strspn-ifunc.c: Likewise.
41922         * string/test-strstr-ifunc.c: Likewise.
41924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41926         * benchtests/Makefile: Remove ifunc tests.
41927         * benchtests/bench-string.h: Define TEST_IFUNC.
41928         * benchtests/bench-bcopy-ifunc.c: Remove.
41929         * benchtests/bench-bzero-ifunc.c: Likewise.
41930         * benchtests/bench-memccpy-ifunc.c: Likewise.
41931         * benchtests/bench-memchr-ifunc.c: Likewise.
41932         * benchtests/bench-memcmp-ifunc.c: Likewise.
41933         * benchtests/bench-memcpy-ifunc.c: Likewise.
41934         * benchtests/bench-memmem-ifunc.c: Likewise.
41935         * benchtests/bench-memmove-ifunc.c: Likewise.
41936         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41937         * benchtests/bench-memrchr-ifunc.c: Likewise.
41938         * benchtests/bench-memset-ifunc.c: Likewise.
41939         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41940         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41941         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41942         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41943         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41944         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41945         * benchtests/bench-strcat-ifunc.c: Likewise.
41946         * benchtests/bench-strchr-ifunc.c: Likewise.
41947         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41948         * benchtests/bench-strcmp-ifunc.c: Likewise.
41949         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41950         * benchtests/bench-strcpy-ifunc.c: Likewise.
41951         * benchtests/bench-strcspn-ifunc.c: Likewise.
41952         * benchtests/bench-strlen-ifunc.c: Likewise.
41953         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41954         * benchtests/bench-strncat-ifunc.c: Likewise.
41955         * benchtests/bench-strncmp-ifunc.c: Likewise.
41956         * benchtests/bench-strncpy-ifunc.c: Likewise.
41957         * benchtests/bench-strnlen-ifunc.c: Likewise.
41958         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41959         * benchtests/bench-strrchr-ifunc.c: Likewise.
41960         * benchtests/bench-strsep-ifunc.c: Likewise.
41961         * benchtests/bench-strspn-ifunc.c: Likewise.
41962         * benchtests/bench-strstr-ifunc.c: Likewise.
41964 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41966         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41970         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41971         * rt/aio.h: Likewise.
41972         * sysdeps/gnu/bits/utmp.h: Likewise.
41973         * sysdeps/gnu/bits/utmpx.h: Likewise.
41974         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41975         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41976         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41977         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41978         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41979         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41980         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41981         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41982         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41983         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41984         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41985         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41986         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41989         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41990         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41991         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41992         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41993         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41994         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41995         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41996         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41997         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41998         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42000         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42001         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42002         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42003         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42004         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42005         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42006         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42007         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42008         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42009         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42010         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42011         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42012         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42014         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42015         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42017 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42019         [BZ #16245]
42020         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42021         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42023 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42025         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42027         Likewise.
42029 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42032         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42033         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42034         (__fesetround): Remove define.
42035         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42036         rounding and exceptions handling.
42037         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42039         (__fe_nomask_env): Likewise.
42040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42041         __fegetround instead of fegetround.
42042         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42043         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42045 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42047         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42048         it's there.
42050         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42052 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42054         [BZ #11157]
42055         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42056         (encrypt_r): Likewise.
42057         * malloc/obstack.h (obstack_free): Likewise.
42058         * posix/unistd.h (encrypt): Likewise.
42060 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42062         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42063         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42064         DL_CALL_DT_FINI() that call the functions directly.
42065         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42066         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42067         * elf/dl-fini.c: Likewise.
42069 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42071         * malloc/hooks.c (memalign_check): Add alignment rounding.
42072         * malloc/malloc.c (_mid_memalign): New function.
42073         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42074         Implement by calling _mid_memalign.
42075         * manual/probes.texi (Memory Allocation Probes): Remove
42076         memory_valloc_retry and memory_pvalloc_retry.
42078 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42080         * locale/programs/locarchive.c (open_archive): Add const
42081         qualifier to ARCHIVEFNAME and copy default fname to
42082         DEFAULT_FNAME.
42084         [BZ #15601]
42085         * libio/tst-widetext.input: Rename Oriya to Odia.
42086         * locale/iso-639.def: Likewise.
42088         * manual/probes.texi (Mathematical Function Probes): Add
42089         documentation for sin, cos, asin and acos probes.
42090         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42091         (__sin32): Add slowasin probe.
42092         (__cos32): Add slowacos probe.
42093         (__mpsin): Add slowsin probe.
42094         (__mpcos): Add slowcos probe.
42096 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42098         [BZ #15483]
42099         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42100         thread-local __sim_exceptions_thread and global
42101         __sim_exceptions_global.
42102         (__sim_disabled_exceptions): Change to thread-local
42103         __sim_disabled_exceptions_thread and global
42104         __sim_disabled_exceptions_global.
42105         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42106         and global __sim_round_mode_global.
42107         (__simulate_exceptions): Use thread-local floating-point state and
42108         set global state from it as needed.
42109         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42110         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42111         __sim_round_mode_thread.
42112         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42113         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42114         and global __sim_exceptions_global.
42115         (__sim_disabled_exceptions): Change to thread-local
42116         __sim_disabled_exceptions_thread and global
42117         __sim_disabled_exceptions_global.
42118         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42119         and global __sim_round_mode_global.
42120         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42121         (SIM_SET_GLOBAL): Likewise.
42122         * sysdeps/powerpc/soft-fp/sfp-machine.h
42123         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42124         __sim_round_mode_thread.
42125         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42126         __sim_disabled_exceptions_thread.
42127         (__sim_exceptions): Change to __sim_exceptions_thread.
42128         (__sim_disabled_exceptions): Change to
42129         __sim_disabled_exceptions_thread.
42130         (__sim_round_mode): Change to __sim_round_mode_thread.
42131         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42132         thread-local floating-point state and set global state from it as
42133         needed.
42134         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42135         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42136         (__sim_disabled_exceptions): Remove extern declaration.
42137         (feenableexcept): Use thread-local floating-point state and set
42138         global state from it as needed.
42139         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42140         extern declaration.
42141         (__sim_disabled_exceptions): Likewise.
42142         (__sim_round_mode): Likewise.
42143         (__fegetenv): Use thread-local floating-point state.
42144         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42145         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42146         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42147         floating-point state and set global state from it as needed.
42148         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42149         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42150         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42151         Likewise.
42152         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42153         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42154         Likewise.
42155         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42156         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42157         Use __sim_round_mode_thread.
42158         * math/test-fenv-tls.c: New file.
42159         * math/Makefile (tests): Add test-fenv-tls.
42160         ($(objpfx)test-fenv-tls): Depend on
42161         $(common-objpfx)nptl/libpthread.so.
42163 2013-11-19  Andreas Schwab  <schwab@suse.de>
42165         * locale/programs/locale.c (show_info): Decode wordarray elements.
42166         * locale/categories.def (LC_MONETARY): Add element for
42167         _NL_MONETARY_CRNCYSTR.
42168         * locale/C-monetary.c (conversion_rate): New variable.
42169         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42170         element.
42172 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42174         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42175         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42177 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42179         * elf/Makefile (tst-auxv): New test.
42180         * elf/tst-auxv.c: New
42181         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42183 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42185         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42186         (hidden_proto): Caller changed.
42187         (hidden_tls_proto): New macro.
42188         (libc_hidden_tls_proto): Likewise.
42189         (rtld_hidden_tls_proto): Likewise.
42190         (libm_hidden_tls_proto): Likewise.
42191         (libresolv_hidden_tls_proto): Likewise.
42192         (librt_hidden_tls_proto): Likewise.
42193         (libdl_hidden_tls_proto): Likewise.
42194         (libnss_files_hidden_tls_proto): Likewise.
42195         (libnsl_hidden_tls_proto): Likewise.
42196         (libnss_nisplus_hidden_tls_proto): Likewise.
42197         (libutil_hidden_tls_proto): Likewise.
42199 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42201         [BZ #10253]
42202         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42203         (decompose_rpath): Defer expansion to fillin_rpath.
42204         (_dl_init_paths): Pass linkmap to fillin_rpath.
42206 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42208         * benchtests/Makefile: Add strsep.
42209         * benchtests/bench-strsep.c: New file: strsep benchtest.
42210         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42212 2013-11-18  Andreas Schwab  <schwab@suse.de>
42214         * locale/programs/locale.c (show_info) [case byte]: Check for
42215         '\377' instead of '\177'.
42216         * locale/C-monetary.c (not_available): Always use "\377".
42217         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42218         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42219         detect unavailable sign_posn locale elements.
42220         * locale/localeconv.c (__localeconv): For grouping and
42221         mon_grouping handle "\177" and "\377" like no grouping.
42222         (INT_ELEM): New macro.  Use it to set all numeric members.
42223         * locale/programs/ld-monetary.c (monetary_read)
42224         <tok_mon_grouping>: Normalize single -1 to the empty string.
42225         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42226         Likewise.
42228 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42230         [BZ #16055]
42231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42232         when we match (nil).
42233         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42235 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42237         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42238         (NO_TEST_INLINE): Update value.
42239         (ERRNO_UNCHANGED): Likewise.
42240         (ERRNO_EDOM): Likewise.
42241         (ERRNO_ERANGE): Likewise.
42242         (IGNORE_RESULT): Likewise.
42243         (check_float_internal): Check signs of NaN results if
42244         TEST_NAN_SIGN used.
42245         (check_complex): Pass TEST_NAN_SIGN flag through to second
42246         check_float_internal call.
42247         (copysign_test_data): Add tests with quiet NaNs as second
42248         argument.  Use TEST_NAN_SIGN.
42249         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42250         TEST_NAN_SIGN.
42251         (signbit_test_data): Add tests of quiet NaN argument.
42252         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42254         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42255         $ignore_result.
42256         (parse_args): Handle function results specified as IGNORE.
42257         * math/libm-test.inc (IGNORE_RESULT): New macro.
42258         (check_float_internal): Do not check numerical result if flag
42259         IGNORE_RESULT set.
42260         (check_complex): Pass through IGNORE_RESULT to second
42261         check_float_internal call.
42262         (check_int): Do not check numerical result if flag IGNORE_RESULT
42263         set.
42264         (check_long): Likewise.
42265         (check_bool): Likewise.
42266         (check_longlong): Likewise.
42267         (lrint_test_data): Add tests of infinite and NaN arguments.
42268         (lrint_tonearest_test_data): Likewise.
42269         (lrint_towardzero_test_data): Likewise.
42270         (lrint_downward_test_data): Likewise.
42271         (lrint_upward_test_data): Likewise.
42272         (llrint_test_data): Likewise.
42273         (llrint_tonearest_test_data): Likewise.
42274         (llrint_towardzero_test_data): Likewise.
42275         (llrint_downward_test_data): Likewise.
42276         (llrint_upward_test_data): Likewise.
42277         (lround_test_data): Likewise.
42278         (llround_test_data): Likewise.
42280         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42281         (ERRNO_UNCHANGED): Update value.
42282         (ERRNO_EDOM): Likewise.
42283         (ERRNO_ERANGE): Likewise.
42284         (NO_TEST_INLINE_FLOAT): New macro.
42285         (NO_TEST_INLINE_DOUBLE): Likewise.
42286         (enable_test): New function.
42287         (RUN_TEST_f_f): Check enable_test before running test.
42288         (RUN_TEST_2_f): Likewise.
42289         (RUN_TEST_fff_f): Likewise.
42290         (RUN_TEST_c_f): Likewise.
42291         (RUN_TEST_f_f1): Likewise.
42292         (RUN_TEST_fF_f1): Likewise.
42293         (RUN_TEST_fI_f1): Likewise.
42294         (RUN_TEST_ffI_f1): Likewise.
42295         (RUN_TEST_c_c): Likewise.
42296         (RUN_TEST_cc_c): Likewise.
42297         (RUN_TEST_f_i): Likewise.
42298         (RUN_TEST_f_i_tg): Likewise.
42299         (RUN_TEST_ff_i_tg): Likewise.
42300         (RUN_TEST_f_b): Likewise.
42301         (RUN_TEST_f_b_tg): Likewise.
42302         (RUN_TEST_f_l): Likewise.
42303         (RUN_TEST_f_L): Likewise.
42304         (RUN_TEST_fFF_11): Likewise.
42305         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42306         conditionals.
42307         (cosh_test_data): Likewise.
42308         (exp_test_data): Likewise.
42309         (expm1_test_data): Likewise.
42310         (hypot_test_data): Likewise.
42311         (pow_test_data): Likewise.
42312         (sinh_test_data): Likewise.
42313         (tanh_test_data): Likewise.
42314         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42315         flags argument.
42317         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42318         tests with quiet NaN input and output.
42319         (acosh_test_data): Likewise.
42320         (asin_test_data): Likewise.
42321         (asinh_test_data): Likewise.
42322         (atan_test_data): Likewise.
42323         (atanh_test_data): Likewise.
42324         (atan2_test_data): Likewise.
42325         (cbrt_test_data): Likewise.
42326         (cos_test_data): Likewise.
42327         (cosh_test_data): Likewise.
42328         (erf_test_data): Likewise.
42329         (erfc_test_data): Likewise.
42330         (exp_test_data): Likewise.
42331         (exp10_test_data): Likewise.
42332         (exp2_test_data): Likewise.
42333         (expm1_test_data): Likewise.
42334         (hypot_test_data): Likewise.
42335         (j0_test_data): Likewise.
42336         (j1_test_data): Likewise.
42337         (jn_test_data): Likewise.
42338         (lgamma_test_data): Likewise.
42339         (log_test_data): Likewise.
42340         (log10_test_data): Likewise.
42341         (log1p_test_data): Likewise.
42342         (log2_test_data): Likewise.
42343         (pow_test_data): Likewise.
42344         (scalb_test_data): Likewise.
42345         (sin_test_data): Likewise.
42346         (sincos_test_data): Likewise.
42347         (sinh_test_data): Likewise.
42348         (tan_test_data): Likewise.
42349         (tanh_test_data): Likewise.
42350         (tgamma_test_data): Likewise.
42351         (y0_test_data): Likewise.
42352         (y1_test_data): Likewise.
42353         (yn_test_data): Likewise.
42355         [BZ #16167]
42356         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42357         argument being NaN and avoid computations with second argument in
42358         that case.
42359         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42360         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42361         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42363 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42365         * locale/iso-639.def: Add Chitwani Tharu (the).
42367 2013-11-14  Andreas Schwab  <schwab@suse.de>
42369         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42370         word instead of empty string.
42372 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42375         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42377         (__fe_nomask_env): Likewise.
42379 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42381         * benchtests/bench-timing.h: Include time.h.
42383 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42385         [BZ #15997]
42386         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42387         to 3.4.0 for x32.
42388         * sysdeps/unix/sysv/linux/configure: Regenerated.
42390 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42392         [BZ #16151]
42393         * stdlib/strtod_l.c (round_and_return): Do not consider
42394         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42395         exponent one less than half the least subnormal exponent.
42396         * stdlib/test-strtod-round-data: Add more tests.
42397         * stdlib/tst-strtod-round.c (tests): Regenerated.
42399 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42401         [BZ #14143]
42402         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42403         (__fe_mask_env): Likewise.
42404         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42405         libm_hidden_proto and add function prototype.
42406         (__fe_mask_env): Add function prototype.
42407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42408         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42410         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42412         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42414 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42416         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42417         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42419 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42421         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42422         of htab_find_slot().
42424 2013-11-11  David S. Miller  <davem@davemloft.net>
42426         [BZ #16150]
42427         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42428         symbol in the non-vis3 case in static builds.
42429         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42430         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42431         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42432         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42434 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42436         [BZ #387]
42437         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42438         it is empty.
42440 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42442         * benchtests/Makefile: Add bench-strtod.
42443         * benchtests/bench-strtod.c: New file: strtod benchtest
42445 2013-11-11  Andreas Schwab  <schwab@suse.de>
42447         [BZ #16153]
42448         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42449         terminating NUL in key length.
42451 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42453         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42454         Add artificial ODP entry for vDSO symbol for PPC64.
42455         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42456         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42458 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42460         [BZ #15374]
42461         * nss/getent.c (services_keys): Recognize services starting with digit.
42463 2013-11-06  David S. Miller  <davem@davemloft.net>
42465         [BZ #15985]
42466         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42467         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42469 2013-11-06  Will Newton  <will.newton@linaro.org>
42471         * manual/memory.texi (Malloc Examples): Remove register
42472         keyword from examples.
42474 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42476         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42478 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42480         [BZ #6981]
42481         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42482         depending on [__GCC_IEC_559 > 0].
42483         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42484         depending on [__GCC_IEC_559_COMPLEX > 0].
42486 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42488         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42489         to iso-639.def.
42491 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42493         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42495 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42497         [BZ #16112]
42498         * malloc/malloc (malloc_info): Do not handle first bin as
42499         special case.
42501 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42503         * locale/iso-639.def: Add Central Nahuatl (nhn).
42505 2013-11-01  Bruno Haible  <bruno@clisp.org>
42507         [BZ #7003]
42508         * manual/math.texi (BSD Random): Specify range upper bound as
42509         in POSIX.
42511 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42513         * locale/iso-639.def: Add Meadow Mari (mhr).
42515 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42517         [BZ #14752], [BZ #15763]
42518         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42519         Validate name.
42520         * rt/tst_shm.c: Add test for escaping directory.
42522 2013-10-31  Andreas Schwab  <schwab@suse.de>
42524         [BZ #15917]
42525         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42526         followed by 'x' as part of digit sequence.
42527         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42529 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42531         [BZ #16037]
42532         * configure.ac: allow GNU Make 4.0 and greater.
42533         * configure: Regenerated.
42535 2013-10-30  Will Newton  <will.newton@linaro.org>
42537         [BZ #16038]
42538         * malloc/hooks.c (memalign_check): Limit alignment to the
42539         maximum representable power of two.
42540         * malloc/malloc.c (__libc_memalign): Likewise.
42541         * malloc/tst-memalign.c (do_test): Add test for very
42542         large alignment values.
42543         * malloc/tst-posix_memalign.c (do_test): Likewise.
42545 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42547         [BZ #11087]
42548         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42549         (munmap_chunk): Likewise.
42550         (mremap_chunk): Likewise.
42552 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42554         [BZ #15799]
42555         * stdlib/div.c (div): Remove obsolete code.
42556         * stdlib/ldiv.c (ldiv): Likewise.
42557         * stdlib/lldiv.c (lldiv): Likewise.
42559 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42561         [BZ #16071]
42562         * nss/nss_files/files-XXX.c (get_contents_ret): New
42563         enumerator.
42564         (get_contents): New function.
42565         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42567 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42569         * configure.in: Moved to ...
42570         * configure.ac: ... here. Change reference to configure.in
42571         to configure.ac.
42572         * sysdeps/arm/preconfigure.ac: ... here.
42573         configure.in to configure.ac.
42574         * sysdeps/gnu/configure.in: Moved to ...
42575         * sysdeps/gnu/configure.ac: ... here.
42576         * sysdeps/i386/configure.in: Moved to ...
42577         * sysdeps/i386/configure.ac: ... here.
42578         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42579         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42580         * sysdeps/mach/configure.in: Moved to ...
42581         * sysdeps/mach/configure.ac: ... here.
42582         * sysdeps/mach/hurd/configure.in: Moved to ...
42583         * sysdeps/mach/hurd/configure.ac: ... here.
42584         * sysdeps/powerpc/configure.in: Moved to ...
42585         * sysdeps/powerpc/configure.ac: ... here.
42586         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42587         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42588         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42589         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42590         * sysdeps/s390/s390-32/configure.in: Moved to ...
42591         * sysdeps/s390/s390-32/configure.ac: ... here.
42592         * sysdeps/s390/s390-64/configure.in: Moved to ...
42593         * sysdeps/s390/s390-64/configure.ac: ... here.
42594         * sysdeps/sh/configure.in: Moved to ...
42595         * sysdeps/sh/configure.ac: ... here.
42596         * sysdeps/sparc/configure.in: Moved to ...
42597         * sysdeps/sparc/configure.ac: ... here.
42598         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42599         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42600         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42601         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42602         * sysdeps/x86_64/configure.in: Moved to ...
42603         * sysdeps/x86_64/configure.ac: ... here.
42604         * sysdeps/x86_64/preconfigure.in: Moved to ...
42605         * sysdeps/x86_64/preconfigure.ac: ... here.
42606         * aclocal.m4: Change reference to configure.in to configure.ac.
42607         * config.h.in: Likewise.
42608         * manual/install.texi: Likewise.
42609         * manual/maint.texi: Likewise.
42610         * Makefile: Likewise.
42611         * malloc/Makefile: Likewise.
42612         * nscd/Makefile: Likewise.
42613         * Makeconfig: Change reference to configure.in and
42614         preconfigure.in to configure.ac and preconfigure.ac
42615         respectively.
42616         * INSTALL: Regenerated.
42617         * configure: Likewise.
42618         * sysdeps/gnu/configure: Likewise.
42619         * sysdeps/i386/configure: Likewise.
42620         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42621         * sysdeps/mach/configure: Likewise.
42622         * sysdeps/mach/hurd/configure: Likewise.
42623         * sysdeps/powerpc/configure: Likewise.
42624         * sysdeps/powerpc/powerpc32/configure: Likewise.
42625         * sysdeps/powerpc/powerpc64/configure: Likewise.
42626         * sysdeps/s390/s390-32/configure: Likewise.
42627         * sysdeps/s390/s390-64/configure: Likewise.
42628         * sysdeps/sh/configure: Likewise.
42629         * sysdeps/sparc/configure: Likewise.
42630         * sysdeps/unix/sysv/linux/configure: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42632         * sysdeps/x86_64/configure: Likewise.
42633         * sysdeps/x86_64/preconfigure: Likewise.
42635 2013-10-29  Andreas Schwab  <schwab@suse.de>
42637         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42639 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42641         * benchtests/pow-inputs: Add new inputs.
42643         * benchtests/exp-inputs: Add new inputs.
42645         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42646         conditional check for return value.
42647         (__cos32): Likewise.
42649 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42651         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42652         to provide a boost for large inputs with word alignment.
42653         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42654         implementation based on optimized PPC64 strcpy.
42655         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42656         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42657         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42658         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42660 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42662         [BZ #2801]
42663         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42665 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42667         [BZ #14876]
42668         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42669         * time/tst-strptime.c (day_tests): Add testcase.
42671 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42673         [BZ #14029]
42674         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42676 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42678         [BZ #16074]
42679         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42680         MAP_FAILED on error.
42682 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42684         [BZ #16072]
42685         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42686         heap for large requests.
42688 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42690         [BZ #9954]
42691         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42692         result if the result has no associated interface.
42693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42694         interface for all 127.X.Y.Z addresses.
42696 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42698         * locale/iso-639.def: Add Ligurian (lij)
42700 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42702         [BZ #15825]
42703         * sunrpc/rpc_main.c: Document rpcgen -5.
42705 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42707         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42709 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42711         [BZ #10278]
42712         * posix/glob.c: Match only directories when trailing slash is present.
42713         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42714         (main): Add testcase.
42716 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42718         [BZ #15670]
42719         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42721 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42723         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42724         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42725         AUTH_DES and cindex for FIPS 140-2.
42726         (DES Encryption): Add cindex FIPS 46-3.
42728         * locale/locarchive.h (struct locarhandle): Add fname.
42729         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42730         if an optional argument was specified to --list-archive,
42731         otherwise NULL.
42732         * locale/programs/locarchive.c (show_archive_content): Take new
42733         argument fname and pass it via ah.fname to open_archive.
42734         * locale/programs/localedef.h: Update decl.
42735         (open_archive): If AH->fname is non-null, open that file
42736         rather than the default file name, and don't ignore ENOENT.
42737         (create_archive): Set AH.fname to NULL.
42738         (delete_locales_from_archive): Likewise.
42739         (add_locales_to_archive): Likewise.
42740         * locale/programs/locfile.c (write_all_categories): Likewise.
42742 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42743             Aldy Hernandez  <aldyh@redhat.com>
42745         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42746         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42747         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42748         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42749         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42750         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42751         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42753         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42756         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42757         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42758         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42759         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42760         Likewise.
42761         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42762         Likewise.
42763         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42764         Likewise.
42765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42766         Likewise.
42767         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42768         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42769         Likewise.
42770         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42771         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42772         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42773         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42774         Likewise.
42775         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42776         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42777         * sysdeps/powerpc/preconfigure: Likewise.
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42779         Likewise.
42780         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42781         Replace contents of file by #include of <fenv_libc.h>.
42782         * sysdeps/powerpc/soft-fp/sfp-machine.h
42783         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42784         and <sys/prctl.h>.
42785         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42798         Allow copysignl PLT reference to be missing.
42800 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42801             Joseph Myers  <joseph@codesourcery.com
42803         [BZ #15948]
42804         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42805         single character.
42806         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42808 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42810         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42811         * elf/tst-tls1.c: Likewise.
42812         * elf/tst-tls10.h: Likewise.
42813         * elf/tst-tls14.c: Likewise.
42814         * elf/tst-tls2.c: Likewise.
42815         * elf/tst-tls3.c: Likewise.
42816         * elf/tst-tls4.c: Likewise.
42817         * elf/tst-tls5.c: Likewise.
42818         * elf/tst-tls6.c: Likewise.
42819         * elf/tst-tls7.c: Likewise.
42820         * elf/tst-tls8.c: Likewise.
42821         * elf/tst-tls9.c: Likewise.
42822         * elf/tst-tlsmod1.c: Likewise.
42823         * elf/tst-tlsmod13.c: Likewise.
42824         * elf/tst-tlsmod13a.c: Likewise.
42825         * elf/tst-tlsmod14a.c: Likewise.
42826         * elf/tst-tlsmod16a.c: Likewise.
42827         * elf/tst-tlsmod16b.c: Likewise.
42828         * elf/tst-tlsmod2.c: Likewise.
42829         * elf/tst-tlsmod3.c: Likewise.
42830         * elf/tst-tlsmod4.c: Likewise.
42831         * elf/tst-tlsmod5.c: Likewise.
42832         * elf/tst-tlsmod6.c: Likewise.
42834 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42836         [BZ #12486]
42837         * malloc/malloc.c: remove checks for statistics.
42839 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42841         [BZ #15277]
42842         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42843         * inet/tst-network.c: Add testcase.
42845 2013-10-17  Andreas Schwab  <schwab@suse.de>
42847         [BZ #15218]
42848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42849         to determine canonical name.
42851 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42853         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42854         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42856         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42859         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42860         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42861         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42863         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42864         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42865         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42866         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42867         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42868         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42870         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42872         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42873         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42877         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42878         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42879         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42880         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42882         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42883         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42912 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42914         [BZ #16041]
42915         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42916         make result into a quiet NaN.
42918 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42920         * soft-fp/adddf3.c: Fix horizontal whitespace.
42921         * soft-fp/addsf3.c: Likewise.
42922         * soft-fp/addtf3.c: Likewise.
42923         * soft-fp/divdf3.c: Likewise.
42924         * soft-fp/divsf3.c: Likewise.
42925         * soft-fp/divtf3.c: Likewise.
42926         * soft-fp/double.h: Likewise.
42927         * soft-fp/eqdf2.c: Likewise.
42928         * soft-fp/eqsf2.c: Likewise.
42929         * soft-fp/eqtf2.c: Likewise.
42930         * soft-fp/extenddftf2.c: Likewise.
42931         * soft-fp/extended.h: Likewise.
42932         * soft-fp/extendsfdf2.c: Likewise.
42933         * soft-fp/extendsftf2.c: Likewise.
42934         * soft-fp/extendxftf2.c: Likewise.
42935         * soft-fp/fixdfdi.c: Likewise.
42936         * soft-fp/fixdfsi.c: Likewise.
42937         * soft-fp/fixdfti.c: Likewise.
42938         * soft-fp/fixsfdi.c: Likewise.
42939         * soft-fp/fixsfsi.c: Likewise.
42940         * soft-fp/fixsfti.c: Likewise.
42941         * soft-fp/fixtfdi.c: Likewise.
42942         * soft-fp/fixtfsi.c: Likewise.
42943         * soft-fp/fixtfti.c: Likewise.
42944         * soft-fp/fixunsdfdi.c: Likewise.
42945         * soft-fp/fixunsdfsi.c: Likewise.
42946         * soft-fp/fixunsdfti.c: Likewise.
42947         * soft-fp/fixunssfdi.c: Likewise.
42948         * soft-fp/fixunssfsi.c: Likewise.
42949         * soft-fp/fixunssfti.c: Likewise.
42950         * soft-fp/fixunstfdi.c: Likewise.
42951         * soft-fp/fixunstfsi.c: Likewise.
42952         * soft-fp/fixunstfti.c: Likewise.
42953         * soft-fp/floatdidf.c: Likewise.
42954         * soft-fp/floatdisf.c: Likewise.
42955         * soft-fp/floatditf.c: Likewise.
42956         * soft-fp/floatsidf.c: Likewise.
42957         * soft-fp/floatsisf.c: Likewise.
42958         * soft-fp/floatsitf.c: Likewise.
42959         * soft-fp/floattidf.c: Likewise.
42960         * soft-fp/floattisf.c: Likewise.
42961         * soft-fp/floattitf.c: Likewise.
42962         * soft-fp/floatundidf.c: Likewise.
42963         * soft-fp/floatundisf.c: Likewise.
42964         * soft-fp/floatunditf.c: Likewise.
42965         * soft-fp/floatunsidf.c: Likewise.
42966         * soft-fp/floatunsisf.c: Likewise.
42967         * soft-fp/floatunsitf.c: Likewise.
42968         * soft-fp/floatuntidf.c: Likewise.
42969         * soft-fp/floatuntisf.c: Likewise.
42970         * soft-fp/floatuntitf.c: Likewise.
42971         * soft-fp/fmadf4.c: Likewise.
42972         * soft-fp/fmasf4.c: Likewise.
42973         * soft-fp/fmatf4.c: Likewise.
42974         * soft-fp/gedf2.c: Likewise.
42975         * soft-fp/gesf2.c: Likewise.
42976         * soft-fp/getf2.c: Likewise.
42977         * soft-fp/ledf2.c: Likewise.
42978         * soft-fp/lesf2.c: Likewise.
42979         * soft-fp/letf2.c: Likewise.
42980         * soft-fp/muldf3.c: Likewise.
42981         * soft-fp/mulsf3.c: Likewise.
42982         * soft-fp/multf3.c: Likewise.
42983         * soft-fp/negdf2.c: Likewise.
42984         * soft-fp/negsf2.c: Likewise.
42985         * soft-fp/negtf2.c: Likewise.
42986         * soft-fp/op-1.h: Likewise.
42987         * soft-fp/op-2.h: Likewise.
42988         * soft-fp/op-4.h: Likewise.
42989         * soft-fp/op-8.h: Likewise.
42990         * soft-fp/op-common.h: Likewise.
42991         * soft-fp/quad.h: Likewise.
42992         * soft-fp/single.h: Likewise.
42993         * soft-fp/soft-fp.h: Likewise.
42994         * soft-fp/sqrtdf2.c: Likewise.
42995         * soft-fp/sqrtsf2.c: Likewise.
42996         * soft-fp/sqrttf2.c: Likewise.
42997         * soft-fp/subdf3.c: Likewise.
42998         * soft-fp/subsf3.c: Likewise.
42999         * soft-fp/subtf3.c: Likewise.
43000         * soft-fp/truncdfsf2.c: Likewise.
43001         * soft-fp/trunctfdf2.c: Likewise.
43002         * soft-fp/trunctfsf2.c: Likewise.
43003         * soft-fp/trunctfxf2.c: Likewise.
43004         * soft-fp/unorddf2.c: Likewise.
43005         * soft-fp/unordsf2.c: Likewise.
43006         * soft-fp/unordtf2.c: Likewise.
43008 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43010         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43011         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43013 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43015         * elf/dl-libc.c: Clear initfini list after freeing.
43017 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43019         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43020         * soft-fp/addsf3.c: Likewise.
43021         * soft-fp/addtf3.c: Likewise.
43022         * soft-fp/divdf3.c: Likewise.
43023         * soft-fp/divsf3.c: Likewise.
43024         * soft-fp/divtf3.c: Likewise.
43025         * soft-fp/double.h: Likewise.
43026         * soft-fp/eqdf2.c: Likewise.
43027         * soft-fp/eqsf2.c: Likewise.
43028         * soft-fp/eqtf2.c: Likewise.
43029         * soft-fp/extenddftf2.c: Likewise.
43030         * soft-fp/extended.h: Likewise.
43031         * soft-fp/extendsfdf2.c: Likewise.
43032         * soft-fp/extendsftf2.c: Likewise.
43033         * soft-fp/extendxftf2.c: Likewise.
43034         * soft-fp/fixdfdi.c: Likewise.
43035         * soft-fp/fixdfsi.c: Likewise.
43036         * soft-fp/fixdfti.c: Likewise.
43037         * soft-fp/fixsfdi.c: Likewise.
43038         * soft-fp/fixsfsi.c: Likewise.
43039         * soft-fp/fixsfti.c: Likewise.
43040         * soft-fp/fixtfdi.c: Likewise.
43041         * soft-fp/fixtfsi.c: Likewise.
43042         * soft-fp/fixtfti.c: Likewise.
43043         * soft-fp/fixunsdfdi.c: Likewise.
43044         * soft-fp/fixunsdfsi.c: Likewise.
43045         * soft-fp/fixunsdfti.c: Likewise.
43046         * soft-fp/fixunssfdi.c: Likewise.
43047         * soft-fp/fixunssfsi.c: Likewise.
43048         * soft-fp/fixunssfti.c: Likewise.
43049         * soft-fp/fixunstfdi.c: Likewise.
43050         * soft-fp/fixunstfsi.c: Likewise.
43051         * soft-fp/fixunstfti.c: Likewise.
43052         * soft-fp/floatdidf.c: Likewise.
43053         * soft-fp/floatdisf.c: Likewise.
43054         * soft-fp/floatditf.c: Likewise.
43055         * soft-fp/floatsidf.c: Likewise.
43056         * soft-fp/floatsisf.c: Likewise.
43057         * soft-fp/floatsitf.c: Likewise.
43058         * soft-fp/floattidf.c: Likewise.
43059         * soft-fp/floattisf.c: Likewise.
43060         * soft-fp/floattitf.c: Likewise.
43061         * soft-fp/floatundidf.c: Likewise.
43062         * soft-fp/floatundisf.c: Likewise.
43063         * soft-fp/floatunsidf.c: Likewise.
43064         * soft-fp/floatunsisf.c: Likewise.
43065         * soft-fp/floatuntidf.c: Likewise.
43066         * soft-fp/floatuntisf.c: Likewise.
43067         * soft-fp/floatuntitf.c: Likewise.
43068         * soft-fp/fmadf4.c: Likewise.
43069         * soft-fp/fmasf4.c: Likewise.
43070         * soft-fp/fmatf4.c: Likewise.
43071         * soft-fp/gedf2.c: Likewise.
43072         * soft-fp/gesf2.c: Likewise.
43073         * soft-fp/getf2.c: Likewise.
43074         * soft-fp/ledf2.c: Likewise.
43075         * soft-fp/lesf2.c: Likewise.
43076         * soft-fp/letf2.c: Likewise.
43077         * soft-fp/muldf3.c: Likewise.
43078         * soft-fp/mulsf3.c: Likewise.
43079         * soft-fp/multf3.c: Likewise.
43080         * soft-fp/negdf2.c: Likewise.
43081         * soft-fp/negsf2.c: Likewise.
43082         * soft-fp/negtf2.c: Likewise.
43083         * soft-fp/op-1.h: Likewise.
43084         * soft-fp/op-2.h: Likewise.
43085         * soft-fp/op-4.h: Likewise.
43086         * soft-fp/op-8.h: Likewise.
43087         * soft-fp/op-common.h: Likewise.
43088         * soft-fp/quad.h: Likewise.
43089         * soft-fp/single.h: Likewise.
43090         * soft-fp/soft-fp.h: Likewise.
43091         * soft-fp/sqrtdf2.c: Likewise.
43092         * soft-fp/sqrtsf2.c: Likewise.
43093         * soft-fp/sqrttf2.c: Likewise.
43094         * soft-fp/subdf3.c: Likewise.
43095         * soft-fp/subsf3.c: Likewise.
43096         * soft-fp/subtf3.c: Likewise.
43097         * soft-fp/truncdfsf2.c: Likewise.
43098         * soft-fp/trunctfdf2.c: Likewise.
43099         * soft-fp/trunctfsf2.c: Likewise.
43100         * soft-fp/trunctfxf2.c: Likewise.
43101         * soft-fp/unorddf2.c: Likewise.
43102         * soft-fp/unordsf2.c: Likewise.
43103         * soft-fp/unordtf2.c: Likewise.
43105 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43107         [BZ #15672]
43108         * misc/error.c (error_tail): Fix possible buffer overflow.
43110 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43112         [BZ #13028]
43113         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43114         address.
43116 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43118         [BZ #832]
43119         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43120         testing pipefail option.
43122 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43124         * soft-fp/double.h: Indent preprocessor directives inside #if.
43125         * soft-fp/extended.h: Likewise.
43126         * soft-fp/op-2.h: Likewise.
43127         * soft-fp/op-4.h: Likewise.
43128         * soft-fp/op-common.h: Likewise.
43129         * soft-fp/quad.h: Likewise.
43130         * soft-fp/single.h: Likewise.
43131         * soft-fp/soft-fp.h: Likewise.
43133 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43135         * iconv/iconv_prog.c: Fix typos.
43136         * stdio-common/psiginfo-data.h: Likewise.
43138 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43140         [BZ #15764]
43141         * locale/setlocale.c: Fix typo.
43143 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43145         [BZ #16036]
43146         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43147         signaling NaN arguments.
43148         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43149         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43151         [BZ #14910]
43152         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43153         unordered operands.
43154         * soft-fp/gesf2.c (__gesf2): Likewise.
43155         * soft-fp/getf2.c (__getf2): Likewise.
43156         * soft-fp/ledf2.c (__ledf2): Likewise.
43157         * soft-fp/lesf2.c (__lesf2): Likewise.
43158         * soft-fp/letf2.c (__letf2): Likewise.
43160         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43161         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43162         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43163         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43164         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43165         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43166         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43167         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43168         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43169         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43170         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43171         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43172         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43173         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43174         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43175         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43176         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43177         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43178         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43179         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43180         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43181         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43182         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43183         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43184         * soft-fp/floattidf.c (__floattidf): Likewise.
43185         * soft-fp/floattisf.c (__floattisf): Likewise.
43186         * soft-fp/floattitf.c (__floattitf): Likewise.
43187         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43188         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43189         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43190         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43191         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43192         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43193         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43194         * soft-fp/gesf2.c (__gesf2): Likewise.
43195         * soft-fp/getf2.c (__getf2): Likewise.
43196         * soft-fp/ledf2.c (__ledf2): Likewise.
43197         * soft-fp/lesf2.c (__lesf2): Likewise.
43198         * soft-fp/letf2.c (__letf2): Likewise.
43200         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43201         Undefine and redefine.
43202         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43203         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43204         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43205         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43206         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43207         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43208         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43209         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43210         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43211         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43212         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43213         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43214         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43215         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43216         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43218         [BZ #16032]
43219         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43220         without decrementing exponent if mantissa >= that for the
43221         denominator, not >.
43222         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43223         denominator, not >.  Decrement exponent in < case instead of
43224         incrementing in >= case.
43225         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43226         without decrementing exponent if mantissa >= that for the
43227         denominator, not >.
43229         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43230         computing saturated result for unsigned overflow.
43232 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43233             Jeff Law  <law@redhat.com>
43235         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43236         (atan2Mp): Add systemtap probe marker.
43237         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43238         (__ieee754_log): Add systemtap probe marker.
43239         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43240         (atanMp): Add systemtap probe marker.
43241         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43242         (tanMp): Add systemtap probe marker.
43243         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43244         (__slowexp): Add systemtap probe marker.
43245         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43246         (__slowpow): Add systemtap probe marker.
43247         * manual/probes.texi: Document probes.
43249 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43251         [BZ #15362]
43252         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43253         written.
43254         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43255         written.
43256         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43257         written to buffer but not flushed.
43258         * libio/iofwrite_u.c:  Likewise.
43259         * libio/iopadn.c:  Return bytes returned even if EOF was
43260         encountered.
43261         * libio/iowpadn.c:  Likewise.
43262         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43263         if _IO_padn does not write the whole buffer.
43264         [!COMPILE_WPRINTF] (PAD): Likewise.
43266 2013-10-10  David S. Miller  <davem@davemloft.net>
43268         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43269         directory block.
43271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43273         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43274         instead of FSF address.
43275         * soft-fp/fixdfti.c: Likewise.
43276         * soft-fp/fixsfti.c: Likewise.
43277         * soft-fp/fixtfti.c: Likewise.
43278         * soft-fp/fixunsdfti.c: Likewise.
43279         * soft-fp/fixunssfti.c: Likewise.
43280         * soft-fp/fixunstfti.c: Likewise.
43281         * soft-fp/floattidf.c: Likewise.
43282         * soft-fp/floattisf.c: Likewise.
43283         * soft-fp/floattitf.c: Likewise.
43284         * soft-fp/floatuntidf.c: Likewise.
43285         * soft-fp/floatuntisf.c: Likewise.
43286         * soft-fp/floatuntitf.c: Likewise.
43287         * soft-fp/trunctfxf2.c: Likewise.
43289         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43290         * soft-fp/fixdfti.c: Likewise.
43291         * soft-fp/fixsfti.c: Likewise.
43292         * soft-fp/fixtfti.c: Likewise.
43293         * soft-fp/fixunsdfti.c: Likewise.
43294         * soft-fp/fixunssfti.c: Likewise.
43295         * soft-fp/fixunstfti.c: Likewise.
43296         * soft-fp/floattidf.c: Likewise.
43297         * soft-fp/floattisf.c: Likewise.
43298         * soft-fp/floattitf.c: Likewise.
43299         * soft-fp/floatuntidf.c: Likewise.
43300         * soft-fp/floatuntisf.c: Likewise.
43301         * soft-fp/floatuntitf.c: Likewise.
43302         * soft-fp/trunctfxf2.c: Likewise.
43304 2013-10-10  David S. Miller  <davem@davemloft.net>
43306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43308 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43310         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43311         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43312         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43313         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43314         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43315         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43316         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43319         for NaNs before doing comparisons on argument.
43320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43321         Likewise.
43323 2013-10-10  Will Newton  <will.newton@linaro.org>
43325         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43326         passed to _int_memalign does not overflow.
43328 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43330         * scripts/bench.pl: Add include-sources directive.
43331         * benchtests/README: Update documentation.
43333 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43335         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43336         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43337         instead of FP_INIT_ROUNDMODE.
43338         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43339         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43341         [BZ #16034]
43342         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43343         copy class of input value.
43344         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43345         not handle exceptions.
43346         * soft-fp/negsf2.c (__negsf2): Likewise.
43347         * soft-fp/negtf2.c (__negtf2): Likewise.
43348         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43350 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43352         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43353         semicolon.  From Linux kernel.
43355 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43357         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43359 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43361         [BZ #156]
43362         * manual/socket.texi: Added statement about buffer
43363         for gethostbyname2_r.
43365 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43367         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43368         Use .p2align directive instead, throughout.
43369         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43370         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43371         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43374         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43375         * sysdeps/x86_64/strchr.S: Likewise.
43376         * sysdeps/x86_64/strrchr.S: Likewise.
43378 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43380         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43382         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43384         * sysdeps/generic/math_private.h (__mpsin1): Remove
43385         declaration.
43386         (__mpcos1): Likewise.
43387         (__mpsin): New argument __range_reduce.
43388         (__mpcos): Likewise.
43389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43390         (slow): Use __mpsin and __mpcos.
43391         (slow1): Likewise.
43392         (slow2): Likewise.
43393         (sloww): Likewise.
43394         (sloww1): Likewise.
43395         (sloww2): Likewise.
43396         (bsloww): Likewise.
43397         (bsloww1): Likewise.
43398         (bsloww2): Likewise.
43399         (cslow2): Likewise.
43400         (csloww): Likewise.
43401         (csloww1): Likewise.
43402         (csloww2): Likewise.
43403         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43404         range_reduce.  Merge in __mpsin1.
43405         (__mpcos): Likewise.
43406         (__mpsin1): Remove.
43407         (__mpcos1): Likewise.
43409 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43411         * locale/loadlocale.c (_nl_intern_locale_data): Use
43412         LOCFILE_ALIGNED_P.
43413         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43414         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43415         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43416         obstack data is appropriately aligned.
43417         (obstack_int32_grow_fast): Likewise.
43418         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43419         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43420         (add_locale_uint32_array): Likewise.
43422 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43424         * benchtests/Makefile: Remove ARGLIST and RET variables.
43425         ($(objpfx)bench-%.c): Pass only function name to the script.
43426         * benchtests/README: Update documentation.
43427         * benchtests/acos-inputs: Add new directives.
43428         * benchtests/acosh-inputs: Likewise.
43429         * benchtests/asin-inputs: Likewise.
43430         * benchtests/asinh-inputs: Likewise.
43431         * benchtests/atan-inputs: Likewise.
43432         * benchtests/atanh-inputs: Likewise.
43433         * benchtests/cos-inputs: Likewise.
43434         * benchtests/cosh-inputs: Likewise.
43435         * benchtests/exp-inputs: Likewise.
43436         * benchtests/log-inputs: Likewise.
43437         * benchtests/pow-inputs: Likewise.
43438         * benchtests/rint-inputs: Likewise.
43439         * benchtests/sin-inputs: Likewise.
43440         * benchtests/sinh-inputs: Likewise.
43441         * benchtests/tan-inputs: Likewise.
43442         * benchtests/tanh-inputs: Likewise.
43443         * scripts/bench.pl: Add support for new directives.
43445 2013-10-07  Alan Modra  <amodra@gmail.com>
43447         * README: Fix careless merge.
43449 2013-10-05  Alan Modra  <amodra@gmail.com>
43451         * NEWS: Mention powerpc64le support and bugs fixed.
43452         * README: Both big-endian and little-endian powerpc64 supported.
43454 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43456         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43457         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43458         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43459         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43461 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43463         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43464         match prototype.
43466 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43468         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43469         Move -mhard-float appending from
43470         ports/sysdeps/powerpc/powerpc32/Makefile.
43471         [$(with-fp) = yes] (ASFLAGS): Likewise.
43472         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43473         * sysdeps/powerpc/nofpu: Move directory from
43474         ports/sysdeps/powerpc/nofpu.
43475         * sysdeps/powerpc/soft-fp: Move directory from
43476         ports/sysdeps/powerpc/soft-fp.
43477         * sysdeps/powerpc/powerpc32/405: Move directory from
43478         ports/sysdeps/powerpc/powerpc32/405.
43479         * sysdeps/powerpc/powerpc32/440: Move directory from
43480         ports/sysdeps/powerpc/powerpc32/440.
43481         * sysdeps/powerpc/powerpc32/464: Move directory from
43482         ports/sysdeps/powerpc/powerpc32/464.
43483         * sysdeps/powerpc/powerpc32/476: Move directory from
43484         ports/sysdeps/powerpc/powerpc32/476.
43485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43486         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43488         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43495         * README: Update for powerpc-*-linux-gnu software floating point
43496         support in libc.
43498         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43499         case to powerpc/powerpc32*.
43500         * sysdeps/unix/sysv/linux/configure: Regenerated.
43502         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43503         (_FPU_MASK_OM): Define as 0x04.
43504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43506         0x00c10080.
43507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43508         0x0000003c.
43509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43512         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43513         getcontext_e500.
43514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43515         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43516         setcontext_e500.
43517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43518         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43519         and setcontext_e500.
43521 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43523         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43525 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43527         * manual/threads.texi (Default Thread Attributes): Fix typo.
43529 2013-10-04  Will Newton  <will.newton@linaro.org>
43531         * malloc/Makefile: Add tst-memalign.
43532         * malloc/tst-memalign.c: New file.
43534         * malloc/tst-posix_memalign.c: Add comments.
43535         (do_test): Add comments and call free on all potentially
43536         allocated pointers. Add space after cast.
43538         * malloc/tst-pvalloc.c: Add comments.
43539         (do_test): Add comments and call free on all potentially
43540         allocated pointers. Remove duplicate check for NULL pointer.
43541         Add space after cast.
43543         * malloc/tst-valloc.c: Add comments.
43544         (do_test): Add comments and call free on all potentially
43545         allocated pointers. Remove duplicate check for NULL pointer.
43546         Add space after cast.
43548 2013-10-04  Alan Modra  <amodra@gmail.com>
43550         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43551         Use stdint types in rather than __attribute__((mode())).
43552         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43554 2013-10-04  Alan Modra  <amodra@gmail.com>
43556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43557         Correct handling of unaligned relocs for little-endian.
43558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43560 2013-10-04  Alan Modra  <amodra@gmail.com>
43562         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43563         * configure: Regenerate.
43564         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43565         * shlib-versions: Likewise.
43567 2013-10-04  Alan Modra  <amodra@gmail.com>
43569         * string/tester.c (test_memrchr): Increment reported test cycle.
43571 2013-10-04  Alan Modra  <amodra@gmail.com>
43573         * string/test-memcpy.c (do_one_test): When reporting errors, print
43574         string address and don't overrun end of string.
43576 2013-10-04  Alan Modra  <amodra@gmail.com>
43578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43579         insrdi.  Make better use of reg selection to speed exit slightly.
43580         Schedule entry path a little better.  Remove useless "are we done"
43581         checks on entry to main loop.  Handle wrapping around zero address.
43582         Correct main loop count.  Handle single left-over word from main
43583         loop inline rather than by using loop_small.  Remove extra word
43584         case in loop_small caused by wrong loop count.  Add little-endian
43585         support.
43586         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43587         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43588         cache hint.
43589         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43591         support.  Avoid rlwimi.
43592         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43594 2013-10-04  Alan Modra  <amodra@gmail.com>
43596         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43597         insrdi.  Formatting.
43598         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43599         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43600         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43601         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43603         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43605 2013-10-04  Alan Modra  <amodra@gmail.com>
43607         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43609         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43610         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43611         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43612         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43613         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43614         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43615         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43616         use of regs.  Use power7 mtocrf.  Tidy function tails.
43618 2013-10-04  Alan Modra  <amodra@gmail.com>
43620         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43621         Formatting.  Consistently use rXXX register defines or rN defines.
43622         Use early exit labels that avoid restoring unused non-volatile regs.
43623         Make cr field use more consistent with rWORDn compares.  Rename
43624         regs used as shift registers for unaligned loop, using rN defines
43625         for short lifetime/multiple use regs.
43626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43628         addi 1,1,64 to pop stack frame.  Simplify return value code.
43629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43631 2013-10-04  Alan Modra  <amodra@gmail.com>
43633         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43634         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43635         rather than rlwimi.
43636         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43637         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43638         little-endian support.  Correct typos.
43639         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43640         rather than rlwimi.
43641         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43642         in loop and entry code to keep "and." results.
43643         (strchr): Add little-endian support.  Comment.  Move cntlzd
43644         earlier in tail.
43645         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43647 2013-10-04  Alan Modra  <amodra@gmail.com>
43649         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43650         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43651         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43652         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43654 2013-10-04  Alan Modra  <amodra@gmail.com>
43656         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43657         (rTMP): Define as r11.
43658         (strcmp): Add little-endian support.  Optimise tail.
43659         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43660         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43662         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43663         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43664         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43665         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43667 2013-10-04  Alan Modra  <amodra@gmail.com>
43669         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43670         little-endian support.  Remove unnecessary "are we done" tests.
43671         Handle "s" wrapping around zero and extremely large "size".
43672         Correct main loop count.  Handle single left-over word from main
43673         loop inline rather than by using small_loop.  Correct comments.
43674         Delete "zero" tail, use "end_max" instead.
43675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43677 2013-10-04  Alan Modra  <amodra@gmail.com>
43679         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43680         support.  Don't branch over align.
43681         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43682         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43683         support.  Rearrange tmp reg use to suit.  Comment.
43684         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43686 2013-10-04  Alan Modra  <amodra@gmail.com>
43688         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43690 2013-10-04  Alan Modra  <amodra@gmail.com>
43692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43693         conditional form of branch and link when obtaining pc.
43694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43696 2013-10-04  Alan Modra  <amodra@gmail.com>
43698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43699         HIWORD/LOWORD.
43700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43703 2013-10-04  Alan Modra  <amodra@gmail.com>
43705         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43706         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43707         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43708         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43709         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43710         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43711         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43713         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43714         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43716 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43717             Alistair Popple <alistair@ozlabs.au.ibm.com>
43718             Alan Modra <amodra@gmail.com>
43720         [BZ #15723]
43721         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43722         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43723         _dl_hwcap access for little-endian.
43724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43725         destroy vmx regs when saving unaligned.
43726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43727         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43728         destroy vmx regs when saving unaligned.
43730 2013-10-04  Alan Modra  <amodra@gmail.com>
43732         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43733         Don't use a union to pack hi/low value.
43735 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43737         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43738         for little-endian.
43739         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43742         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43743         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43745 2013-10-04  Alan Modra  <amodra@gmail.com>
43747         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43748         constants to usual value for .cst8 section, and remove redundant
43749         high address load.
43750         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43751         constant for 0x1p52.  Load little-endian words of double from
43752         correct stack offsets.
43754 2013-10-04  Alan Modra  <amodra@gmail.com>
43756         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43757         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43758         words of double from correct stack offsets.
43759         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43760         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43761         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43765         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43766         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43767         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43771         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43772         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43773         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43774         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43775         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43777 2013-10-04  Alan Modra  <amodra@gmail.com>
43779         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43780         64-bit int/double union.
43781         (_FPU_SETCW): Likewise.
43782         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43783         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43785 2013-10-04  Alan Modra  <amodra@gmail.com>
43787         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43788         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43790 2013-10-04  Alan Modra  <amodra@gmail.com>
43792         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43793         use vector int constants.
43794         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43796 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43798         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43799         array with long long.
43800         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43801         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43802         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43803         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43804         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43805         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43806         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43808         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43809         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43810         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43812         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43816         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43817         (__signbit): Likewise.  Correct for little-endian.
43818         (__signbitl): Call __signbit.
43819         (lrint): Correct for little-endian.
43820         (lrintf): Call lrint.
43822 2013-10-04  Alan Modra  <amodra@gmail.com>
43824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43825         union 32-bit int array member with 64-bit int array.
43826         (t515, tm256): Double rather than long double.
43827         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43829 2013-10-04  Alan Modra  <amodra@gmail.com>
43831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43832         Delete.
43833         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43834         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43835         version of math_ldbl.h.
43837 2013-10-04  Alan Modra  <amodra@gmail.com>
43839         [BZ #15734], [BZ #15735]
43840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43841         all uses of ieee875 long double macros and unions.  Simplify test
43842         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43843         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43844         normalize after ldbl_extract_mantissa, and don't add hidden bit
43845         already handled.  Don't treat low word of ieee854 mantissa like
43846         low word of IBM long double and mask off bit when testing for
43847         zero.
43848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43849         all uses of ieee875 long double macros and unions.  Simplify tests
43850         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43851         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43852         two1022, instead use their values.  Recognise that tests for large
43853         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43854         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43855         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43856         test for 0.0L and nan.  Correct negation.
43857         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43858         ieee875 long double macros and unions.  Correct output for large
43859         magnitude x.  Correct absolute value calculation.
43860         (__erfcl): Likewise.
43861         * math/libm-test.inc: Add tests for errors discovered in IBM long
43862         double versions of fmodl, remainderl, erfl and erfcl.
43864 2013-10-04  Alan Modra  <amodra@gmail.com>
43866         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43867         all uses of ieee854 long double macros and unions.  Simplify tests
43868         for long doubles that are fully specified by the high double.
43869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43870         Likewise.
43871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43872         Remove dead code too.
43873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43874         (__ieee754_ynl): Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43876         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43878         Remove dead code too.
43879         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43881         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43883         Simplify.
43884         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43885         Simplify.
43886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43887         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43889         Comment on variable precision.
43890         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43892         Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43899 2013-10-04  Alan Modra  <amodra@gmail.com>
43901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43903         all uses of ieee854 long double macros and unions.
43904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43905         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43909         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43910         Likewise.
43911         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43912         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43913         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43914         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43916         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43917         Simplify sign and nan test too.
43918         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43919         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43920         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43922         Likewise.
43923         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43924         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43925         Likewise.
43926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43927         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43928         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43933 2013-10-04  Alan Modra  <amodra@gmail.com>
43935         * stdio-common/printf_size.c (__printf_size): Don't use
43936         union ieee854_long_double in fpnum union.
43937         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43938         signbit macro to retrieve sign from long double.
43939         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43940         retrieve sign from long double.
43941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43942         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43943         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43944         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43945         * math/test-misc.c (main): Don't use union ieee854_long_double.
43947 2013-10-04  Alan Modra  <amodra@gmail.com>
43949         [BZ #15680]
43950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43951         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43952         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43953         calculation.  Remove unnecessary test for denormal exponent.
43954         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43955         Correct handling of denormals.  Avoid undefined shift behaviour.
43956         Correct normalisation of low mantissa when low double is denormal.
43957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43958         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43959         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43960         Correct normalisation of low mantissa.  Test for overflow of high
43961         mantissa and normalise.
43962         (ldbl_nearbyint): Use more readable constant for two52.
43963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43964         (__mpn_construct_long_double): Fix test for overflow of high
43965         mantissa and correct normalisation.  Avoid undefined shift.
43967 2013-10-04  Alan Modra  <amodra@gmail.com>
43969         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43970         (union ibm_extended_long_double): Define as an array of ieee754_double.
43971         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43973         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43974         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43976         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43978         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43980         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43981         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43983 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43985         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43986         page size instead of calling getpagesize.
43988         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43989         (LOCFILE_ALIGN_MASK): Likewise.
43990         (LOCFILE_ALIGN_UP): Likewise.
43991         (LOCFILE_ALIGNED_P): Likewise.
43992         * locale/programs/ld-collate.c (collate_output): Use the new
43993         macros instead of __alignof__ (int32_t).
43994         * locale/weight.h (findidx): Likewise.
43996 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43998         [BZ #431]
43999         * manual/string.texi: Fix strncat and wcsncat.
44001 2013-10-03  Brooks Moses  <bmoses@google.com>
44003         [BZ #15915]
44004         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44005         * Makerules: ...here, and adjust associated comments.
44007 2013-10-02  Will Newton  <will.newton@linaro.org>
44009         * malloc/Makefile: Add tst-pvalloc.
44010         * malloc/tst-pvalloc.c: New file.
44012 2013-10-02  Will Newton  <will.newton@linaro.org>
44014         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44015         improve test coverage.
44017 2013-10-02  Will Newton  <will.newton@linaro.org>
44019         * malloc/Makefile: Add tst-posix_memalign.
44020         * malloc/tst-posix_memalign.c: New file.
44022 2013-10-01  Eric Blake  <eblake@redhat.com>
44024         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44025         Use __THROWNL rather than __THROW on static functions.
44027 2013-09-30  Petr Machata  <pmachata@redhat.com>
44029         * elf/elf.h (R_AARCH64_ABS16): New macro.
44030         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44031         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44032         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44033         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44034         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44035         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44036         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44037         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44038         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44039         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44040         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44041         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44042         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44043         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44044         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44045         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44046         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44047         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44048         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44049         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44050         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44051         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44052         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44053         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44054         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44055         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44056         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44057         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44058         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44059         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44060         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44061         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44062         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44063         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44064         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44065         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44066         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44067         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44068         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44069         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44070         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44071         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44072         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44073         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44074         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44075         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44076         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44077         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44078         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44079         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44080         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44081         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44082         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44083         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44084         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44085         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44086         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44087         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44088         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44089         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44090         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44091         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44092         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44093         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44094         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44095         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44096         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44097         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44098         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44099         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44100         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44101         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44102         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44103         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44104         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44105         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44106         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44107         (R_AARCH64_TLSDESC_LDR): Likewise.
44108         (R_AARCH64_TLSDESC_ADD): Likewise.
44109         (R_AARCH64_TLSDESC_CALL): Likewise.
44111 2013-09-30  Andreas Schwab  <schwab@suse.de>
44113         [BZ #15048]
44114         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44115         the nss database lookup.
44116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44119 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44121         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44123 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44126         ${Bash-specific parameter/pattern/string} parameter expansion.
44127         * sysdeps/unix/make-syscalls.sh: Likewise.
44129 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44131         * sysdeps/sh/stackguard-macros.h: New file.
44133 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44137         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44139         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44140         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44142 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44144         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44145         Fix thread ID register.
44147 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44149         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44150         [POSIX || UNIX98]: Require rather than permitting all symbols from
44151         <time.h>.
44152         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44153         element of struct sched_param.
44154         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44155         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44156         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44157         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44158         constant.
44160 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44162         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44163         argument calculation.
44165 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44167         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44168         Expect macro.
44169         [POSIX] (pthread_attr_t): Do not require type.
44170         [POSIX] (pthread_cond_t): Likewise.
44171         [POSIX] (pthread_condattr_t): Likewise.
44172         [POSIX] (pthread_key_t): Likewise.
44173         [POSIX] (pthread_mutex_t): Likewise.
44174         [POSIX] (pthread_mutexattr_t): Likewise.
44175         [POSIX] (pthread_once_t): Likewise.
44176         [POSIX] (pthread_t): Likewise.
44177         [POSIX-based standards] (pthread_atfork): Expect function.
44179 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44180             Richard Sandiford  <richard@codesourcery.com>
44182         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44183         (swap_endianness_p): New extern variable.
44184         (set_big_endian): New inline function.
44185         (maybe_swap_uint32): Likewise.
44186         (maybe_swap_uint32_array): Likewise.
44187         (maybe_swap_uint32_obstack): Likewise.
44188         * locale/programs/locfile.c: Include <stdbool.h>.
44189         (swap_endianness_p): New variable.
44190         (add_locale_uint32): Call maybe_swap_uint32.
44191         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44192         (write_locale_data): Call maybe_swap_uint32_array.
44193         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44194         maybe_swap_uint32.
44195         (obstack_int32_grow_fast): Likewise.
44196         (output_weightwc): Call maybe_swap_uint32_obstack.
44197         (collate_output): Likewise.
44198         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44199         (OPT_LITTLE_ENDIAN): Likewise.
44200         (options): Add --little-endian and --big-endian options.
44201         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44202         * locale/programs/locarchive.c: Include "locfile.h".
44203         (GET): New macro.
44204         (SET): Likewise.
44205         (INC): Likewise.
44206         (create_archive): Use the new macros to access fields of
44207         structures directly mapped from or written to locale archives.
44208         (oldlocrecentcmp): Likewise.
44209         (enlarge_archive): Likewise.
44210         (insert_name): Likewise.
44211         (add_alias): Likewise.
44212         (add_locale): Likewise.
44213         (delete_locales_from_archive): Likewise.
44214         (show_archive_content): Likewise.
44215         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44216         locale data.
44218 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44220         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44221         http://www.gnu.org/doc/freemanuals.texi.
44222         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44224 2013-09-24  Will Newton  <will.newton@linaro.org>
44226         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44227         macro.
44229 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44231         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44232         unsigned char.
44234 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44236         * manual/threads.texi (POSIX Threads): Fix a typo.
44238 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44240         [BZ #14547]
44241         * string/tst-strcoll-overflow.c: New test case.
44242         * string/Makefile (xtests): Add tst-strcoll-overflow.
44243         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44244         cache if string sizes may cause integer overflow.
44246         [BZ #14547]
44247         * string/strcoll_l.c (coll_seq): New members rule, idx,
44248         save_idx and back_us.
44249         (get_next_seq_nocache): New function.
44250         (do_compare_nocache): New function.
44251         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44252         when malloc fails.
44254 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44256         [BZ #15754]
44257         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44258         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44259         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44261         [BZ #15754]
44262         * elf/Makefile (tests): Add tst-ptrguard1.
44263         (tests-static): Add tst-ptrguard1-static.
44264         (tst-ptrguard1-ARGS): Define.
44265         (tst-ptrguard1-static-ARGS): Define.
44266         * elf/tst-ptrguard1.c: New file.
44267         * elf/tst-ptrguard1-static.c: New file.
44268         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44269         * sysdeps/i386/stackguard-macros.h: Likewise.
44270         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44271         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44272         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44273         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44274         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44275         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44277 2013-09-23  Hector Marco  <hecmargi@upv.es>
44278             Ismael Ripoll  <iripoll@disca.upv.es>
44279             Carlos O'Donell  <carlos@redhat.com>
44281         [BZ #15754]
44282         * sysdeps/generic/stackguard-macros.h: Define
44283         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44284         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44285         Define __pointer_chk_guard_local.
44286         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44287         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44289 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44291         [BZ #15859]
44292         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44294 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44296         * include/string.h (__ffs): Declare as hidden.
44297         * string/ffs.c (__ffs): Define as hidden.
44298         * sysdeps/i386/ffs.c (__ffs): Likewise.
44299         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44300         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44301         * sysdeps/s390/ffs.c (__ffs): Likewise.
44302         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44304 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44306         * NEWS: Mention malloc probes.
44308         * malloc/arena.c (new_heap): New memory_heap_new probe.
44309         (grow_heap): New memory_heap_more probe.
44310         (shrink_heap): New memory_heap_less probe.
44311         (heap_trim): New memory_heap_free probe.
44312         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44313         (systrim): New memory_sbrk_less probe.
44314         * manual/probes.texi: Document them.
44316         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44317         * manual/probes.texi: Document it.
44319         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44320         (__libc_realloc): Add memory_realloc_retry probe.
44321         (__libc_memalign): Add memory_memalign_retry probe.
44322         (__libc_valloc): Add memory_valloc_retry probe.
44323         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44324         (__libc_calloc): Add memory_calloc_retry probe.
44325         * manual/probes.texi: Document them.
44327         * malloc/arena.c (get_free_list): Add probe
44328         memory_arena_reuse_free_list.
44329         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44330         and memory_arena_reuse.
44331         (arena_get2) [!PER_THREAD]: Likewise.
44332         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44333         memory_arena_reuse_realloc.
44334         * manual/probes.texi: Document them.
44336         * malloc/malloc.c (__libc_free): Add
44337         memory_mallopt_free_dyn_thresholds probe.
44338         (__libc_mallopt): Add multiple memory_mallopt probes.
44339         * manual/probes.texi: Document them.
44341         * malloc/malloc.c: Include stap-probe.h.
44342         (__libc_mallopt): Add memory_mallopt probe.
44343         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44344         * manual/probes.texi: New.
44345         * manual/Makefile (chapters): Add probes.
44346         * manual/threads.texi: Set next node.
44348 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44350         [BZ #15963, #13985]
44351         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44352         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44353         Add `Chinese' to `nan' entry name.
44355 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44357         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44358         (POLYNOMIAL): Likewise.
44359         (TAYLOR_SINCOS): Likewise.
44360         (TAYLOR_SLOW): Likewise.
44361         (__sin): Use TAYLOR_SINCOS.
44362         (__cos): Likewise.
44363         (slow): Use TAYLOR_SLOW.
44364         (sloww): Likewise.
44365         (bsloww): Likewise.
44366         (csloww): Likewise.
44368 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44370         * stdlib/strtod_l.c: Fix buffer overrun.
44372 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44374         * benchtests/Makefile (bench): Add sincos.
44375         * benchtests/bench-sincos.c: New file.
44377         * math/libm-test.inc (cos_test_data): New test inputs.
44378         (sin_test_data): Likewise.
44380         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44381         macro.
44382         (__sin): Use it.
44383         (__cos): Likewise.
44384         (slow1): Likewise.
44385         (slow2): Likewise.
44386         (sloww1): Likewise.
44387         (sloww2): Likewise.
44388         (bsloww1): Likewise.
44389         (bsloww2): Likewise.
44390         (cslow2): Likewise.
44391         (csloww1): Likewise.
44392         (csloww2): Likewise.
44394         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44395         function.
44396         (__sin): Use it.
44397         (__cos): Likewise.
44399         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44400         gotos.
44401         (__cos): Likewise.
44403 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44405         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44406         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44407         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44408         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44409         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44410         * elf/cache.c (print_entry): Handle the new cache flags.
44412 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44413             Aldy Hernandez  <aldyh@redhat.com>
44415         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44416         Change condition to [_SOFT_FLOAT].
44417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44429         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44432         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44433         declaration.
44435 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44437         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44438         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44439         (__longjmp): Use LOAD_GP to load saved GPRs.
44440         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44441         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44442         (__sigsetjmp): Use SAVE_GP to save GPRs.
44444         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44445         Do not append -msoft-float.
44446         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44448 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44450         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44452 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #15966]
44455         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44456         (_FPU_GETCW): Use initial "__" on variable and field names but not
44457         on macro parameter name.
44458         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44459         parentheses around reference to macro parameter.
44461 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44463         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44464         prototype.
44465         (ctype_startup): Use uint32_t in cast and sizeof for
44466         ctype->charnames.
44468 2013-09-11  Jia Liu  <proljc@gmail.com>
44470         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44471         __daddr_t_defined.
44472         [__FreeBSD__]: Likewise.
44474 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44477         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44478         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44479         (strchr): Remove __strchr_sse42 ifunc selection.
44480         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44481         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44483 2013-09-11  Will Newton  <will.newton@linaro.org>
44485         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44486         parameter to RES. Remove hardcoded 1000 value.
44487         * benchtests/bench-skeleton.c (main): Pass RES parameter
44488         to TIMING_INIT and multiply result by 1000.
44490 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44494 2013-09-11  Andreas Schwab  <schwab@suse.de>
44496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44497         if not defined.
44498         (O_TMPFILE) [__USE_GNU]: Define.
44499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44500         Define.
44502 2013-09-11  Will Newton  <will.newton@linaro.org>
44504         [BZ #15857]
44505         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44506         does not overflow.
44508 2013-09-11  Will Newton  <will.newton@linaro.org>
44510         [BZ #15856]
44511         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44512         does not overflow.
44514 2013-09-11  Will Newton  <will.newton@linaro.org>
44516         [BZ #15855]
44517         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44518         does not overflow.
44520 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44522         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44524         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44528 2013-09-10  Allan McRae  <allan@archlinux.org>
44530         [BZ #15748]
44531         * manual/arith.texi (Parsing of Floats): Clarify
44532         cross-reference.
44534         [BZ #15849]
44535         * manual/install.texi (Running make install): Mention
44536         --enable-pt-chown.
44537         * INSTALL: Regenerated.
44539 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44541         * csu/init-first.c (_init): Remove the !SHARED condition around
44542         FPU control word initialization.
44543         * elf/dl-support.c (_dl_fpu_control): New variable.
44544         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44545         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44546         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44547         * math/test-fpucw-static.c: New file.
44548         * math/test-fpucw-ieee.c: New file.
44549         * math/test-fpucw-ieee-static.c: New file.
44550         * math/Makefile (tests): Add `test-fpucw-ieee' and
44551         `$(tests-static)'.
44552         (tests-static): New variable.
44553         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44554         dependency to...
44555         [($(build-shared),yes)]
44556         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44557         ... this.
44558         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44559         New dependency.
44561 2013-09-09  Allan McRae  <allan@archlinux.org>
44563         [BZ #15939]
44564         * manual/string.texi (Collation Functions): Fix typo in
44565         strcoll example.
44566         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44568         [BZ #15893]
44569         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44571         [BZ #15892]
44572         * libio/memstream.c (open_memstream): Fix memory leak.
44573         * libio/wmemstream.c (open_wmemstream): Likewise.
44575         [BZ #15895]
44576         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44578 2013-09-09  Will Newton  <will.newton@linaro.org>
44580         * malloc/Makefile: Add tst-realloc to tests.
44581         * malloc/tst-realloc.c: New file.
44583 2013-09-09  Allan McRae  <allan@archlinux.org>
44585         [BZ #15844]
44586         * COPYING: Update from GNU website to fix FSF address.
44587         * COPYING.LIB: Likewise.
44589 2013-09-06  David S. Miller  <davem@davemloft.net>
44591         * po/zh_TW.po: Update Chinese (traditional) translation from
44592         translation project.
44594 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44595             Joseph Myers  <joseph@codesourcery.com>
44597         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44598         "localeinfo.h".
44599         (obstack_chunk_alloc): New macro.
44600         (obstack_chunk_free): Likewise.
44601         (record_offset): New function.
44602         (init_locale_data): Likewise.
44603         (align_locale_data): Likewise.
44604         (add_locale_empty): Likewise.
44605         (add_locale_raw_data): Likewise.
44606         (add_locale_raw_obstack): Likewise.
44607         (add_locale_string): Likewise.
44608         (add_locale_wstring): Likewise.
44609         (add_locale_uint32): Likewise.
44610         (add_locale_uint32_array): Likewise.
44611         (add_locale_char): Likewise.
44612         (start_locale_structure): Likewise.
44613         (end_locale_structure): Likewise.
44614         (start_locale_prelude): Likewise.
44615         (end_locale_prelude): Likewise.
44616         (write_locale_data): Take locale_file structure rather than an
44617         iovec.
44618         * locale/programs/locfile.h: Include "obstack.h".
44619         (struct locale_file): Change to store locale file contents instead
44620         of header.
44621         (init_locale_data): New prototype.
44622         (align_locale_data): Likewise.
44623         (add_locale_empty): Likewise.
44624         (add_locale_raw_data): Likewise.
44625         (add_locale_raw_obstack): Likewise.
44626         (add_locale_string): Likewise.
44627         (add_locale_wstring): Likewise.
44628         (add_locale_uint32): Likewise.
44629         (add_locale_uint32_array): Likewise.
44630         (add_locale_char): Likewise.
44631         (start_locale_structure): Likewise.
44632         (end_locale_structure): Likewise.
44633         (start_locale_prelude): Likewise.
44634         (end_locale_prelude): Likewise.
44635         (write_locale_data): Update prototype.
44636         * locale/programs/3level.h (struct TABLE): Remove result field.
44637         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44638         Use new locale_file interface.
44639         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44640         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44641         * locale/programs/ld-address.c (address_output): Use new
44642         locale_file interface.
44643         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44644         NO_ADD_LOCALE.
44645         (collate_finish): Don't call collseq_table_finalize.
44646         (collate_output): Use new locale_file interface.
44647         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44648         in file.
44649         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44650         (TABLE): Move defines earlier in file.
44651         (ELEMENT): Likewise.
44652         (DEFAULT): Likewise.
44653         (wctrans_table_add): Move macro and inline function earlier in
44654         file.
44655         (struct wctype_table): Move type earlier in file.
44656         (add_locale_wctype_table): New static prototype.
44657         (struct locale_ctype_t): Use logical types instead of struct iovec
44658         pointers for members.
44659         (ctype_output): Use new locale_file interface.
44660         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44661         new locale_file interface.
44662         (allocate_arrays): Update for use of new locale_file interface.
44663         * locale/programs/ld-identification.c (identification_output): Use
44664         new locale_file interface.
44665         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44666         * locale/programs/ld-messages.c (messages_output): Likewise.
44667         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44668         * locale/programs/ld-name.c (name_output): Likewise.
44669         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44670         * locale/programs/ld-paper.c (paper_output): Likewise.
44671         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44672         * locale/programs/ld-time.c (time_output): Likewise.
44674 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44676         * benchtests/Makefile: Add memrchr benchmark.
44677         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44678         benchmark as memrchr.
44679         * benchtests/bench-memrchr-ifunc.c: New file.
44680         * benchtests/bench-memrchr.c: New file.
44682 2013-09-06   Will Newton  <will.newton@linaro.org>
44684         * benchtests/Makefile (string-bench): Add memcpy.
44686 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44687             Cong Wang  <amwang@redhat.com>
44689         [BZ #15850]
44690         * sysdeps/unix/sysv/linux/bits/in.h
44691         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44692         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44693         before __USE_KERNEL_IPV6_DEFS uses.
44694         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44695         IPPROTO_BEETPH.
44696         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44697         sockaddr_in6, or ipv6_mreq.
44699 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44701         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44702         memory access for final bytes in some large inputs.
44703         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44705 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44707         * string/test-memrchr.c: New file.
44708         * string/test-memrchr-ifunc.c: New file.
44709         * string/Makefile: Add new memrchr testcase.
44711 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44713         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44714         fanotify_init returns EPERM.
44716 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44718         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44719         errors.
44720         (top level): Treat second token from macro or constant entries for
44721         allowed headers as allowed.
44722         * include/complex.h: Condition internal declarations on
44723         [!_ISOMAC].
44724         * include/fenv.h: Condition include of <stdbool.h> and internal
44725         declarations on [!_ISOMAC].
44727 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44729         [BZ #15923]
44730         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44732 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44734         * configure.in (--enable-versioning): Remove configure option.
44735         (libc_cv_asm_symver_directive): Remove configure test.
44736         (libc_cv_ld_version_script_option): Likewise.
44737         (VERSIONING): Remove variable and AC_SUBST.
44738         (DO_VERSIONING): Remove AC_DEFINE.
44739         * configure: Regenerated.
44740         * config.h.in (DO_VERSIONING): Remove macro.
44741         * Makerules [$(versioning) = yes]: Change conditionals to
44742         [$(build-shared) = yes].
44743         * config.make.in (versioning): Remove variable.
44744         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44745         [$(build-shared) = yes].
44746         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44747         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44748         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44749         [$(build-shared) = yes].
44750         * extra-lib.mk [$(versioning) = yes]: Likewise.
44751         * hurd/Makefile [$(versioning) = yes]: Likewise.
44752         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44753         [SHARED].
44754         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44755         [SHARED].
44756         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44757         [SHARED && !NO_HIDDEN].
44758         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44759         [SHARED].
44760         [SHARED && DO_VERSIONING]: Likewise..
44761         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44762         [$(build-shared) = yes].
44763         * manual/install.texi (--disable-versioning): Remove
44764         documentation.
44765         * INSTALL: Regenerated.
44766         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44767         to [SHARED].
44768         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44769         [$(build-shared) = yes].
44770         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44771         * sysdeps/i386/i686/multiarch/strstr-c.c
44772         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44773         [SHARED && !NO_HIDDEN].
44774         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44775         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44776         * sysdeps/powerpc/powerpc32/dl-machine.c
44777         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44778         * sysdeps/powerpc/powerpc32/sysdep.h
44779         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44780         to [SHARED && PIC && !NO_HIDDEN].
44781         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44782         conditional to [SHARED].
44784 2013-09-04   Will Newton  <will.newton@linaro.org>
44786         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44787         * benchtests/bench-string.h: Include bench-timing.h instead
44788         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44789         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44790         call to HP_TIMING_DIFF_INIT.
44791         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44792         instead of hp-timing.h macros.
44793         * benchtests/bench-memchr.c: Likewise.
44794         * benchtests/bench-memcmp.c: Likewise.
44795         * benchtests/bench-memcpy.c: Likewise.
44796         * benchtests/bench-memmem.c: Likewise.
44797         * benchtests/bench-memmove.c: Likewise.
44798         * benchtests/bench-memset.c: Likewise.
44799         * benchtests/bench-rawmemchr.c: Likewise.
44800         * benchtests/bench-strcasecmp.c: Likewise.
44801         * benchtests/bench-strcasestr.c: Likewise.
44802         * benchtests/bench-strcat.c: Likewise.
44803         * benchtests/bench-strchr.c: Likewise.
44804         * benchtests/bench-strcmp.c: Likewise.
44805         * benchtests/bench-strcpy.c: Likewise.
44806         * benchtests/bench-strcpy_chk.c: Likewise.
44807         * benchtests/bench-strlen.c: Likewise.
44808         * benchtests/bench-strncasecmp.c: Likewise.
44809         * benchtests/bench-strncat.c: Likewise.
44810         * benchtests/bench-strncmp.c: Likewise.
44811         * benchtests/bench-strncpy.c: Likewise.
44812         * benchtests/bench-strnlen.c: Likewise.
44813         * benchtests/bench-strpbrk.c: Likewise.
44814         * benchtests/bench-strrchr.c: Likewise.
44815         * benchtests/bench-strspn.c: Likewise.
44816         * benchtests/bench-strstr.c: Likewise.
44818 2013-09-04  Will Newton  <will.newton@linaro.org>
44820         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44822 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44824         [BZ #15427]
44825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44826         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44827         * math/libm-test.inc (lgamma_test_data): Add more tests.
44828         * sysdeps/i386/fpu/libm-test-ulps: Update.
44829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44831 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44833         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44835         Add ifunc.
44836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44837         Add strcmp-sse2-unaligned
44838         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44840 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44842         * Versions.def (libc): Add GLIBC_2.19.
44844 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44846         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44847         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44849 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44851         [BZ #14155]
44852         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44853         intermediate calculations in recurrence.
44854         (__ieee754_ynf): Likewise.
44855         * math/libm-test.inc (jn_test_data): Do not allow spurious
44856         underflow exception.  Add more tests.
44857         (yn_test_data): Add more tests.
44858         * sysdeps/i386/fpu/libm-test-ulps: Update.
44859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44861 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44863         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44865 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44867         * csu/init-first.c: Fix then/than typos.
44868         * locale/programs/ld-collate.c: Likewise.
44869         * locale/programs/linereader.h: Likewise.
44870         * manual/charset.texi: Likewise.
44871         * manual/filesys.texi: Likewise.
44872         * manual/stdio.texi: Likewise.
44873         * manual/string.texi: Likewise.
44874         * stdlib/fmtmsg.c: Likewise.
44875         * sysdeps/i386/stpncpy.S: Likewise.
44876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44877         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44879         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44881 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44883         * elf/dl-open.c: Fix typos.
44884         * iconvdata/gbbig5.c: Likewise.
44885         * iconvdata/iso-2022-jp.c: Likewise.
44886         * iconv/gconv_int.h: Likewise.
44887         * iconv/loop.c: Likewise.
44888         * nis/rpcsvc/nis.h: Likewise.
44889         * resolv/ns_name.c: Likewise.
44890         * stdio-common/vfscanf.c: Likewise.
44891         * streams/stropts.h: Likewise.
44892         * sunrpc/rpc_thread.c: Likewise.
44893         * sysdeps/i386/strpbrk.S: Likewise.
44894         * sysdeps/ieee754/k_standard.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44897         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44898         * sysdeps/mach/hurd/profil.c: Likewise.
44899         * sysdeps/s390/dl-procinfo.h: Likewise.
44900         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44901         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44902         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44903         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44906 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44908         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44911 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44913         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44914         aix specific files.
44915         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44916         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44917         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44918         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44919         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44920         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44921         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44922         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44924 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44925             Roland McGrath  <roland@hack.frob.com>
44927         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44928         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44930 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44932         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44933         __executable_start symbol instead of _start.
44935 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44937         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44938         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44939         Move macros to...
44940         * sysdeps/gnu/ldsodefs.h: ... this new file.
44942         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44943         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44944         instead of ELFOSABI_LINUX.
44946         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44947         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44948         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44949         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44950         Likewise.
44951         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44952         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44953         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44954         Likewise.
44955         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44956         (ibm_extended_long_double): Add ieee_nan member.
44957         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44958         (do_test): New function.
44960         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44961         TEST_TRUNC.
44962         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44963         functions, renamed from truncdfsf_test, trunctfsf_test,
44964         trunctfdf_test.
44965         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44966         functions.
44967         (do_test): Run all these.
44969 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44971         * argp/argp-help.c: Fix typos.
44972         * argp/argp-parse.c: Likewise.
44973         * debug/backtracesyms.c: Likewise.
44974         * elf/elf.h: Likewise.
44975         * malloc/malloc.c: Likewise.
44976         * nis/nis_print.c: Likewise.
44977         * resolv/res_comp.c: Likewise.
44978         * stdlib/stdlib.h: Likewise.
44979         * sunrpc/clnt_tcp.c: Likewise.
44980         * sunrpc/clnt_udp.c: Likewise.
44981         * sunrpc/clnt_unix.c: Likewise.
44982         * sysdeps/unix/bsd/ptsname.c: Likewise.
44983         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44984         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44986         Likewise.
44987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44988         Likewise.
44989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44990         Likewise.
44991         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44993 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44995         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44998 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45000         [BZ #15897]
45001         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45002         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45003         ($(objpfx)bug-dl-leaf): New rule.
45004         ($(objpfx)bug-dl-leaf.so): Likewise.
45005         ($(objpfx)bug-dl-leaf.out): Likewise.
45006         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45007         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45008         * dlfcn/bug-dl-leaf.c: New test.
45009         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45010         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45011         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45012         (dlclose): Likewise.
45013         (dlmopen): Likewise.
45015 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45017         * include/netdb.h [!_ISOMAC]:
45018         Don't include <tls.h>.
45019         (h_errno, __libc_h_errno): Move declaration and macros out of
45020         [_LIBC_REENTRANT].
45022         * include/resolv.h [_RESOLV_H_]:
45023         Don't include <tls.h>.
45024         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45025         * resolv/res_libc.c: Don't include <tls.h>.
45026         (_res): Use __attribute__ ((nocommon)) in place of
45027         __attribute__ ((section (".bss"))).
45029         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45030         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45032         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45034         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45035         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45037         * resolv/res_mkquery.c: Include <sys/time.h>.
45039         * inet/ifreq.c: Moved to ...
45040         * sysdeps/unix/ifreq.c: ... here.
45041         * inet/ifreq.c: New file, true stub version.
45043         * socket/sa_len.c: New file.
45044         * socket/Makefile (aux): Add it.
45045         * sysdeps/unix/sysv/linux/Makefile
45046         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45047         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45048         and #include <socket/sa_len.c>.
45049         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45050         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45052         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45053         * bits/socket.h: ... here.
45055         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45056         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45057         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45059 2013-08-27  Andreas Schwab  <schwab@suse.de>
45061         [BZ #15736]
45062         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45063         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45064         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45065         * string/test-strcasecmp.c (test_main): Run tests in several
45066         locales.
45067         * string/test-strncasecmp.c (test_main): Likewise.
45069         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45070         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45071         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45073         (__strncasecmp_ssse3) [PIC]: Likewise.
45075 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45077         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45079         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45080         instead of explicitly declaring xdecrypt.
45081         * nis/nss_nis/nis-publickey.c: Likewise.
45083 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45085         [BZ #15890]
45086         * nscd/aicache.c: Include res_hconf.h.
45087         (addhstaiX): Initialize res_hconf.
45089 2013-08-26  Andreas Schwab  <schwab@suse.de>
45091         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45092         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45094 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45096         * nscd/aicache.c (addhstaiX): Fix indentation.
45098 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45100         * configure.ac: Quote $build_pt_chown test.
45101         * configure: Regenerated.
45103 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45105         [BZ #15532]
45106         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45107         * math/s_cexpf.c (__cexpf): Likewise.
45108         * math/s_cexpl.c (__cexpl): Likewise.
45109         * math/libm-test.inc (cexp_test_data): Correct expected return
45110         value for NaN + i0.  Add another test.
45112 2013-08-22  David S. Miller  <davem@davemloft.net>
45114         * po/ca.po: Update Catalan translation from translation project.
45115         * po/uk.po: Add Ukrainian translations from translation project.
45117 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45119         [BZ #15797]
45120         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45121         is infinite, not alongside NaN test.
45122         * math/s_fdimf.c (__fdimf): Likewise.
45123         * math/s_fdiml.c (__fdiml): Likewise.
45124         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45125         errno is unchanged.
45127 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45129         * argp/argp-help.c: Fix typos.
45130         * crypt/speeds.c: Likewise.
45131         * csu/check_fds.c: Likewise.
45132         * elf/dl-load.c: Likewise.
45133         * elf/dl-open.c: Likewise.
45134         * elf/reldep3.c: Likewise.
45135         * elf/reldep.c: Likewise.
45136         * elf/sprof.c: Likewise.
45137         * iconv/iconv_charmap.c: Likewise.
45138         * iconv/skeleton.c: Likewise.
45139         * iconv/strtab.c: Likewise.
45140         * io/lockf64.c: Likewise.
45141         * libio/libioP.h: Likewise.
45142         * resolv/gai_notify.c: Likewise.
45143         * resolv/ns_name.c: Likewise.
45144         * resolv/ns_samedomain.c: Likewise.
45145         * resolv/res_send.c: Likewise.
45146         * stdlib/random.c: Likewise.
45147         * sunrpc/rpc/xdr.h: Likewise.
45148         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45150         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45151         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45152         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45153         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45156         * sysdeps/mach/hurd/check_fds.c: Likewise.
45157         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45158         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45161         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45162         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45163         * sysdeps/pthread/aio_notify.c: Likewise.
45164         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45165         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45166         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45168         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45170 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45172         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45173         version if bit_Slow_SSE4_2 is set.
45174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45177 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45179         [BZ #15867]
45180         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45181         trampoline stack frame information.
45182         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45184         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45185         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45186         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45187         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45188         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45189         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45190         sa_flags value.
45191         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45192         interrupting a syscall and set with option SA_SIGINFO.
45194 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45196         [BZ #15531]
45197         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45198         argument is infinite.
45199         * math/s_cprojf.c (__cprojf): Likewise.
45200         * math/s_cprojl.c (__cprojl): Likewise.
45201         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45202         * math/libm-test.inc (cproj_test_data): Add more tests.
45204         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45206         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45207         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45208         size.  Use __ffs to determine corresponding shift.
45210 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45211             Roland McGrath  <roland@hack.frob.com>
45213         * Makefile (INSTALL): Remove trailing blank lines from output of
45214         makeinfo.
45216 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45218         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45219         Align 32 bit compat elf_greg to 8 bytes.
45221 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45223         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45225 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45227         * string/strcoll_l.c (coll_seq): New structure.
45228         (get_next_seq_cached): New function.
45229         (get_next_seq): New function.
45230         (do_compare): New function.
45231         (STRCOLL): Use GNU style definition.  Simplify implementation
45232         by using get_next_seq, get_next_seq_cached and do_compare.
45234 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45236         [BZ #14699]
45237         CVE-2013-4237
45238         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45239         member.
45240         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45241         member.
45242         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45243         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45244         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45245         conditional.
45246         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45247         GETDENTS_64BIT_ALIGNED.
45248         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45249         * manual/filesys.texi (Reading/Closing Directory): Document
45250         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45251         strongly.
45252         * manual/conf.texi (Limits for Files): Add portability note to
45253         NAME_MAX, PATH_MAX.
45254         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45256 2013-08-13  Andreas Schwab  <schwab@suse.de>
45258         [BZ #15749]
45259         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45260         of fabs.
45261         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45262         LDBL_MAX_EXP >= 16384]: Add tests for it.
45264 2013-08-12  David S. Miller  <davem@davemloft.net>
45266         * version.h (RELEASE): Set to "development".
45267         (VERSION): Set to "2.18.90".
45268         * NEWS: Add 2.19 section.
45270 2013-08-03  David S. Miller  <davem@davemloft.net>
45272         * po/ko.po: Update Korean translation from translation project.
45274 2013-08-01  David S. Miller  <davem@davemloft.net>
45276         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45277         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45278         Bilka.
45280 2013-07-30  David S. Miller  <davem@davemloft.net>
45282         * po/fr.po: Update French translation from translation project.
45284 2013-07-28  David S. Miller  <davem@davemloft.net>
45286         * po/cs.po: Update Czech translation from translation project.
45288         * po/sv.po: Update Swedish translation from translation project.
45290 2013-07-27  David S. Miller  <davem@davemloft.net>
45292         * po/eo.po: Update Esperanto translation from translation project.
45294         * po/vi.po: Update Vietnamese translation from translation project.
45296         * po/de.po: Update German translation from translation project.
45298 2013-07-26  David S. Miller  <davem@davemloft.net>
45300         * po/bg.po: Update Bulgarian translation from translation project.
45302         * po/nl.po: Update Dutch translation from translation project.
45303         * po/pl.po: Update Polish translation from translation project.
45304         * po/ru.po: Update Russian translation from translation project.
45306 2013-07-24  David S. Miller  <davem@davemloft.net>
45308         * po/libc.pot: Update.
45310 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45312         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45313         variable page size.
45314         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45315         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45316         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45318 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45320         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45322 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45323             Andreas Schwab  <schwab@suse.de>
45324             Roland McGrath  <roland@hack.frob.com>
45325             Joseph Myers  <joseph@codesourcery.com>
45326             Carlos O'Donell  <carlos@redhat.com>
45328         [BZ #15755]
45329         * config.h.in: Define HAVE_PT_CHOWN.
45330         * config.make.in (build-pt-chown): New variable.
45331         * configure.in (--enable-pt_chown): New configure option.
45332         * configure: Regenerate.
45333         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45334         build-pt-chown is enabled.
45335         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45336         pt_chown to fix pty ownership.
45337         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45338         CLOSE_ALL_FDS.
45339         * manual/install.texi (Configuring and compiling): Mention
45340         --enable-pt_chown. Add @findex for grantpt.
45341         * INSTALL: Regenerate.
45343 2013-07-20  David S. Miller  <davem@davemloft.net>
45345         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45346         difference between 32-bit and 64-bit.
45348 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45350         [BZ #15711]
45351         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45352         Avoid system header dependency with -ffreestanding.
45353         ($(objpfx)bits/syscall%d): Likewise.
45355 2013-07-13  David S. Miller  <davem@davemloft.net>
45357         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45358         underflows from atanl/atan2l due to bug 15319.
45359         (casinh_test_data): Likewise.
45361 2013-07-07  David S. Miller  <davem@davemloft.net>
45363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45365 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45367         * sysdeps/i386/fpu/libm-test-ulps: Update.
45368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45370 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45372         * configure.in (--enable-lock-elision): Fix message text.
45373         * INSTALL: Regenerate.
45374         * configure: Regenerate.
45376 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45380 2013-07-03  Andreas Jaeger  <aj@suse.de>
45382         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45383         define.
45384         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45385         (ptrace_peeksiginfo_args): Add.
45386         (__ptrace_peeksiginfo_flags): Add.
45387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45391 2013-07-03  Allan McRae  <allan@archlinux.org>
45393         * sysdeps/i386/fpu/libm-test-ulps: Update.
45395 2013-07-02  David S. Miller  <davem@davemloft.net>
45397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45399 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45403 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45405         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45408 2013-07-02  Andi Kleen <ak@linux.intel.com>
45410         * config.h.in (ENABLE_LOCK_ELISION): Add.
45411         * configure.in (--enable-lock-elision): Add option.
45412         * manual/install.texi: Document --enable lock elision.
45413         * configure: Regenerate
45414         * INSTALL: Regenerate.
45416 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45418         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45419         SSE4.2 strcasecmp for libc.a.
45420         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45422 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45424         [BZ #13304]
45425         * soft-fp/op-common.h (_FP_FMA): New macro.
45426         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45427         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45428         (_FP_MUL_MEAT_1_imm): ... here.
45429         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45430         (_FP_MUL_MEAT_1_wide): ... here.
45431         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45432         (_FP_MUL_MEAT_1_hard): ... here.
45433         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45434         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45435         (_FP_MUL_MEAT_2_wide): ... here.
45436         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45437         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45438         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45439         (_FP_MUL_MEAT_2_gmp): ... here.
45440         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45441         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45442         (_FP_MUL_MEAT_4_wide): ... here.
45443         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45444         (_FP_MUL_MEAT_4_gmp): ... here.
45445         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45446         (_FP_WFRACBITS_DW_S): Likewise.
45447         (_FP_WFRACXBITS_DW_S): Likewise.
45448         (_FP_HIGHBIT_DW_S): Likewise.
45449         (FP_FMA_S): Likewise.
45450         (_FP_FRAC_HIGH_DW_S): Likewise.
45451         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45452         (_FP_WFRACBITS_DW_D): Likewise.
45453         (_FP_WFRACXBITS_DW_D): Likewise.
45454         (_FP_HIGHBIT_DW_D): Likewise.
45455         (FP_FMA_D): Likewise.
45456         (_FP_FRAC_HIGH_DW_D): Likewise.
45457         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45458         (_FP_WFRACBITS_DW_E): Likewise.
45459         (_FP_WFRACXBITS_DW_E): Likewise.
45460         (_FP_HIGHBIT_DW_E): Likewise.
45461         (FP_FMA_E): Likewise.
45462         (_FP_FRAC_HIGH_DW_E): Likewise.
45463         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45464         (_FP_WFRACBITS_DW_Q): Likewise.
45465         (_FP_WFRACXBITS_DW_Q): Likewise.
45466         (_FP_HIGHBIT_DW_Q): Likewise.
45467         (FP_FMA_Q): Likewise.
45468         (_FP_FRAC_HIGH_DW_Q): Likewise.
45469         * soft-fp/fmasf4.c: New file.
45470         * soft-fp/fmadf4.c: Likewise.
45471         * soft-fp/fmatf4.c: Likewise.
45473 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45476         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45477         Silvermont.
45478         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45479         macro.
45480         (index_Slow_SSE4_2): Likewise.
45481         (index_Prefer_PMINUB_for_stringop): Likewise.
45482         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45483         bit_Slow_SSE4_2 is set.
45484         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45485         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45487 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45489         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45490         rtld_global._dl_hwcap2.
45491         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45492         POWER8.
45493         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45494         POWER8 feature descriptions defined in _dl_hwcap2.
45495         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45496         string handling for POWER8 feature bits.
45497         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45498         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45499         _dl_powerpc_cap_flags.
45500         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45501         * sysdeps/powerpc/rtld-global-offsets.sym
45502         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45503         _dl_hwcap2 in the rtld_global_ro structure.
45505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45507         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45508         hardware capabilities in support of AT_HWCAP2.
45509         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45510         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45511         GLRO(dl_hwcap2).
45512         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45513         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45514         explicitly the unknown a_type display mechanism is used.
45515         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45516         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45517         struct member.
45518         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45519         to macro prototype for AT_HWCAP2 support.
45520         * sysdeps/i386/dl-procinfo.h: Likewise.
45521         * sysdeps/s390/dl-procinfo.h: Likewise.
45522         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45523         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45524         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45525         return -1 for unknown a_type display fallback.
45526         * sysdeps/sparc/dl-procinfo.h: Likewise.
45527         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45528         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45530 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45533         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45535 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45537         [BZ #12492]
45538         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45539         mprotect making __stack_prot writable.
45541 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45542             Joseph Myers  <joseph@codesourcery.com>
45544         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45545         as being properly aligned.
45547 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45549         * dlfcn/modstatic5.c: New file.
45550         * dlfcn/tststatic5.c: New file.
45551         * dlfcn/Makefile (tests): Add tststatic5.
45552         (tests-static): Likewise.
45553         (modules-names): Add modstatic5.
45554         (tststatic5-ENV): New variable.
45555         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45557         [BZ #15022]
45558         * elf/dl-support.c (_dl_main_map): New variable.
45559         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45560         (_dl_nns, _dl_load_adds): Set to 1.
45561         (_dl_initial_searchlist): Refer to _dl_main_map.
45562         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45563         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45564         call to _dl_get_origin.
45565         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45566         around call_map.
45567         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45568         * dlfcn/modstatic3.c: New file.
45569         * dlfcn/tststatic3.c: New file.
45570         * dlfcn/tststatic4.c: New file.
45571         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45572         (tests-static): Likewise.
45573         (modules-names): Add modstatic3.
45574         (tststatic3-ENV, tststatic4-ENV): New variables.
45575         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45576         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45578 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45580         * configure.in (CC): Require GCC version 4.4 or later.
45581         * configure: Regenerated.
45582         * manual/install.texi (Tools for Compilation): Update GCC version
45583         requirement.
45584         * INSTALL: Regenerated.
45586 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45588         [BZ #15674]
45589         * string/test-memcmp.c (check2): New.
45590         (main): Call check2.
45592         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45594 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45596         [BZ #15022]
45597         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45598         over to...
45599         (dl_open_worker) [!SHARED]: ... here.
45601 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45603         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45605 2013-06-25  Richard Henderson  <rth@redhat.com>
45607         * locale/programs/locarchive.c: Include <libc-internal.h>
45609 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45611         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45612         trailing whitespace removed.
45614 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45616         [BZ #10283]
45617         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45618         * locale/programs/locarchive.c: Include libc-mmap.h.
45619         (prepare_address_space): Take two new outputs (the mmap base and len).
45620         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45621         values.
45622         (create_archive): Declare new mmap base and len values for
45623         prepare_address_space, and store the result in ah.
45624         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45625         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45626         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45627         Declare new mmap base and len values for
45628         prepare_address_space, and store the result in new_ah.
45629         (open_archive): Declare new mmap base and len values for
45630         prepare_address_space, and store the result in ah.
45631         (close_archive): If ah->mmap_base is not NULL, use that and
45632         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45633         * sysdeps/generic/libc-mmap.h: New file.
45635 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45637         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45638         (ALIGN_UP): Likewise.
45639         (PTR_ALIGN_DOWN): Likewise.
45640         (PTR_ALIGN_UP): Likewise.
45642 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45644         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45645         entry mapped to PPC_PLATFORM_POWER8.
45646         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45647         POWER8.
45648         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45649         (_dl_string_platform): Add case for exporting platform position for
45650         POWER8.
45651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45652         search path to sysdeps/powerpc/powerpc32/power8 directory.
45653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45654         search path to sysdeps/powerpc/powerpc64/power8 directory.
45655         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45656         power7 directories.
45657         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45658         power7 directories.
45660 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45662         * INSTALL: Regenerate.
45664         * nscd/connections.c (nscd_init): Fix comment.
45666 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45668         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45670         [BZ #15667]
45671         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45672         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45674 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45676         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45677         DL_DST_REQ_STATIC.
45678         (DL_DST_REQ_STATIC): Remove macro.
45680 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45682         [BZ #7006]
45683         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45684         with a shift of 0 bits.
45686 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45688         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45689         $(tststatic-ENV).
45691 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45693         [BZ #15655]
45694         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45696 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45698         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45699         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45700         accepts -fno-tree-loop-distribute-patterns.
45701         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45702         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45703         recursive call.
45704         * string/memset.c (memset): Likewise.
45705         * string/test-memmove.c (simple_memmove): Disable loop transformation
45706         to library calls.
45707         * string/test-memset.c (simple_memset): Likewise.
45708         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45709         * benchtests/bench-memset.c (simple_memset): Likewise.
45710         * configure: Regenerated.
45712 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45714         * math/test-misc.c (main): Ignore fesetround failure when failures
45715         of subsequent rounding tests would be ignored.
45717         [BZ #15654]
45718         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45719         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45720         * math/fegetenv.c (__fegetenv): Return 0.
45721         * math/fegetexcept.c (fegetexcept): Return 0.
45722         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45723         FE_TONEAREST.
45724         * math/feholdexcpt.c (feholdexcept): Return 0.
45725         * math/fesetenv.c (__fesetenv): Return 0.
45726         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45727         argument FE_TONEAREST.
45728         * math/feupdateenv.c (__feupdateenv): Return 0.
45729         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45731 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45733         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45734         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45735         ($(objpfx)rtld-%.os rules): Use them.
45737 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45739         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45740         fields.
45742 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45744         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45745         length of target pattern, then descending length of dependency pattern.
45746         * configure.in (AWK): Require gawk 3.1.2 or newer.
45747         * manual/install.texi (Tools for Compilation): Say that we do.
45748         * configure: Regenerated.
45750         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45751         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45752         * scripts/sysd-rules.awk: ... this new script.
45753         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45754         than a glob-style pattern.
45756 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45758         * math/test-misc.c (main): Do not treat incorrectly rounded
45759         conversions as failure unless ROUNDING_TESTS passes.
45761 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45763         [BZ #15631]
45764         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45765         restore exception state around main square root computation, then
45766         check for inexactness explicitly.
45768         * math/libm-test.inc (fma_test_data): Add another test.
45770 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45772         * manual/threads.texi (Non-POSIX Extensions): New document
45773         node.  Document pthread_getattr_default_np and
45774         pthread_setattr_default_np.
45776         * Versions.def (libpthread): Add GLIBC_2.18.
45777         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45779         Likewise.
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45781         Likewise.
45782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45783         Likewise.
45784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45785         Likewise.
45786         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45787         Likewise.
45788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45789         Likewise.
45790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45791         Likewise.
45792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45793         Likewise.
45794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45795         Likewise.
45797 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45800         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45802 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45803             H.J. Lu  <hjl.tools@gmail.com>
45805         [BZ #15627]
45806         * sysdeps/x86_64/rtld-memset.c: Remove file.
45807         * sysdeps/x86_64/rtld-memset.S: New file.
45809 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45811         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45812         (test_in_one_mode): Take arguments for whether the rounding mode
45813         is supported for each floating-point type.
45814         (do_test): Pass new arguments to test_in_one_mode using
45815         ROUNDING_TESTS.
45817 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45819         * posix/tst-waitid.c (do_test): Distinguish different instances of
45820         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45821         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45822         before entering the kernel for waitpid.
45824 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45826         * NEWS: Fix note on clock function precision.  Text by Roland
45827         McGrath.
45829 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45831         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45832         it into place only when and if the sanity check passes.
45834 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45836         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45837         output for whether conversion result is exact.  Take argument
45838         indicating whether type is IBM long double.
45839         (round_for_all): Change need_exact field to ibm_ld.
45840         * stdlib/tst-strtod-round.c (struct exactness): New type.
45841         (struct test): Change bool ld_ok field to struct exactness exact.
45842         (TEST): Update all definitions for change to field.
45843         (tests): Regenerate array contents.
45844         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45845         field value.  Check for IBM long double here.
45846         (do_test): Update calls to test_in_one_mode.
45848 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45850         [BZ #12515]
45851         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45852         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45854 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45856         [BZ #15605]
45857         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45858         generated by the compiler on loop optimizations.
45859         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45860         general definitions.
45862 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45864         * math/bug-nextafter.c: Include <math-tests.h>.
45865         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45866         the relevant type.
45867         * math/bug-nexttoward.c: Include <math-tests.h>.
45868         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45869         the relevant type.
45870         * math/test-misc.c: Include <math-tests.h>.
45871         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45872         the relevant type.
45874 2013-06-12  Andreas Jaeger  <aj@suse.de>
45876         * po/ia.po: Update Interlingua translation from translation
45877         project.
45879 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45881         * include/fenv.h: Include stdbool.h.
45882         (struct rm_ctx): New structure.
45883         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45884         Define macro.
45885         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45886         (SET_RESTORE_ROUNDF): Likewise.
45887         (SET_RESTORE_ROUNDL): Likewise.
45888         (SET_RESTORE_ROUND_NOEX): Likewise.
45889         (SET_RESTORE_ROUND_NOEXF): Likewise.
45890         (SET_RESTORE_ROUND_NOEXL): Likewise.
45891         (SET_RESTORE_ROUND_53BIT): Likewise.
45892         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45893         (libc_feresetround_noexf_ctx): Likewise.
45894         (libc_feresetround_noexl_ctx): Likewise.
45895         (libc_feholdsetround_53bit_ctx): Likewise.
45896         (libc_feresetround_53bit_ctx): Likewise.
45897         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45898         (libc_feholdexcept_setround_sse_ctx): New function.
45899         (libc_fesetenv_sse_ctx): Likewise.
45900         (libc_feupdateenv_sse_ctx): Likewise.
45901         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45902         (libc_feholdexcept_setround_387_ctx): Likewise.
45903         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45904         (libc_feholdsetround_387_prec_ctx): Likewise.
45905         (libc_feholdsetround_387_ctx): Likewise.
45906         (libc_feholdsetround_387_53bit_ctx): Likewise.
45907         (libc_feholdsetround_sse_ctx): Likewise.
45908         (libc_feresetround_sse_ctx): Likewise.
45909         (libc_feresetround_387_ctx): Likewise.
45910         (libc_feupdateenv_387_ctx): Likewise.
45911         (libc_feholdexcept_setroundf_ctx): Define macro.
45912         (libc_fesetenvf_ctx): Likewise.
45913         (libc_feupdateenvf_ctx): Likewise.
45914         (libc_feholdsetroundf_ctx): Likewise.
45915         (libc_feresetroundf_ctx): Likewise.
45916         (libc_feholdexcept_setround_ctx): Likewise.
45917         (libc_fesetenv_ctx): Likewise.
45918         (libc_feupdateenv_ctx): Likewise.
45919         (libc_feholdsetround_ctx): Likewise.
45920         (libc_feresetround_ctx): Likewise.
45921         (libc_feholdexcept_setroundl_ctx): Likewise.
45922         (libc_feupdateenvl_ctx): Likewise.
45923         (libc_feholdsetroundl_ctx): Likewise.
45924         (libc_feresetroundl_ctx): Likewise.
45925         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45926         (libc_feresetround_53bit_ctx): Likewise.
45928 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45930         * locale/iso-639.def: Convert to UTF-8.
45932 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45934         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45935         (EXCEPTION_TESTS_double): Likewise.
45936         (EXCEPTION_TESTS_long_double): Likewise.
45937         (EXCEPTION_TESTS): Likewise.
45938         * math/libm-test.inc (test_exceptions): Only test exceptions if
45939         EXCEPTION_TESTS (FLOAT).
45941 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45943         * benchtests/Makefile (string-bench): Add strcpy_chk and
45944         stpcpy_chk.
45945         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45946         * benchtests/bench-stpcpy_chk.c: New file.
45947         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45948         * benchtests/bench-strcpy_chk.c: New file.
45949         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45950         code.
45951         (do_test): Likewise.
45953 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45956         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45957         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45958         with tabs where appropriate.
45959         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45960         dl-procinfo.h.
45961         [PPC_PLATFORM_PPC440]: Likewise.
45962         [PPC_PLATFORM_PPC464]: Likewise.
45963         [PPC_PLATFORM_PPC476]: Likewise.
45964         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45965         ppc464, and ppc476 platform strings merging from ports/
45966         dl-procinfo.h.
45968 2013-06-11  Andreas Schwab  <schwab@suse.de>
45970         [BZ #14991]
45971         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45972         (from_ucs4_idx): Regenerate.
45973         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45974         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45975         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45976         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45977         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45978         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45979         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45980         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45981         from FROM_LOOP and TO_LOOP specific macros.
45982         (BODY): Handle combining characters.
45983         * iconvdata/BIG5HKSCS.irreversible: Update.
45984         * iconvdata/BIG5HKSCS.precomposed: New file.
45985         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45986         characters.
45987         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45991         * include/sys/time.h: Fix indentation and add copyright header.
45993         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45994         (do_test): Likewise.
45995         * string/test-memchr.c (do_one_test): Likewise.
45996         (do_test): Likewise.
45997         * string/test-memcmp.c (do_one_test): Likewise.
45998         (do_test): Likewise.
45999         * string/test-memcpy.c (do_one_test): Likewise.
46000         (do_test): Likewise.
46001         * string/test-memmem.c (do_one_test): Likewise.
46002         (do_test): Likewise.
46003         (do_random_tests): Likewise.
46004         * string/test-memmove.c (do_one_test): Likewise.
46005         (do_test): Likewise.
46006         * string/test-memset.c (do_one_test): Likewise.
46007         (do_test): Likewise.
46008         * string/test-rawmemchr.c (do_one_test): Likewise.
46009         (do_test): Likewise.
46010         * string/test-strcasecmp.c (do_one_test): Likewise.
46011         (do_test): Likewise.
46012         * string/test-strcasestr.c (do_one_test): Likewise.
46013         (do_test): Likewise.
46014         * string/test-strcat.c (do_one_test): Likewise.
46015         (do_test): Likewise.
46016         * string/test-strchr.c (do_one_test): Likewise.
46017         (do_test): Likewise.
46018         * string/test-strcmp.c (do_one_test): Likewise.
46019         (do_test): Likewise.
46020         * string/test-strcpy.c (do_one_test): Likewise.
46021         (do_test): Likewise.
46022         * string/test-string.h: Likewise.
46023         (test_init): Likewise.
46024         * string/test-strlen.c (do_one_test): Likewise.
46025         (do_test): Likewise.
46026         * string/test-strncasecmp.c (do_one_test): Likewise.
46027         (do_test): Likewise.
46028         * string/test-strncat.c (do_one_test): Likewise.
46029         (do_test): Likewise.
46030         * string/test-strncmp.c (do_one_test): Likewise.
46031         (do_test_limit): Likewise.
46032         (do_test): Likewise.
46033         * string/test-strncpy.c (do_one_test): Likewise.
46034         (do_test): Likewise.
46035         * string/test-strnlen.c (do_one_test): Likewise.
46036         (do_test): Likewise.
46037         * string/test-strpbrk.c (do_one_test): Likewise.
46038         (do_test): Likewise.
46039         * string/test-strrchr.c (do_one_test): Likewise.
46040         (do_test): Likewise.
46041         * string/test-strspn.c (do_one_test): Likewise.
46042         (do_test): Likewise.
46043         * string/test-strstr.c (do_one_test): Likewise.
46044         (do_test): Likewise.
46046         * benchtests/Makefile (string-bench): Add string benchmarks.
46047         * benchtests/bench-bcopy-ifunc.c: New file.
46048         * benchtests/bench-bcopy.c: New file.
46049         * benchtests/bench-bzero-ifunc.c: New file.
46050         * benchtests/bench-bzero.c: New file.
46051         * benchtests/bench-memccpy-ifunc.c: New file.
46052         * benchtests/bench-memccpy.c: New file.
46053         * benchtests/bench-memchr-ifunc.c: New file.
46054         * benchtests/bench-memchr.c: New file.
46055         * benchtests/bench-memcmp-ifunc.c: New file.
46056         * benchtests/bench-memcmp.c: New file.
46057         * benchtests/bench-memmem-ifunc.c: New file.
46058         * benchtests/bench-memmem.c: New file.
46059         * benchtests/bench-memmove-ifunc.c: New file.
46060         * benchtests/bench-memmove.c: New file.
46061         * benchtests/bench-mempcpy-ifunc.c: New file.
46062         * benchtests/bench-mempcpy.c: New file.
46063         * benchtests/bench-memset-ifunc.c: New file.
46064         * benchtests/bench-memset.c: New file.
46065         * benchtests/bench-rawmemchr-ifunc.c: New file.
46066         * benchtests/bench-rawmemchr.c: New file.
46067         * benchtests/bench-stpcpy-ifunc.c: New file.
46068         * benchtests/bench-stpcpy.c: New file.
46069         * benchtests/bench-stpncpy-ifunc.c: New file.
46070         * benchtests/bench-stpncpy.c: New file.
46071         * benchtests/bench-strcasecmp-ifunc.c: New file.
46072         * benchtests/bench-strcasecmp.c: New file.
46073         * benchtests/bench-strcasestr-ifunc.c: New file.
46074         * benchtests/bench-strcasestr.c: New file.
46075         * benchtests/bench-strcat-ifunc.c: New file.
46076         * benchtests/bench-strcat.c: New file.
46077         * benchtests/bench-strchr-ifunc.c: New file.
46078         * benchtests/bench-strchr.c: New file.
46079         * benchtests/bench-strchrnul-ifunc.c: New file.
46080         * benchtests/bench-strchrnul.c: New file.
46081         * benchtests/bench-strcmp-ifunc.c: New file.
46082         * benchtests/bench-strcmp.c: New file.
46083         * benchtests/bench-strcpy-ifunc.c: New file.
46084         * benchtests/bench-strcpy.c: New file.
46085         * benchtests/bench-strcspn-ifunc.c: New file.
46086         * benchtests/bench-strcspn.c: New file.
46087         * benchtests/bench-strlen-ifunc.c: New file.
46088         * benchtests/bench-strlen.c: New file.
46089         * benchtests/bench-strncasecmp-ifunc.c: New file.
46090         * benchtests/bench-strncasecmp.c: New file.
46091         * benchtests/bench-strncat-ifunc.c: New file.
46092         * benchtests/bench-strncat.c: New file.
46093         * benchtests/bench-strncmp-ifunc.c: New file.
46094         * benchtests/bench-strncmp.c: New file.
46095         * benchtests/bench-strncpy-ifunc.c: New file.
46096         * benchtests/bench-strncpy.c: New file.
46097         * benchtests/bench-strnlen-ifunc.c: New file.
46098         * benchtests/bench-strnlen.c: New file.
46099         * benchtests/bench-strpbrk-ifunc.c: New file.
46100         * benchtests/bench-strpbrk.c: New file.
46101         * benchtests/bench-strrchr-ifunc.c: New file.
46102         * benchtests/bench-strrchr.c: New file.
46103         * benchtests/bench-strspn-ifunc.c: New file.
46104         * benchtests/bench-strspn.c: New file.
46105         * benchtests/bench-strstr-ifunc.c: New file.
46106         * benchtests/bench-strstr.c: New file.
46108         * benchtests/Makefile: Disable parallel execution of targets.
46109         (string-bench): Add memcpy.
46110         (benchset): New variable to store a list of benchmark sets.
46111         (bench-func): Renamed from bench.
46112         (bench-set): New target.
46113         (bench): Depend on bench-func and bench-set.
46114         * benchtests/README: Add section on benchmark sets.
46115         * benchtests/bench-memcpy-ifunc.c: New file.
46116         * benchtests/bench-memcpy.c: New file.
46117         * benchtests/bench-string.h: New file.
46119 2013-06-11  Andreas Schwab  <schwab@suse.de>
46121         [BZ #15577]
46122         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46123         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46124         values in the triple.
46125         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46126         terminator in the group key.
46128 2013-06-11  Andreas Jaeger  <aj@suse.de>
46130         * po/zh_TW.po: Update Chinese (traditional) translation from
46131         translation project.
46133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46135         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46136         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46137         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46139         (clock_getcpuclockid): Likewise.
46140         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46141         Add weak_alias and libc_hidden_def.
46142         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46143         * rt/clock_gettime.c (clock_gettime): Rename to
46144         __clock_gettime.  Add weak_alias and libc_hidden_def.
46145         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46146         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46147         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46148         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46149         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46150         Likewise.
46151         * rt/clock_settime.c (clock_settime): Rename to
46152         __clock_settime.  Add weak_alias and libc_hidden_def.
46153         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46155 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46157         * mach/err_boot.sub: Remove trailing whitespace.
46158         * mach/err_ipc.sub: Likewise.
46159         * mach/err_mach.sub: Likewise.
46161         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46162         (ROUNDING_TESTS_double): Likewise.
46163         (ROUNDING_TESTS_long_double): Likewise.
46164         (ROUNDING_TESTS): Likewise.
46165         * math/libm-test.inc: Include <math-tests.h>.
46166         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46167         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46168         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46169         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46171 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46173         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46174         of assigning.
46176 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46178         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46179         otherwise empty TRANS lines.
46180         * sysdeps/gnu/errlist.c: Regenerated.
46182         * catgets/gencat.c (error_print): Use (void) in function
46183         definition.
46184         * crypt/crypt_util.c (__init_des): Likewise.
46185         * crypt/speeds.c (Stop): Likewise.
46186         (main): Likewise.
46187         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46188         * inet/ruserpass.c (token): Likewise.
46189         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46190         * intl/localealias.c (extend_alias_table): Likewise.
46191         * intl/plural-exp.c (init_germanic_plural): Likewise.
46192         * libio/fcloseall.c (__fcloseall): Likewise.
46193         * libio/genops.c (_IO_flush_all): Likewise.
46194         (_IO_flush_all_linebuffered): Likewise.
46195         (_IO_cleanup): Likewise.
46196         (_IO_iter_begin): Likewise.
46197         (_IO_iter_end): Likewise.
46198         (_IO_list_lock): Likewise.
46199         (_IO_list_unlock): Likewise.
46200         (_IO_list_resetlock): Likewise.
46201         * libio/getchar.c (getchar): Likewise.
46202         * libio/getchar_u.c (getchar_unlocked): Likewise.
46203         * libio/getwchar.c (getwchar): Likewise.
46204         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46205         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46206         * login/getpt.c (__getpt): Likewise.
46207         * login/tst-utmp.c (main): Likewise.
46208         * malloc/hooks.c (__malloc_check_init): Likewise.
46209         * malloc/malloc.c (__malloc_stats): Likewise.
46210         * malloc/mtrace.c (tr_break): Likewise.
46211         (mtrace): Likewise.
46212         (muntrace): Likewise.
46213         * misc/fstab.c (endfsent): Likewise.
46214         * misc/getclktck.c (__getclktck): Likewise.
46215         * misc/getdtsz.c (__getdtablesize): Likewise.
46216         * misc/gethostid.c (gethostid): Likewise.
46217         * misc/getpagesize.c (__getpagesize): Likewise.
46218         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46219         (__get_nprocs): Likewise.
46220         (__get_phys_pages): Likewise.
46221         (__get_avphys_pages): Likewise.
46222         * misc/getttyent.c (getttyent): Likewise.
46223         (setttyent): Likewise.
46224         (endttyent): Likewise.
46225         * misc/getusershell.c (getusershell): Likewise.
46226         (endusershell): Likewise.
46227         (setusershell): Likewise.
46228         (initshells): Likewise.
46229         * misc/hsearch.c (__hdestroy): Likewise.
46230         * misc/sync.c (sync): Likewise.
46231         * misc/syslog.c (closelog_internal): Likewise.
46232         (closelog): Likewise.
46233         * misc/ttyslot.c (ttyslot): Likewise.
46234         * misc/vhangup.c (vhangup): Likewise.
46235         * posix/fork.c (__fork): Likewise.
46236         * posix/getegid.c (__getegid): Likewise.
46237         * posix/geteuid.c (__geteuid): Likewise.
46238         * posix/getgid.c (__getgid): Likewise.
46239         * posix/getpid.c (__getpid): Likewise.
46240         * posix/getppid.c (__getppid): Likewise.
46241         * posix/getuid.c (__getuid): Likewise.
46242         * posix/pause.c (pause): Likewise.
46243         * posix/setpgrp.c (setpgrp): Likewise.
46244         * posix/setsid.c (__setsid): Likewise.
46245         * posix/test-vfork.c (noop): Likewise.
46246         * resolv/gethnamaddr.c (_endhtent): Likewise.
46247         (_gethtent): Likewise.
46248         (ht_endhostent): Likewise.
46249         (gethostent): Likewise.
46250         (dns_service): Likewise.
46251         * stdlib/drand48.c (drand48): Likewise.
46252         * stdlib/lrand48.c (lrand48): Likewise.
46253         * stdlib/mrand48.c (mrand48): Likewise.
46254         * stdlib/rand.c (rand): Likewise.
46255         * stdlib/random.c (__random): Likewise.
46256         * stdlib/setenv.c (clearenv): Likewise.
46257         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46258         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46259         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46260         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46261         (__get_nprocs): Likewise.
46262         (__get_phys_pages): Likewise.
46263         (__get_avphys_pages): Likewise.
46264         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46265         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46266         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46267         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46268         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46269         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46270         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46271         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46272         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46273         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46274         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46275         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46276         * sysdeps/posix/clock.c (clock): Likewise.
46277         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46278         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46279         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46280         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46281         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46283         (__get_nprocs_conf): Likewise.
46284         (__get_phys_pages): Likewise.
46285         (__get_avphys_pages): Likewise.
46286         * time/clock.c (clock): Likewise.
46287         * time/tzset.c (__tzname_max): Likewise.
46289 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46291         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46292         (__bswap_32): Do not use "register".
46293         * crypt/crypt.c (_ufc_doit_r): Likewise.
46294         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46295         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46296         * gmon/gmon.c (__monstartup): Likewise.
46297         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46298         * hurd/hurdmalloc.c (more_memory): Likewise.
46299         (malloc): Likewise.
46300         (free): Likewise.
46301         (realloc): Likewise.
46302         (malloc_fork_prepare): Likewise.
46303         (malloc_fork_parent): Likewise.
46304         (malloc_fork_child): Likewise.
46305         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46306         (_svcauth_des): Likewise.
46307         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46308         * inet/inet_net.c (inet_network): Likewise.
46309         * inet/inet_netof.c (inet_netof): Likewise.
46310         * inet/rcmd.c (__validuser2_sa): Likewise.
46311         * io/fts.c (fts_open): Likewise.
46312         (fts_load): Likewise.
46313         (fts_close): Likewise.
46314         (fts_read): Likewise.
46315         (fts_children): Likewise.
46316         (fts_build): Likewise.
46317         (fts_stat): Likewise.
46318         (fts_sort): Likewise.
46319         (fts_alloc): Likewise.
46320         (fts_lfree): Likewise.
46321         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46322         (_IO_file_xsgetn): Likewise.
46323         (_IO_file_xsgetn_mmap): Likewise.
46324         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46325         (_IO_cookie_write): Likewise.
46326         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46327         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46328         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46329         * malloc/obstack.c (_obstack_begin): Likewise.
46330         (_obstack_begin_1): Likewise.
46331         (_obstack_newchunk): Likewise.
46332         (_obstack_allocated_p): Likewise.
46333         (obstack_free): Likewise.
46334         (_obstack_memory_used): Likewise.
46335         * misc/getttyent.c (getttynam): Likewise.
46336         (getttyent): Likewise.
46337         (skip): Likewise.
46338         (value): Likewise.
46339         * misc/getusershell.c (initshells): Likewise.
46340         * misc/syslog.c (__vsyslog_chk): Likewise.
46341         * misc/ttyslot.c (ttyslot): Likewise.
46342         * nis/nis_hash.c (__nis_hash): Likewise.
46343         * posix/fnmatch_loop.c (FCT): Likewise.
46344         * posix/getconf.c (print_all): Likewise.
46345         (main): Likewise.
46346         * posix/getopt.c (exchange): Likewise.
46347         * posix/glob.c (globfree): Likewise.
46348         (prefix_array): Likewise.
46349         (__glob_pattern_type): Likewise.
46350         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46351         (NS_GET32): Likewise.
46352         (NS_PUT16): Likewise.
46353         (NS_PUT32): Likewise.
46354         * resolv/gethnamaddr.c (getanswer): Likewise.
46355         (gethostbyname2): Likewise.
46356         (gethostbyaddr): Likewise.
46357         (_gethtent): Likewise.
46358         (_gethtbyname2): Likewise.
46359         (_gethtbyaddr): Likewise.
46360         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46361         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46362         * resolv/res_init.c (__res_vinit): Likewise.
46363         (net_mask): Likewise.
46364         * resolv/res_mkquery.c (outchar): Likewise.
46365         (PRINT): Likewise.
46366         * stdio-common/printf_fp.c (outchar): Likewise.
46367         (PRINT): Likewise.
46368         * stdio-common/printf_fphex.c (outchar): Likewise.
46369         (PRINT): Likewise.
46370         * stdio-common/printf_size.c (outchar): Likewise.
46371         (PRINT): Likewise.
46372         * stdio-common/test_rdwr.c (main): Likewise.
46373         * stdio-common/tfformat.c (matches): Likewise.
46374         * stdio-common/vfprintf.c (outchar): Likewise.
46375         (printf_unknown): Likewise.
46376         (buffered_vfprintf): Likewise.
46377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46378         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46379         (ReadFile): Likewise.
46380         * stdlib/qsort.c (SWAP): Likewise.
46381         (_quicksort): Likewise.
46382         * stdlib/setenv.c (__add_to_environ): Likewise.
46383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46384         * stdlib/strtol_l.c (__strtol_l): Likewise.
46385         * stdlib/tst-strtod.c (main): Likewise.
46386         * stdlib/tst-strtol.c (main): Likewise.
46387         * stdlib/tst-strtoll.c (main): Likewise.
46388         * string/bits/string2.h (__strcmp_cc): Likewise.
46389         (__strcmp_cg): Likewise.
46390         (__strcspn_c1): Likewise.
46391         (__strcspn_c2): Likewise.
46392         (__strcspn_c3): Likewise.
46393         (__strspn_c1): Likewise.
46394         (__strspn_c2): Likewise.
46395         (__strspn_c3): Likewise.
46396         (__strsep_1c): Likewise.
46397         (__strsep_2c): Likewise.
46398         (__strsep_3c): Likewise.
46399         * string/memccpy.c (__memccpy): Likewise.
46400         * string/stpcpy.c (__stpcpy): Likewise.
46401         * string/strcmp.c (strcmp): Likewise.
46402         * string/strrchr.c (strrchr): Likewise.
46403         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46404         Likewise.
46405         * sysdeps/mach/hurd/getcwd.c
46406         (_hurd_canonicalize_directory_name_internal): Likewise.
46407         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46408         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46409         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46410         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46411         Likewise, in both definitions.
46412         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46413         definitions.
46414         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46415         64] (__bswap_64): Likewise.
46416         * time/test_time.c (main): Likewise.
46417         * time/tzfile.c (__tzfile_read): Likewise.
46418         (__tzfile_compute): Likewise.
46419         * time/tzset.c (__tzset_parse_tz): Likewise.
46420         (tzset_internal): Likewise.
46421         (compute_change): Likewise.
46422         * wcsmbs/wcscat.c (__wcscat): Likewise.
46423         * wcsmbs/wcschr.c (wcschr): Likewise.
46424         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46425         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46426         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46427         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46428         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46429         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46430         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46431         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46432         * wcsmbs/wmemset.c (wmemset): Likewise.
46434 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46436         * scripts/config.guess: Update to version 2013-05-16.
46437         * scripts/config.sub: Update to version 2013-04-24.
46438         * scripts/install-sh: Update to version 2011-11-20.07.
46439         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46440         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46442 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46444         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46445         * elf/sln.c: Likewise.
46446         * hurd/hurd/ioctl.h: Likewise.
46447         * hurd/hurdmalloc.c: Likewise.
46448         * hurd/xattr.c: Likewise.
46449         * include/shlib-compat.h: Likewise.
46450         * inet/ruserpass.c: Likewise.
46451         * libio/iofgets_u.c: Likewise.
46452         * libio/iofgetws_u.c: Likewise.
46453         * locale/programs/ld-identification.c: Likewise.
46454         * locale/programs/ld-time.c: Likewise.
46455         * mach/msg-destroy.c: Likewise.
46456         * nss/nss_files/files-netgrp.c: Likewise.
46457         * resolv/res_data.c: Likewise.
46458         * soft-fp/op-1.h: Likewise.
46459         * soft-fp/op-2.h: Likewise.
46460         * soft-fp/op-4.h: Likewise.
46461         * soft-fp/op-common.h: Likewise.
46462         * stdio-common/printf_fphex.c: Likewise.
46463         * stdlib/strtod_l.c: Likewise.
46464         * sunrpc/rpc/clnt.h: Likewise.
46465         * sysdeps/generic/framestate.c: Likewise.
46466         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46467         * sysdeps/i386/bsd-setjmp.S: Likewise.
46468         * sysdeps/i386/__longjmp.S: Likewise.
46469         * sysdeps/i386/setjmp.S: Likewise.
46470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46471         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46475         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46479         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46481         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46482         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46486         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46487         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46488         * sysdeps/ieee754/support.c: Likewise.
46489         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46490         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46491         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46492         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46493         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46494         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46495         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46496         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46497         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46498         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46499         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46500         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46501         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46502         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46503         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46504         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46505         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46508 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46510         * posix/transbug.c: Remove executable mode.
46512 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46514         * crypt/speeds.c: Remove trailing whitespace.
46515         * dlfcn/default.c: Likewise.
46516         * elf/ifuncdep2.c: Likewise.
46517         * elf/ifuncmain1.c: Likewise.
46518         * elf/ifuncmain1vis.c: Likewise.
46519         * elf/testobj.h: Likewise.
46520         * elf/tst-stackguard1.c: Likewise.
46521         * gmon/sys/gmon.h: Likewise.
46522         * hurd/hurdmsg.c: Likewise.
46523         * hurd/new-fd.c: Likewise.
46524         * hurd/ports-get.c: Likewise.
46525         * iconvdata/ibm1008_420.c: Likewise.
46526         * inet/tst-getni1.c: Likewise.
46527         * inet/tst-getni2.c: Likewise.
46528         * libio/ioungetc.c: Likewise.
46529         * libio/wfiledoalloc.c: Likewise.
46530         * manual/libm-err-tab.pl: Likewise.
46531         * math/w_dremf.c: Likewise.
46532         * misc/ftruncate.c: Likewise.
46533         * posix/bug-glob2.c: Likewise.
46534         * posix/tst-pcre.c: Likewise.
46535         * posix/wait4.c: Likewise.
46536         * resolv/README: Likewise.
46537         * resolv/res_debug.h: Likewise.
46538         * resolv/tst-inet_ntop.c: Likewise.
46539         * setjmp/bug269-setjmp.c: Likewise.
46540         * soft-fp/extended.h: Likewise.
46541         * soft-fp/op-1.h: Likewise.
46542         * soft-fp/op-2.h: Likewise.
46543         * soft-fp/op-4.h: Likewise.
46544         * soft-fp/op-8.h: Likewise.
46545         * soft-fp/testit.c: Likewise.
46546         * stdio-common/bug16.c: Likewise.
46547         * stdlib/random.c: Likewise.
46548         * sunrpc/rpcsvc/rquota.x: Likewise.
46549         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46555         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46558         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46559         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46560         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46561         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46562         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46563         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46564         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46565         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46570         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46571         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46572         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46573         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46578         * sysdeps/ieee754/s_lib_version.c: Likewise.
46579         * sysdeps/mach/hurd/check_fds.c: Likewise.
46580         * sysdeps/mach/hurd/getsockname.c: Likewise.
46581         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46582         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46583         * sysdeps/powerpc/bits/link.h: Likewise.
46584         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46585         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46586         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46587         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46588         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46589         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46590         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46591         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46592         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46593         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46594         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46595         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46596         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46597         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46600         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46601         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46602         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46603         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46604         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46605         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46607         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46608         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46609         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46612         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46617         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46618         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46619         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46620         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46621         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46622         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46623         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46624         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46625         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46626         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46627         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46628         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46629         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46630         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46632         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46633         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46636         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46637         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46638         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46639         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46640         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46642         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46643         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46644         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46645         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46646         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46647         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46648         * sysdeps/powerpc/sysdep.h: Likewise.
46649         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46650         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46651         * sysdeps/sh/dl-trampoline.S: Likewise.
46652         * sysdeps/sh/memset.S: Likewise.
46653         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46654         * sysdeps/sh/strlen.S: Likewise.
46655         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46656         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46657         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46658         * sysdeps/sparc/sparc32/rem.S: Likewise.
46659         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46660         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46661         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46662         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46663         * sysdeps/sparc/sparc32/urem.S: Likewise.
46664         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46665         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46666         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46667         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46669         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46670         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46671         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46672         * sysdeps/unix/bsd/times.c: Likewise.
46673         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46674         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46678         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46679         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46680         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46682         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46684         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46685         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46686         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46687         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46688         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46690         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46691         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46692         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46693         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46694         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46695         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46696         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46697         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46698         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46699         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46700         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46701         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46702         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46703         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46704         * sysdeps/x86_64/strcspn.S: Likewise.
46706 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46708         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46709         generated file.  Regenerate properly from gen-translit.pl.
46710         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46711         locale/C-translit.h.
46713 2013-06-05  Andreas Schwab  <schwab@suse.de>
46715         [BZ #15100]
46716         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46717         week as 6 instead of -1.
46718         * time/tst-strptime.c (day_tests): Add test case.
46720 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46722         * sysdeps/generic/math_private.h
46723         (libc_feholdexcept_setround_53bit): Replace with
46724         libc_feholdsetround_53bit.
46725         (libc_feupdateenv_53bit): Replace with
46726         libc_feresetround_53bit.
46727         (SET_RESTORE_ROUND_53BIT): Adjust.
46729 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46731         * string/test-strchrnul.c: Add copyright header.
46733         * posix/tst-getaddrinfo4.c: Increase test timeout.
46735 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46737         [BZ #15536]
46738         * math/libm-test.inc (MAX_EXP): Remove
46739         (MIN_EXP): Define.
46740         (ulp): Use MIN_EXP - MANT_DIG.
46741         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46743 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46745         * po/be.po: Revert last change.
46746         * po/zh_CN.po: Likewise.
46747         * po/header.pot: Likewise.
46749 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46751         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46752         link-libc-deps to empty as target-specific variable.
46753         * Makerules (link-libc-args): New variable.
46754         (libc-for-link): Likewise.
46755         (link-libc-deps): Likewise.
46756         (lib%.so): Depend on $(link-libc-deps).  Link with
46757         $(link-libc-args).
46758         (build-module): Link with $(link-libc-args).
46759         (build-module-asneeded): Likewise.
46760         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46761         list of objects.
46762         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46763         target-specific variable.
46764         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46765         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46766         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46767         libc.
46768         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46769         libc and ld.so.
46770         ($(objpfx)libpcprofile.so): Likewise.
46771         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46772         libc_nonshared.a.
46773         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46774         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46775         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46776         $(link-libc-deps).
46777         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46778         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46779         * login/Makefile ($(objpfx)libutil.so): Likewise.
46780         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46781         * math/Makefile ($(objpfx)libm.so): Likewise.
46782         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46783         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46784         variable instead of depending directly on libc.
46785         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46786         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46787         $(link-libc-deps).
46788         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46789         libc.
46790         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46791         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46792         ($(objpfx)libanl.so): Likewise.
46793         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46794         ld.so.
46795         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46796         $(link-libc-deps).
46797         * sysdeps/i386/fpu/Makefile: Remove file.
46798         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46799         ($(objpfx)libm.so): Remove dependency on ld.so.
46801 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46803         [BZ # 15553]
46804         * nis/yp_xdr.c (XDRMAXNAME): Define.
46805         (XDRMAXRECORD): Define.
46806         (xdr_domainname): Use XDRMAXNAME.
46807         (xdr_mapname): Likewise.
46808         (xdr_peername): Likewise.
46809         (xdr_keydat): Use XDRMAXRECORD.
46810         (xdr_valdat): Likewise.
46812 2013-05-30  Jeff Law  <law@redhat.com>
46814         [BZ #14256]
46815         * manual/errno.texi (ESTALE): Update to account for more than
46816         just NFS file systems.
46817         * sysdeps/gnu/errlist.c: Regenerated.
46819 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46821         [BZ #15465]
46822         * elf/Makefile (tests): Add tst-null-argv.
46823         (modules-names):  Add tst-null-argv-lib.
46824         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46825         (tst-null-argv-ENV): Set environment for tst-null-argv.
46826         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46827         (RTLD_PROGNAME): New macro.
46828         * elf/tst-null-argv.c: New test case.
46829         * elf/tst-null-argv-lib.c: Library for test case.
46830         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46831         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46832         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46833         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46834         * elf/dl-init.c (call_init): Likewise.
46835         (_dl_init): Likewise.
46836         * elf/dl-load.c (print_search_path): Likewise.
46837         (_dl_map_object): Likewise.
46838         * elf/dl-lookup.c (do_lookup_x): Likewise.
46839         (add_dependency): Likewise.
46840         (_dl_lookup_symbol_x): Likewise.
46841         (_dl_debug_bindings): Likewise.
46842         * elf/dl-open.c (_dl_show_scope): Likewise.
46843         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46844         * elf/dl-version.c (match_symbol): Likewise.
46845         (_dl_check_map_versions): Likewise.
46846         * elf/rtld.c (dl_main): Likewise.
46847         (print_unresolved): Use RTLD_PROGNAME.
46848         (print_missing_version): Likewise.
46849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46850         (elf_machine_rela): Likewise.
46851         * sysdeps/powerpc/powerpc32/dl-machine.c
46852         (__process_machine_rela): Likewise.
46853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46854         Likewise.
46855         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46856         Likewise.
46857         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46858         Likewise.
46859         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46861         Likewise.
46862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46863         Likewise.
46864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46866 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46868         * po/be.po: Add descriptive title.
46869         * po/zh_CN.po: Likewise.
46870         * po/header.pot: Likewise.
46872 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46874         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46875         error message.
46876         (enlarge_archive): Likewise.
46878 2013-05-28  Ben North  <ben@redfrontdoor.org>
46880         * manual/arith.texi (frexp): It is the magnitude of the return
46881         value which lies in [0.5, 1), not the return value itself.
46883 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46887 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46889         * stdio-common/bug26.c (main): Correct fscanf template.
46891         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46892         declare _dl_skip_args.
46894         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46895         Don't declare.
46897         * manual/platform.texi: Add missing @end deftypefun.
46899 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46901         [BZ #15529]
46902         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46903         bit of mantissa of 2^16382.
46904         * math/libm-test.inc (hypot_test_data): Add more tests.
46906         * math/libm-test.inc: Add drem and pow10 to list of tested
46907         functions.
46908         (pow10_test): New function.
46909         (drem_test): Likewise.
46910         (drem_test_tonearest): Likewise.
46911         (drem_test_towardzero): Likewise.
46912         (drem_test_downward): Likewise.
46913         (drem_test_upward): Likewise.
46914         (main): Call the new functions.
46916         * math/libm-test.inc (finite_test_data): Remove.
46917         (finite_test): Run tests from isfinite_test_data.
46918         (gamma_test_data): Remove.
46919         (gamma_test): Run tests from lgamma_test_data.
46920         * sysdeps/i386/fpu/libm-test-ulps: Update.
46921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46923 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46925         * manual/platform.texi: Add PowerPC PPR function set documentation.
46926         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46927         implementation.
46929 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46931         * math/libm-test.inc (MAX_EXP): Define.
46932         (ULPDIFF): Define.
46933         (ulp): New function.
46934         (check_float_internal): Use ULPDIFF.
46935         (cpow_test): Disable failing test.
46936         (check_ulp): Test ulp() implemetnation.
46937         (main): Call check_ulp before starting tests.
46939 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46941         * math/gen-libm-test.pl (generate_testfile): Do not handle
46942         START_DATA and END_DATA.
46943         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46944         END_DATA.
46945         (acos_tonearest_test_data): Likewise.
46946         (acos_towardzero_test_data): Likewise.
46947         (acos_downward_test_data): Likewise.
46948         (acos_upward_test_data): Likewise.
46949         (acosh_test_data): Likewise.
46950         (asin_test_data): Likewise.
46951         (asin_tonearest_test_data): Likewise.
46952         (asin_towardzero_test_data): Likewise.
46953         (asin_downward_test_data): Likewise.
46954         (asin_upward_test_data): Likewise.
46955         (asinh_test_data): Likewise.
46956         (atan_test_data): Likewise.
46957         (atanh_test_data): Likewise.
46958         (atan2_test_data): Likewise.
46959         (cabs_test_data): Likewise.
46960         (cacos_test_data): Likewise.
46961         (cacosh_test_data): Likewise.
46962         (carg_test_data): Likewise.
46963         (casin_test_data): Likewise.
46964         (casinh_test_data): Likewise.
46965         (catan_test_data): Likewise.
46966         (catanh_test_data): Likewise.
46967         (cbrt_test_data): Likewise.
46968         (ccos_test_data): Likewise.
46969         (ccosh_test_data): Likewise.
46970         (ceil_test_data): Likewise.
46971         (cexp_test_data): Likewise.
46972         (cimag_test_data): Likewise.
46973         (clog_test_data): Likewise.
46974         (clog10_test_data): Likewise.
46975         (conj_test_data): Likewise.
46976         (copysign_test_data): Likewise.
46977         (cos_test_data): Likewise.
46978         (cos_tonearest_test_data): Likewise.
46979         (cos_towardzero_test_data): Likewise.
46980         (cos_downward_test_data): Likewise.
46981         (cos_upward_test_data): Likewise.
46982         (cosh_test_data): Likewise.
46983         (cosh_tonearest_test_data): Likewise.
46984         (cosh_towardzero_test_data): Likewise.
46985         (cosh_downward_test_data): Likewise.
46986         (cosh_upward_test_data): Likewise.
46987         (cpow_test_data): Likewise.
46988         (cproj_test_data): Likewise.
46989         (creal_test_data): Likewise.
46990         (csin_test_data): Likewise.
46991         (csinh_test_data): Likewise.
46992         (csqrt_test_data): Likewise.
46993         (ctan_test_data): Likewise.
46994         (ctan_tonearest_test_data): Likewise.
46995         (ctan_towardzero_test_data): Likewise.
46996         (ctan_downward_test_data): Likewise.
46997         (ctan_upward_test_data): Likewise.
46998         (ctanh_test_data): Likewise.
46999         (ctanh_tonearest_test_data): Likewise.
47000         (ctanh_towardzero_test_data): Likewise.
47001         (ctanh_downward_test_data): Likewise.
47002         (ctanh_upward_test_data): Likewise.
47003         (erf_test_data): Likewise.
47004         (erfc_test_data): Likewise.
47005         (exp_test_data): Likewise.
47006         (exp_tonearest_test_data): Likewise.
47007         (exp_towardzero_test_data): Likewise.
47008         (exp_downward_test_data): Likewise.
47009         (exp_upward_test_data): Likewise.
47010         (exp10_test_data): Likewise.
47011         (exp2_test_data): Likewise.
47012         (expm1_test_data): Likewise.
47013         (fabs_test_data): Likewise.
47014         (fdim_test_data): Likewise.
47015         (finite_test_data): Likewise.
47016         (floor_test_data): Likewise.
47017         (fma_test_data): Likewise.
47018         (fma_towardzero_test_data): Likewise.
47019         (fma_downward_test_data): Likewise.
47020         (fma_upward_test_data): Likewise.
47021         (fmax_test_data): Likewise.
47022         (fmin_test_data): Likewise.
47023         (fmod_test_data): Likewise.
47024         (fpclassify_test_data): Likewise.
47025         (frexp_test_data): Likewise.
47026         (gamma_test_data): Likewise.
47027         (hypot_test_data): Likewise.
47028         (ilogb_test_data): Likewise.
47029         (isfinite_test_data): Likewise.
47030         (isgreater_test_data): Likewise.
47031         (isgreaterequal_test_data): Likewise.
47032         (isinf_test_data): Likewise.
47033         (isless_test_data): Likewise.
47034         (islessequal_test_data): Likewise.
47035         (islessgreater_test_data): Likewise.
47036         (isnan_test_data): Likewise.
47037         (isnormal_test_data): Likewise.
47038         (issignaling_test_data): Likewise.
47039         (isunordered_test_data): Likewise.
47040         (j0_test_data): Likewise.
47041         (j1_test_data): Likewise.
47042         (jn_test_data): Likewise.
47043         (ldexp_test_data): Likewise.
47044         (lgamma_test_data): Likewise.
47045         (lrint_test_data): Likewise.
47046         (lrint_tonearest_test_data): Likewise.
47047         (lrint_towardzero_test_data): Likewise.
47048         (lrint_downward_test_data): Likewise.
47049         (lrint_upward_test_data): Likewise.
47050         (llrint_test_data): Likewise.
47051         (llrint_tonearest_test_data): Likewise.
47052         (llrint_towardzero_test_data): Likewise.
47053         (llrint_downward_test_data): Likewise.
47054         (llrint_upward_test_data): Likewise.
47055         (log_test_data): Likewise.
47056         (log10_test_data): Likewise.
47057         (log1p_test_data): Likewise.
47058         (log2_test_data): Likewise.
47059         (logb_test_data): Likewise.
47060         (logb_downward_test_data): Likewise.
47061         (lround_test_data): Likewise.
47062         (llround_test_data): Likewise.
47063         (modf_test_data): Likewise.
47064         (nearbyint_test_data): Likewise.
47065         (nextafter_test_data): Likewise.
47066         (nexttoward_test_data): Likewise.
47067         (pow_test_data): Likewise.
47068         (pow_tonearest_test_data): Likewise.
47069         (pow_towardzero_test_data): Likewise.
47070         (pow_downward_test_data): Likewise.
47071         (pow_upward_test_data): Likewise.
47072         (remainder_test_data): Likewise.
47073         (remainder_tonearest_test_data): Likewise.
47074         (remainder_towardzero_test_data): Likewise.
47075         (remainder_downward_test_data): Likewise.
47076         (remainder_upward_test_data): Likewise.
47077         (remquo_test_data): Likewise.
47078         (rint_test_data): Likewise.
47079         (rint_tonearest_test_data): Likewise.
47080         (rint_towardzero_test_data): Likewise.
47081         (rint_downward_test_data): Likewise.
47082         (rint_upward_test_data): Likewise.
47083         (round_test_data): Likewise.
47084         (scalb_test_data): Likewise.
47085         (scalbn_test_data): Likewise.
47086         (scalbln_test_data): Likewise.
47087         (signbit_test_data): Likewise.
47088         (sin_test_data): Likewise.
47089         (sin_tonearest_test_data): Likewise.
47090         (sin_towardzero_test_data): Likewise.
47091         (sin_downward_test_data): Likewise.
47092         (sin_upward_test_data): Likewise.
47093         (sincos_test_data): Likewise.
47094         (sinh_test_data): Likewise.
47095         (sinh_tonearest_test_data): Likewise.
47096         (sinh_towardzero_test_data): Likewise.
47097         (sinh_downward_test_data): Likewise.
47098         (sinh_upward_test_data): Likewise.
47099         (sqrt_test_data): Likewise.
47100         (tan_test_data): Likewise.
47101         (tan_tonearest_test_data): Likewise.
47102         (tan_towardzero_test_data): Likewise.
47103         (tan_downward_test_data): Likewise.
47104         (tan_upward_test_data): Likewise.
47105         (tanh_test_data): Likewise.
47106         (tgamma_test_data): Likewise.
47107         (trunc_test_data): Likewise.
47108         (y0_test_data): Likewise.
47109         (y1_test_data): Likewise.
47110         (yn_test_data): Likewise.
47111         (significand_test_data): Likewise.
47113         * math/gen-libm-test.pl (@functions): Remove variable.
47114         (generate_testfile): Don't handle START and END lines.
47115         * math/libm-test.inc (START): New macro.
47116         (END): Likewise.
47117         (END_COMPLEX): Likewise.
47118         (acos_test): Use END macro without arguments.
47119         (acos_test_tonearest): Likewise.
47120         (acos_test_towardzero): Likewise.
47121         (acos_test_downward): Likewise.
47122         (acos_test_upward): Likewise.
47123         (acosh_test): Likewise.
47124         (asin_test): Likewise.
47125         (asin_test_tonearest): Likewise.
47126         (asin_test_towardzero): Likewise.
47127         (asin_test_downward): Likewise.
47128         (asin_test_upward): Likewise.
47129         (asinh_test): Likewise.
47130         (atan_test): Likewise.
47131         (atanh_test): Likewise.
47132         (atan2_test): Likewise.
47133         (cabs_test): Likewise.
47134         (cacos_test): Use END_COMPLEX macro without arguments.
47135         (cacosh_test): Likewise.
47136         (carg_test): Use END macro without arguments.
47137         (casin_test): Use END_COMPLEX macro without arguments.
47138         (casinh_test): Likewise.
47139         (catan_test): Likewise.
47140         (catanh_test): Likewise.
47141         (cbrt_test): Use END macro without arguments.
47142         (ccos_test): Use END_COMPLEX macro without arguments.
47143         (ccosh_test): Likewise.
47144         (ceil_test): Use END macro without arguments.
47145         (cexp_test): Use END_COMPLEX macro without arguments.
47146         (cimag_test): Use END macro without arguments.
47147         (clog_test): Use END_COMPLEX macro without arguments.
47148         (clog10_test): Likewise.
47149         (conj_test): Likewise.
47150         (copysign_test): Use END macro without arguments.
47151         (cos_test): Likewise.
47152         (cos_test_tonearest): Likewise.
47153         (cos_test_towardzero): Likewise.
47154         (cos_test_downward): Likewise.
47155         (cos_test_upward): Likewise.
47156         (cosh_test): Likewise.
47157         (cosh_test_tonearest): Likewise.
47158         (cosh_test_towardzero): Likewise.
47159         (cosh_test_downward): Likewise.
47160         (cosh_test_upward): Likewise.
47161         (cpow_test): Use END_COMPLEX macro without arguments.
47162         (cproj_test): Likewise.
47163         (creal_test): Use END macro without arguments.
47164         (csin_test): Use END_COMPLEX macro without arguments.
47165         (csinh_test): Likewise.
47166         (csqrt_test): Likewise.
47167         (ctan_test): Likewise.
47168         (ctan_test_tonearest): Likewise.
47169         (ctan_test_towardzero): Likewise.
47170         (ctan_test_downward): Likewise.
47171         (ctan_test_upward): Likewise.
47172         (ctanh_test): Likewise.
47173         (ctanh_test_tonearest): Likewise.
47174         (ctanh_test_towardzero): Likewise.
47175         (ctanh_test_downward): Likewise.
47176         (ctanh_test_upward): Likewise.
47177         (erf_test): Use END macro without arguments.
47178         (erfc_test): Likewise.
47179         (exp_test): Likewise.
47180         (exp_test_tonearest): Likewise.
47181         (exp_test_towardzero): Likewise.
47182         (exp_test_downward): Likewise.
47183         (exp_test_upward): Likewise.
47184         (exp10_test): Likewise.
47185         (exp2_test): Likewise.
47186         (expm1_test): Likewise.
47187         (fabs_test): Likewise.
47188         (fdim_test): Likewise.
47189         (finite_test): Likewise.
47190         (floor_test): Likewise.
47191         (fma_test): Likewise.
47192         (fma_test_towardzero): Likewise.
47193         (fma_test_downward): Likewise.
47194         (fma_test_upward): Likewise.
47195         (fmax_test): Likewise.
47196         (fmin_test): Likewise.
47197         (fmod_test): Likewise.
47198         (fpclassify_test): Likewise.
47199         (frexp_test): Likewise.
47200         (gamma_test): Likewise.
47201         (hypot_test): Likewise.
47202         (ilogb_test): Likewise.
47203         (isfinite_test): Likewise.
47204         (isgreater_test): Likewise.
47205         (isgreaterequal_test): Likewise.
47206         (isinf_test): Likewise.
47207         (isless_test): Likewise.
47208         (islessequal_test): Likewise.
47209         (islessgreater_test): Likewise.
47210         (isnan_test): Likewise.
47211         (isnormal_test): Likewise.
47212         (issignaling_test): Likewise.
47213         (isunordered_test): Likewise.
47214         (j0_test): Likewise.
47215         (j1_test): Likewise.
47216         (jn_test): Likewise.
47217         (ldexp_test): Likewise.
47218         (lgamma_test): Likewise.
47219         (lrint_test): Likewise.
47220         (lrint_test_tonearest): Likewise.
47221         (lrint_test_towardzero): Likewise.
47222         (lrint_test_downward): Likewise.
47223         (lrint_test_upward): Likewise.
47224         (llrint_test): Likewise.
47225         (llrint_test_tonearest): Likewise.
47226         (llrint_test_towardzero): Likewise.
47227         (llrint_test_downward): Likewise.
47228         (llrint_test_upward): Likewise.
47229         (log_test): Likewise.
47230         (log10_test): Likewise.
47231         (log1p_test): Likewise.
47232         (log2_test): Likewise.
47233         (logb_test): Likewise.
47234         (logb_test_downward): Likewise.
47235         (lround_test): Likewise.
47236         (llround_test): Likewise.
47237         (modf_test): Likewise.
47238         (nearbyint_test): Likewise.
47239         (nextafter_test): Likewise.
47240         (nexttoward_test): Likewise.
47241         (pow_test): Likewise.
47242         (pow_test_tonearest): Likewise.
47243         (pow_test_towardzero): Likewise.
47244         (pow_test_downward): Likewise.
47245         (pow_test_upward): Likewise.
47246         (remainder_test): Likewise.
47247         (remainder_test_tonearest): Likewise.
47248         (remainder_test_towardzero): Likewise.
47249         (remainder_test_downward): Likewise.
47250         (remainder_test_upward): Likewise.
47251         (remquo_test): Likewise.
47252         (rint_test): Likewise.
47253         (rint_test_tonearest): Likewise.
47254         (rint_test_towardzero): Likewise.
47255         (rint_test_downward): Likewise.
47256         (rint_test_upward): Likewise.
47257         (round_test): Likewise.
47258         (scalb_test): Likewise.
47259         (scalbn_test): Likewise.
47260         (scalbln_test): Likewise.
47261         (signbit_test): Likewise.
47262         (sin_test): Likewise.
47263         (sin_test_tonearest): Likewise.
47264         (sin_test_towardzero): Likewise.
47265         (sin_test_downward): Likewise.
47266         (sin_test_upward): Likewise.
47267         (sincos_test): Likewise.
47268         (sinh_test): Likewise.
47269         (sinh_test_tonearest): Likewise.
47270         (sinh_test_towardzero): Likewise.
47271         (sinh_test_downward): Likewise.
47272         (sinh_test_upward): Likewise.
47273         (sqrt_test): Likewise.
47274         (tan_test): Likewise.
47275         (tan_test_tonearest): Likewise.
47276         (tan_test_towardzero): Likewise.
47277         (tan_test_downward): Likewise.
47278         (tan_test_upward): Likewise.
47279         (tanh_test): Likewise.
47280         (tgamma_test): Likewise.
47281         (trunc_test): Likewise.
47282         (y0_test): Likewise.
47283         (y1_test): Likewise.
47284         (yn_test): Likewise.
47285         (significand_test): Likewise.
47287 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47289         [BZ #15381]
47290         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47292 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47294         [BZ #14894]
47295         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47296         __ppc_mdoio and __ppc_mdoom.
47297         * manual/platform.texi: Document new functions __ppc_yield,
47298         __ppc_mdoio and __ppc_mdoom.
47300 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47302         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47303         (main): Mention "tls" pseudo-hwcap is legacy.
47304         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47306 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47308         * math/gen-libm-test.pl (parse_args): Output only string of
47309         arguments as text for test name, not full call or descriptions of
47310         tests for extra outputs.
47311         (generate_testfile): Do not pass function name to parse_args.
47312         Generate this_func variable from START.
47313         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47314         field to arg_str.
47315         (struct test_ff_f_data): Likewise.
47316         (test_ff_f_data_nexttoward): Likewise.
47317         (struct test_fi_f_data): Likewise.
47318         (struct test_fl_f_data): Likewise.
47319         (struct test_if_f_data): Likewise.
47320         (struct test_fff_f_data): Likewise.
47321         (struct test_c_f_data): Likewise.
47322         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47323         (struct test_fF_f1_data): Likewise.
47324         (struct test_ffI_f1_data): Likewise.
47325         (struct test_c_c_data): Rename test_name field to arg_str.
47326         (struct test_cc_c_data): Likewise.
47327         (struct test_f_i_data): Likewise.
47328         (struct test_ff_i_data): Likewise.
47329         (struct test_f_l_data): Likewise.
47330         (struct test_f_L_data): Likewise.
47331         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47332         and extra2_name.
47333         (COMMON_TEST_SETUP): New macro.
47334         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47335         (COMMON_TEST_CLEANUP): Likewise.
47336         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47337         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47338         macros.
47339         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47340         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47341         macros.
47342         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47343         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47344         cleanup macros.
47345         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47346         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47347         macros.
47348         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47349         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47350         macros.
47351         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47352         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47353         cleanup macros.
47354         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47355         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47356         cleanup macros.
47357         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47358         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47359         cleanup macros.
47360         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47361         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47362         macros.
47363         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47364         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47365         macros.
47366         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47367         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47368         macros.
47369         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47370         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47371         cleanup macros.
47372         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47373         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47374         cleanup macros.
47375         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47376         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47377         macros.
47378         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47379         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47380         cleanup macros.
47381         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47382         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47383         macros.
47384         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47385         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47386         macros.
47387         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47388         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47389         cleanup macros.
47390         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47392 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47394         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47395         to _sifields.sigfault.
47396         (si_addr_lsb): Define new macro.
47397         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47398         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47399         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47401 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47403         [BZ #15441]
47404         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47405         returns -1.
47406         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47407         null return -1.
47408         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47409         loading the domain.
47411 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47413         * math/gen-libm-test.pl (parse_args): Do not include expected
47414         result in test name.
47415         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47418         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47422 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47424         * benchtests/Makefile: Sort function entries.
47426         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47427         tanh, asinh, acosh, atanh.
47428         * benchtests/acos-inputs: New file.
47429         * benchtests/acosh-inputs: New file.
47430         * benchtests/asin-inputs: New file.
47431         * benchtests/asinh-inputs: New file.
47432         * benchtests/atanh-inputs: New file.
47433         * benchtests/cosh-inputs: New file.
47434         * benchtests/log-inputs: New file.
47435         * benchtests/sinh-inputs: New file.
47436         * benchtests/tanh-inputs: New file.
47438 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47440         [BZ #15339]
47441         * posix/tst-getaddrinfo4.c: New test.
47442         * posix/Makefile (tests): Add it.
47444 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47446         [BZ #15339]
47447         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47448         when no services were used.
47449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47450         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47452 2013-05-21  Andreas Schwab  <schwab@suse.de>
47454         [BZ #15014]
47455         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47456         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47457         successful.
47458         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47459         redundant variable declarations and reallocation of buffer when
47460         parsing as IPv6 address.  Always set NSS status when called from
47461         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47462         buffer too small.  Correct computation of needed size.
47463         * nss/Makefile (tests): Add test-digits-dots.
47464         * nss/test-digits-dots.c: New test.
47466 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47468         * benchtests/Makefile: Remove instructions for adding
47469         benchmark tests.
47470         * benchtests/README: New file to explain how to execute and
47471         enhance the benchmark tests.
47473 2013-05-21  Andreas Schwab  <schwab@suse.de>
47475         [BZ #15493]
47476         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47477         * setjmp/tst-sigsetjmp.c: New test.
47479 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47481         * sysdeps/x86_64/memset.S (memset): New implementation.
47482         (__bzero): Likewise.
47483         (__memset_tail): New function.
47485 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47487         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47489         __memcpy_sse2_unaligned ifunc selection.
47490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47491         Add memcpy-sse2-unaligned.S.
47492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47493         Add: __memcpy_sse2_unaligned.
47495 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47497         [BZ #15490]
47498         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47499         math_force_eval before restoring floating-point envrionment.
47500         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47501         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47502         Likewise.
47503         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47504         <math_private.h>.
47505         (__nearbyintl): Use math_force_eval before restoring
47506         floating-point environment.
47507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47509         * math/gen-libm-test.pl (special_functions): Remove.
47510         (parse_args): Don't handle TEST_extra.  Handle functions with no
47511         return value.
47512         * math/libm-test.inc (struct test_sincos_data): Replace with
47513         struct test_fFF_11_data.
47514         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47515         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47516         (sincos_test_data): Change element type to struct
47517         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47518         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47519         RUN_TEST_LOOP_sincos.
47520         * math/README.libm-test: Don't mention special handling of
47521         individual functions.
47522         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47523         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47524         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47525         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47529         * math/gen-libm-test.pl (get_variable): Remove function.
47530         (parse_args): Don't show pointer parameters to call in test
47531         names.  Use "extra output N" in test names for extra outputs
47532         rather than naming variables.
47534 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47536         [BZ #15488]
47537         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47538         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47539         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47540         double tests.
47541         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47542         disable.
47543         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47544         check_long_double.
47546         * math/gen-libm-test.pl (@tests): Remove variable.
47547         ($count): Likewise.
47548         (new_test): Remove function.
47549         (show_exceptions): New function.
47550         (special_functions): Use show_exceptions instead of new_test.
47551         (parse_args): Likewise.
47552         (generate_testfile): Pass only function name in generated call to
47553         print_max_error or print_complex_max_error.
47554         (get_ulps): Do not handle complex tests specially.
47555         (output_test): Rename to ...
47556         (get_all_ulps_for_test): ... this.  Return a string rather than
47557         printing to a file.  Require ulps to be present.
47558         (output_ulps): Generate arrays rather than #defines.
47559         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47560         (struct ulp_data): New type.
47561         (BUILD_COMPLEX_ULP): Remove macro.
47562         (compare_ulp_data): New function.
47563         (find_ulps): Likewise.
47564         (find_test_ulps): Likewise.
47565         (find_function_ulps): Likewise.
47566         (find_complex_function_ulps): Likewise.
47567         (print_max_error): Determine allowed ulps using
47568         find_function_ulps.
47569         (print_complex_max_error): Determine allowed ulps using
47570         find_complex_function_ulps.
47571         (check_float_internal): Determine max ulps using find_test_ulps.
47572         (check_float): Do not take max_ulp parameter.  Update call to
47573         check_float_internal.
47574         (check_complex): Likewise.
47575         (check_int): Do not take max_ulp parameter.
47576         (check_long): Likewise.
47577         (check_bool): Likewise.
47578         (check_longlong): Likewise.
47579         (struct test_f_f_data): Remove max_ulp field.
47580         (struct test_ff_f_data): Likewise.
47581         (struct test_ff_f_data_nexttoward): Likewise.
47582         (struct test_fi_f_data): Likewise.
47583         (struct test_fl_f_data): Likewise.
47584         (struct test_if_f_data): Likewise.
47585         (struct test_fff_f_data): Likewise.
47586         (struct test_c_f_data): Likewise.
47587         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47588         (struct test_fF_f1_data): Likewise.
47589         (struct test_ffI_f1_data): Likewise.
47590         (struct test_c_c_data): Remove max_ulp field.
47591         (struct test_cc_c_data): Likewise.
47592         (struct test_f_i_data): Likewise.
47593         (struct test_ff_i_data): Likewise.
47594         (struct test_f_l_data): Likewise.
47595         (struct test_f_L_data): Likewise.
47596         (struct test_sincos_data): Likewise.
47597         (RUN_TEST_f_f): Do not handle ulps.
47598         (RUN_TEST_LOOP_f_f): Likewise.
47599         (RUN_TEST_2_f): Likewise.
47600         (RUN_TEST_LOOP_2_f): Likewise.
47601         (RUN_TEST_fff_f): Likewise.
47602         (RUN_TEST_LOOP_fff_f): Likewise.
47603         (RUN_TEST_c_f): Likewise.
47604         (RUN_TEST_LOOP_c_f): Likewise.
47605         (RUN_TEST_f_f1): Likewise.
47606         (RUN_TEST_LOOP_f_f1): Likewise.
47607         (RUN_TEST_fF_f1): Likewise.
47608         (RUN_TEST_LOOP_fF_f1): Likewise.
47609         (RUN_TEST_fI_f1): Likewise.
47610         (RUN_TEST_LOOP_fI_f1): Likewise.
47611         (RUN_TEST_ffI_f1): Likewise.
47612         (RUN_TEST_LOOP_ffI_f1): Likewise.
47613         (RUN_TEST_c_c): Likewise.
47614         (RUN_TEST_LOOP_c_c): Likewise.
47615         (RUN_TEST_cc_c): Likewise.
47616         (RUN_TEST_LOOP_cc_c): Likewise.
47617         (RUN_TEST_f_i): Likewise.
47618         (RUN_TEST_LOOP_f_i): Likewise.
47619         (RUN_TEST_f_i_tg): Likewise.
47620         (RUN_TEST_LOOP_f_i_tg): Likewise.
47621         (RUN_TEST_ff_i_tg): Likewise.
47622         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47623         (RUN_TEST_f_b): Likewise.
47624         (RUN_TEST_LOOP_f_b): Likewise.
47625         (RUN_TEST_f_b_tg): Likewise.
47626         (RUN_TEST_LOOP_f_b_tg): Likewise.
47627         (RUN_TEST_f_l): Likewise.
47628         (RUN_TEST_LOOP_f_l): Likewise.
47629         (RUN_TEST_f_L): Likewise.
47630         (RUN_TEST_LOOP_f_L): Likewise.
47631         (RUN_TEST_sincos): Likewise.
47632         (RUN_TEST_LOOP_sincos): Likewise.
47634 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47636         [BZ #15480]
47637         [BZ #15485]
47638         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47639         main case of finite arguments, set rounding mode to FE_TONEAREST
47640         and discard exceptions.
47641         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47642         exceptions.
47643         (remainder_tonearest_test_data): New variable.
47644         (remainder_test_tonearest): New function.
47645         (remainder_towardzero_test_data): New variable.
47646         (remainder_test_towardzero): New function.
47647         (remainder_downward_test_data): New variable.
47648         (remainder_test_downward): New function.
47649         (remainder_upward_test_data): New variable.
47650         (remainder_test_upward): New function.
47651         (main): Call the new test functions.
47653         * math/libm-test.inc (struct test_f_f1_data): Remove field
47654         extra_init.
47655         (struct test_fF_f1_data): Likewise.
47656         (struct test_ffI_f1_data): Likewise.
47657         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47658         based on value of EXTRA_EXPECTED.
47659         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47660         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47661         EXTRA_VAR based on value of EXTRA_EXPECTED.
47662         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47663         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47664         EXTRA_VAR based on value of EXTRA_EXPECTED.
47665         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47666         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47667         EXTRA_VAR based on value of EXTRA_EXPECTED.
47668         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47669         * math/gen-libm-test.pl (parse_args): Don't output initializers
47670         for extra output values.
47672         * math/libm-test.inc (check_int): Expect result to be exactly
47673         equal to expected value and do not handle ulps.
47674         (check_long): Likewise.
47675         (check_longlong): Likewise.
47677         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47678         exceptions.
47679         (cimag_test_data): Likewise.
47680         (conj_test_data): Likewise.
47681         (copysign_test_data): Likewise.
47682         (cproj_test_data): Likewise.
47683         (creal_test_data): Likewise.
47684         (fabs_test_data): Likewise.
47685         (fdim_test_data): Likewise.
47686         (finite_test_data): Likewise.
47687         (floor_test_data): Likewise.
47688         (fmax_test_data): Likewise.
47689         (fmin_test_data): Likewise.
47690         (fmod_test_data): Likewise.
47691         (fpclassify_test_data): Likewise.
47692         (frexp_test_data): Likewise.
47693         (ilogb_test_data): Likewise.
47694         (isfinite_test_data): Likewise.
47695         (isgreater_test_data): Likewise.
47696         (isgreaterequal_test_data): Likewise.
47697         (isinf_test_data): Likewise.
47698         (isless_test_data): Likewise.
47699         (islessequal_test_data): Likewise.
47700         (islessgreater_test_data): Likewise.
47701         (isnan_test_data): Likewise.
47702         (isnormal_test_data): Likewise.
47703         (issignaling_test_data): Likewise.
47704         (isunordered_test_data): Likewise.
47705         (ldexp_test_data): Likewise.
47706         (lrint_test_data): Likewise.
47707         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47708         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47709         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47710         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47711         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47712         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47713         test input.
47714         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47715         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47716         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47717         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47718         that test input.
47719         (lrint_downward_test_data): Test for "inexact" exceptions.
47720         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47721         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47722         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47723         test input.
47724         (lrint_upward_test_data): Test for "inexact" exceptions.
47725         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47726         test input.
47727         (llrint_test_data): Test for "inexact" exceptions.
47728         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47729         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47730         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47731         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47732         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47733         (llrint_downward_test_data): Test for "inexact" exceptions.
47734         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47735         (llrint_upward_test_data): Test for "inexact" exceptions.
47736         (logb_test_data): Likewise.
47737         (logb_downward_test_data): Likewise.
47738         (nextafter_test_data): Likewise.
47739         (nexttoward_test_data): Likewise.
47740         (remainder_test_data): Likewise.
47741         (remquo_test_data): Likewise.
47742         (scalbn_test_data): Likewise.
47743         (scalbln_test_data): Likewise.
47744         (signbit_test_data): Likewise.
47745         (sqrt_test_data): Likewise.
47746         (significand_test_data): Likewise.
47748 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47750         [BZ #15424]
47751         * benchtests/bench-modf.c (struct args): Mark arg0 as
47752         volatile.
47753         * scripts/bench.pl: Mark members of struct args as volatile.
47755 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47757         [BZ # 15497]
47758         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47759         negative infinity on POWER6 or lower.
47760         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47762 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47764         [BZ #15442]
47765         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47766         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47767         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47768         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47769         (_FP_SETQNAN): New macro.
47770         (_FP_SETQNAN_SEMIRAW): Likewise.
47771         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47772         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47773         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47774         (FP_EXTEND): Use _FP_FRAC_SNANP.
47775         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47776         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47777         into account.
47778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47779         New macro.
47780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47781         Likewise.
47783 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47785         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47786         with DIVIDE_BY_ZERO_EXCEPTION.
47787         (gamma_test_data): Likewise.
47788         (lgamma_test_data): Likewise.
47789         (log_test_data): Likewise.
47790         (log10_test_data): Likewise.
47791         (log2_test_data): Likewise.
47792         (tgamma_test_data): Likewise.
47794         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47795         (acos_test_tonearest): Likewise.
47796         (acos_test_towardzero): Likewise.
47797         (acos_test_downward): Likewise.
47798         (acos_test_upward): Likewise.
47799         (acosh_test): Likewise.
47800         (asin_test): Likewise.
47801         (asin_test_tonearest): Likewise.
47802         (asin_test_towardzero): Likewise.
47803         (asin_test_downward): Likewise.
47804         (asin_test_upward): Likewise.
47805         (asinh_test): Likewise.
47806         (atan_test): Likewise.
47807         (atanh_test): Likewise.
47808         (atan2_test): Likewise.
47809         (cabs_test): Likewise.
47810         (cacos_test): Likewise.
47811         (cacosh_test): Likewise.
47812         (casin_test): Likewise.
47813         (casinh_test): Likewise.
47814         (catan_test): Likewise.
47815         (catanh_test): Likewise.
47816         (cbrt_test): Likewise.
47817         (ccos_test): Likewise.
47818         (ccosh_test): Likewise.
47819         (cexp_test): Likewise.
47820         (clog_test): Likewise.
47821         (clog10_test): Likewise.
47822         (cos_test): Likewise.
47823         (cos_test_tonearest): Likewise.
47824         (cos_test_towardzero): Likewise.
47825         (cos_test_downward): Likewise.
47826         (cos_test_upward): Likewise.
47827         (cosh_test): Likewise.
47828         (cosh_test_tonearest): Likewise.
47829         (cosh_test_towardzero): Likewise.
47830         (cosh_test_downward): Likewise.
47831         (cosh_test_upward): Likewise.
47832         (cpow_test): Likewise.
47833         (csin_test): Likewise.
47834         (csinh_test): Likewise.
47835         (csqrt_test): Likewise.
47836         (ctan_test): Likewise.
47837         (ctan_test_tonearest): Likewise.
47838         (ctan_test_towardzero): Likewise.
47839         (ctan_test_downward): Likewise.
47840         (ctan_test_upward): Likewise.
47841         (ctanh_test): Likewise.
47842         (ctanh_test_tonearest): Likewise.
47843         (ctanh_test_towardzero): Likewise.
47844         (ctanh_test_downward): Likewise.
47845         (ctanh_test_upward): Likewise.
47846         (erf_test): Likewise.
47847         (erfc_test): Likewise.
47848         (exp_test): Likewise.
47849         (exp_test_tonearest): Likewise.
47850         (exp_test_towardzero): Likewise.
47851         (exp_test_downward): Likewise.
47852         (exp_test_upward): Likewise.
47853         (exp10_test): Likewise.
47854         (exp2_test): Likewise.
47855         (expm1_test): Likewise.
47856         (fmod_test): Likewise.
47857         (gamma_test): Likewise.
47858         (hypot_test): Likewise.
47859         (j0_test): Likewise.
47860         (j1_test): Likewise.
47861         (jn_test): Likewise.
47862         (lgamma_test): Likewise.
47863         (log_test): Likewise.
47864         (log10_test): Likewise.
47865         (log1p_test): Likewise.
47866         (log2_test): Likewise.
47867         (logb_test_downward): Likewise.
47868         (pow_test): Likewise.
47869         (pow_test_tonearest): Likewise.
47870         (pow_test_towardzero): Likewise.
47871         (pow_test_downward): Likewise.
47872         (pow_test_upward): Likewise.
47873         (remainder_test): Likewise.
47874         (remquo_test): Likewise.
47875         (sin_test): Likewise.
47876         (sin_test_tonearest): Likewise.
47877         (sin_test_towardzero): Likewise.
47878         (sin_test_downward): Likewise.
47879         (sin_test_upward): Likewise.
47880         (sincos_test): Likewise.
47881         (sinh_test): Likewise.
47882         (sinh_test_tonearest): Likewise.
47883         (sinh_test_towardzero): Likewise.
47884         (sinh_test_downward): Likewise.
47885         (sinh_test_upward): Likewise.
47886         (sqrt_test): Likewise.
47887         (tan_test): Likewise.
47888         (tan_test_tonearest): Likewise.
47889         (tan_test_towardzero): Likewise.
47890         (tan_test_downward): Likewise.
47891         (tan_test_upward): Likewise.
47892         (tanh_test): Likewise.
47893         (tgamma_test): Likewise.
47894         (y0_test): Likewise.
47895         (y1_test): Likewise.
47896         (yn_test): Likewise.
47898         * math/gen-libm-test.pl (adjust_arg): Remove function.
47899         (special_function): Remove argument $in_func.  Only handle
47900         generating output for tables of tests, not inside functions.
47901         (parse_args): Likewise.
47902         (generate_testfile): Remove variable $in_func.  Update call to
47903         parse_args.
47904         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47905         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47906         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47907         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47908         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47909         (MAX_VALUE_INIT): Rename macro to max_value.
47910         (MIN_VALUE_INIT): Rename macro to min_value.
47911         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47912         (plus_zero): Remove variable.
47913         (minus_zero): Likewise.
47914         (plus_infty): Likewise.
47915         (minus_infty): Likewise.
47916         (qnan_value): Likewise.
47917         (max_value): Likewise.
47918         (min_value): Likewise.
47919         (min_subnorm_value): Likewise.
47921 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47923         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47924         uint64_t or uint32_t usage.
47925         * crypt/sha256-block.c: Likewise.
47926         * crypt/sha256-crypt.c: Likewise.
47927         * crypt/sha256.c: Likewise.
47928         * crypt/sha512-block.c: Likewise.
47929         * crypt/sha512-crypt.c: Likewise.
47930         * crypt/sha512.c: Likewise.
47931         * debug/backtrace-tst.c: Likewise.
47932         * debug/pcprofiledump.c: Likewise.
47933         * elf/cache.c: Likewise.
47934         * elf/dl-cache.c: Likewise.
47935         * elf/dl-misc.c: Likewise.
47936         * elf/dl-profile.c: Likewise.
47937         * elf/dl-support.c: Likewise.
47938         * elf/ldconfig.c: Likewise.
47939         * elf/sprof.c: Likewise.
47940         * iconv/dummy-repertoire.c: Likewise.
47941         * iconv/iconv_charmap.c: Likewise.
47942         * iconv/skeleton.c: Likewise.
47943         * iconvdata/8bit-generic.c: Likewise.
47944         * iconvdata/cp737.h: Likewise.
47945         * iconvdata/cp775.h: Likewise.
47946         * iconvdata/ibm1008.h: Likewise.
47947         * iconvdata/ibm1025.h: Likewise.
47948         * iconvdata/ibm1046.h: Likewise.
47949         * iconvdata/ibm1097.h: Likewise.
47950         * iconvdata/ibm1112.h: Likewise.
47951         * iconvdata/ibm1122.h: Likewise.
47952         * iconvdata/ibm1123.h: Likewise.
47953         * iconvdata/ibm1124.h: Likewise.
47954         * iconvdata/ibm1129.h: Likewise.
47955         * iconvdata/ibm1130.h: Likewise.
47956         * iconvdata/ibm1132.h: Likewise.
47957         * iconvdata/ibm1133.h: Likewise.
47958         * iconvdata/ibm1137.h: Likewise.
47959         * iconvdata/ibm1140.h: Likewise.
47960         * iconvdata/ibm1141.h: Likewise.
47961         * iconvdata/ibm1142.h: Likewise.
47962         * iconvdata/ibm1143.h: Likewise.
47963         * iconvdata/ibm1144.h: Likewise.
47964         * iconvdata/ibm1145.h: Likewise.
47965         * iconvdata/ibm1146.h: Likewise.
47966         * iconvdata/ibm1147.h: Likewise.
47967         * iconvdata/ibm1148.h: Likewise.
47968         * iconvdata/ibm1149.h: Likewise.
47969         * iconvdata/ibm1153.h: Likewise.
47970         * iconvdata/ibm1154.h: Likewise.
47971         * iconvdata/ibm1155.h: Likewise.
47972         * iconvdata/ibm1156.h: Likewise.
47973         * iconvdata/ibm1157.h: Likewise.
47974         * iconvdata/ibm1158.h: Likewise.
47975         * iconvdata/ibm1160.h: Likewise.
47976         * iconvdata/ibm1161.h: Likewise.
47977         * iconvdata/ibm1162.h: Likewise.
47978         * iconvdata/ibm1163.h: Likewise.
47979         * iconvdata/ibm1164.h: Likewise.
47980         * iconvdata/ibm1166.h: Likewise.
47981         * iconvdata/ibm1167.h: Likewise.
47982         * iconvdata/ibm12712.h: Likewise.
47983         * iconvdata/ibm1390.h: Likewise.
47984         * iconvdata/ibm1399.h: Likewise.
47985         * iconvdata/ibm16804.h: Likewise.
47986         * iconvdata/ibm4517.h: Likewise.
47987         * iconvdata/ibm4899.h: Likewise.
47988         * iconvdata/ibm4909.h: Likewise.
47989         * iconvdata/ibm4971.h: Likewise.
47990         * iconvdata/ibm5347.h: Likewise.
47991         * iconvdata/ibm803.h: Likewise.
47992         * iconvdata/ibm856.h: Likewise.
47993         * iconvdata/ibm901.h: Likewise.
47994         * iconvdata/ibm902.h: Likewise.
47995         * iconvdata/ibm9030.h: Likewise.
47996         * iconvdata/ibm9066.h: Likewise.
47997         * iconvdata/ibm921.h: Likewise.
47998         * iconvdata/ibm922.h: Likewise.
47999         * iconvdata/ibm9448.h: Likewise.
48000         * iconvdata/isiri-3342.h: Likewise.
48001         * iconvdata/jis0201.h: Likewise.
48002         * include/link.h: Likewise.
48003         * include/netdb.h: Likewise.
48004         * inet/check_native.c: Likewise.
48005         * inet/check_pf.c: Likewise.
48006         * inet/getipv4sourcefilter.c: Likewise.
48007         * inet/getnameinfo.c: Likewise.
48008         * inet/getsourcefilter.c: Likewise.
48009         * inet/htonl.c: Likewise.
48010         * inet/setipv4sourcefilter.c: Likewise.
48011         * inet/setsourcefilter.c: Likewise.
48012         * inet/test-inet6_opt.c: Likewise.
48013         * inet/tst-network.c: Likewise.
48014         * locale/C-collate.c: Likewise.
48015         * locale/C-ctype.c: Likewise.
48016         * locale/C-time.c: Likewise.
48017         * locale/C-translit.h: Likewise.
48018         * locale/loadarchive.c: Likewise.
48019         * locale/programs/3level.h: Likewise.
48020         * locale/programs/charmap.c: Likewise.
48021         * locale/programs/charmap.h: Likewise.
48022         * locale/programs/ld-address.c: Likewise.
48023         * locale/programs/ld-collate.c: Likewise.
48024         * locale/programs/ld-ctype.c: Likewise.
48025         * locale/programs/ld-identification.c: Likewise.
48026         * locale/programs/ld-measurement.c: Likewise.
48027         * locale/programs/ld-messages.c: Likewise.
48028         * locale/programs/ld-monetary.c: Likewise.
48029         * locale/programs/ld-name.c: Likewise.
48030         * locale/programs/ld-numeric.c: Likewise.
48031         * locale/programs/ld-paper.c: Likewise.
48032         * locale/programs/ld-telephone.c: Likewise.
48033         * locale/programs/ld-time.c: Likewise.
48034         * locale/programs/linereader.c: Likewise.
48035         * locale/programs/locale.c: Likewise.
48036         * locale/programs/locarchive.c: Likewise.
48037         * locale/programs/locfile.h: Likewise.
48038         * locale/programs/repertoire.c: Likewise.
48039         * locale/programs/simple-hash.c: Likewise.
48040         * locale/programs/simple-hash.h: Likewise.
48041         * malloc/memusage.c: Likewise.
48042         * malloc/memusagestat.c: Likewise.
48043         * nis/nis_defaults.c: Likewise.
48044         * nis/nis_hash.c: Likewise.
48045         * nis/nis_print.c: Likewise.
48046         * nis/nis_xdr.c: Likewise.
48047         * nscd/connections.c: Likewise.
48048         * nscd/hstcache.c: Likewise.
48049         * nscd/nscd_gethst_r.c: Likewise.
48050         * nscd/nscd_getserv_r.c: Likewise.
48051         * nscd/nscd_helper.c: Likewise.
48052         * nscd/servicescache.c: Likewise.
48053         * nss/makedb.c: Likewise.
48054         * nss/nss_db/db-XXX.c: Likewise.
48055         * nss/nss_db/db-initgroups.c: Likewise.
48056         * nss/nss_db/db-netgrp.c: Likewise.
48057         * nss/nss_files/files-network.c: Likewise.
48058         * nss/nss_files/files-parse.c: Likewise.
48059         * posix/bug-regex5.c: Likewise.
48060         * posix/fnmatch_loop.c: Likewise.
48061         * posix/regcomp.c: Likewise.
48062         * posix/regexec.c: Likewise.
48063         * posix/tst-rfc3484-2.c: Likewise.
48064         * posix/tst-rfc3484-3.c: Likewise.
48065         * posix/tst-rfc3484.c: Likewise.
48066         * resolv/nss_dns/dns-canon.c: Likewise.
48067         * resolv/nss_dns/dns-network.c: Likewise.
48068         * resolv/res_init.c: Likewise.
48069         * resolv/res_mkquery.c: Likewise.
48070         * resolv/tst-aton.c: Likewise.
48071         * stdlib/cxa_atexit.c: Likewise.
48072         * stdlib/cxa_finalize.c: Likewise.
48073         * stdlib/gen-fpioconst.c: Likewise.
48074         * stdlib/strtol_l.c: Likewise.
48075         * string/tst-endian.c: Likewise.
48076         * sunrpc/auth_des.c: Likewise.
48077         * sunrpc/clnt_udp.c: Likewise.
48078         * sunrpc/rtime.c: Likewise.
48079         * sunrpc/svcauth_des.c: Likewise.
48080         * sunrpc/xdr.c: Likewise.
48081         * sunrpc/xdr_intXX_t.c: Likewise.
48082         * sunrpc/xdr_rec.c: Likewise.
48083         * sysdeps/generic/ldconfig.h: Likewise.
48084         * sysdeps/generic/ldsodefs.h: Likewise.
48085         * sysdeps/generic/memusage.h: Likewise.
48086         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48087         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48088         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48090         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48092         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48094         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48096         * sysdeps/posix/getaddrinfo.c: Likewise.
48097         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48098         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48099         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48100         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48101         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48102         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48103         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48104         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48105         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48106         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48107         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48108         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48109         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48110         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48111         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48112         * sysdeps/x86_64/dl-tls.h: Likewise.
48113         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48114         * time/alt_digit.c: Likewise.
48115         * time/era.c: Likewise.
48116         * wcsmbs/tst-c16c32-1.c: Likewise.
48118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48120         * math/libm-test.inc (struct test_sincos_data): New type.
48121         (RUN_TEST_LOOP_sincos): New macro.
48122         (sincos_test_data): New variable.
48123         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48125 2013-05-16  Richard Henderson  <rth@redhat.com>
48127         * math/atest-exp2.c (LIMB64): New macro.
48128         (CONSTSZ): New macro.
48129         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48130         (hexdig): Move ...
48131         (print_mpn_fp): ... to function scope.
48132         (read_mpn_hex): Remove.
48133         (get_log2): Remove.
48134         (exp2_mpn): Use mp_log2.
48135         (main): Use mp_exp1.
48137 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48139         * math/libm-test.inc: Remove comment about not testing "inexact"
48140         exceptions.
48141         (INEXACT_EXCEPTION): New macro.
48142         (NO_INEXACT_EXCEPTION): Likewise.
48143         (INVALID_EXCEPTION_OK): Update value.
48144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48145         (OVERFLOW_EXCEPTION_OK): Likewise.
48146         (UNDERFLOW_EXCEPTION_OK): Likewise.
48147         (IGNORE_ZERO_INF_SIGN): Likewise.
48148         (ERRNO_UNCHANGED): Likewise.
48149         (ERRNO_EDOM): Likewise.
48150         (ERRNO_ERANGE): Likewise.
48151         (test_exceptions): Handle testing "inexact" exceptions.
48152         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48153         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48154         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48155         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48156         INEXACT_EXCEPTION.
48157         (rint_towardzero_test_data): Likewise.
48158         (rint_downward_test_data): Likewise.
48159         (rint_upward_test_data): Likewise.
48161         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48162         with OVERFLOW_EXCEPTION.
48163         (exp10_test_data): Likewise.
48164         (exp2_test_data): Likewise.
48165         (expm1_test_data): Likewise.
48166         (lgamma_test_data): Likewise.
48167         (pow_test_data): Likewise.
48168         (tgamma_test_data): Likewise.
48169         (yn_test_data): Remove duplicate test of overflow.
48171         * math/libm-test.inc (struct test_cc_c_data): New type.
48172         (RUN_TEST_LOOP_cc_c): New macro.
48173         (cpow_test_data): New variable.
48174         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48176         * math/libm-test.inc (struct test_f_L_data): New type.
48177         (RUN_TEST_LOOP_f_L): New macro.
48178         (llrint_test_data): New variable.
48179         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48180         (llrint_tonearest_test_data): New variable.
48181         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48182         (llrint_towardzero_test_data): New variable.
48183         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48184         (llrint_downward_test_data): New variable.
48185         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48186         (llrint_upward_test_data): New variable.
48187         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48188         (llround_test_data): New variable.
48189         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48191 2013-05-13  Peter Collingbourne  <pcc@google.com>
48193         * math/atest-exp2.c (get_log2): Remove const attribute.
48195 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48197         * math/libm-test.inc (struct test_f_l_data): New type.
48198         (RUN_TEST_LOOP_f_l): New macro.
48199         (lrint_test_data): New variable.
48200         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48201         (lrint_tonearest_test_data): New variable.
48202         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48203         (lrint_towardzero_test_data): New variable.
48204         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48205         (lrint_downward_test_data): New variable.
48206         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48207         (lrint_upward_test_data): New variable.
48208         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48209         (lround_test_data): New variable.
48210         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48212 2013-05-15  Peter Collingbourne  <pcc@google.com>
48214         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48215         (EXTRACT_WORDS64) Use where appropriate.
48216         (INSERT_WORDS64) Likewise.
48218         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48219         constraints with x constraints.
48220         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48222         * malloc/obstack.c (_obstack_compat): Add initializer.
48224 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48226         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48227         si_trapno and add si_addr_lsb to _sifields.sigfault.
48228         (si_trapno): Remove macro.
48229         (si_addr_lsb): Define new macro.
48230         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48232 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48234         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48235         instead of TEST_f_l.
48236         (llrint_test_tonearest): Likewise.
48237         (llrint_test_towardzero): Likewise.
48238         (llrint_test_downward): Likewise.
48239         (llrint_test_upward): Likewise.
48240         (llround_test): Likewise.
48242         * math/libm-test.inc (struct test_f_i_data): Add comment.
48243         (RUN_TEST_LOOP_f_b): New macro.
48244         (RUN_TEST_LOOP_f_b_tg): Likewise.
48245         (finite_test_data): New variable.
48246         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48247         (isfinite_test_data): New variable.
48248         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48249         (isinf_test_data): New variable.
48250         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48251         (isnan_test_data): New variable.
48252         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48253         (isnormal_test_data): New variable.
48254         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48255         (issignaling_test_data): New variable.
48256         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48257         (signbit_test_data): New variable.
48258         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48260         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48261         with INVALID_EXCEPTION.
48262         (acosh_test_data): Likewise.
48263         (asin_test_data): Likewise.
48264         (atanh_test_data): Likewise.
48265         (fmod_test_data): Likewise.
48266         (log_test_data): Likewise.
48267         (log10_test_data): Likewise.
48268         (log2_test_data): Likewise.
48269         (pow_test_data): Likewise.
48270         (sqrt_test_data): Likewise.
48271         (y0_test_data): Likewise.
48272         (y1_test_data): Likewise.
48273         (yn_test_data): Likewise.
48275         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48276         function contents.
48278         * math/libm-test.inc (struct test_ff_i_data): New type.
48279         (RUN_TEST_LOOP_ff_i_tg): New macro.
48280         (isgreater_test_data): New variable.
48281         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48282         (isgreaterequal_test_data): New variable.
48283         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48284         (isless_test_data): New variable.
48285         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48286         (islessequal_test_data): New variable.
48287         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48288         (islessgreater_test_data): New variable.
48289         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48290         (isunordered_test_data): New variable.
48291         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48293 2013-05-14  David S. Miller  <davem@davemloft.net>
48295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48297 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48299         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48301         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48302         extra_test to int.
48303         (struct test_f_i_data): Change type of max_ulp to int.
48305         * math/libm-test.inc (test_ffI_f1_data): New type.
48306         (RUN_TEST_LOOP_ffI_f1): New macro.
48307         (remquo_test_data): New variable.
48308         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48310         * setjmp/tst-setjmp-fp.c: New file.
48311         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48312         (link-libm): New variable.
48313         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48315         * math/libm-test.inc (struct test_f_i_data): New type.
48316         (RUN_TEST_LOOP_f_i): New macro.
48317         (RUN_TEST_LOOP_f_i_tg): Likewise.
48318         (fpclassify_test_data): New variable.
48319         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48320         (ilogb_test_data): New variable.
48321         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48323         * math/libm-test.inc (scalbln_test): Correct function name in END
48324         call.
48326         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48327         (RUN_TEST_LOOP_fI_f1): New macro.
48328         (frexp_test_data): New variable.
48329         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48331         * math/libm-test.inc (struct test_fF_f1_data): New type.
48332         (RUN_TEST_LOOP_fF_f1): New macro.
48333         (modf_test_data): New variable.
48334         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48336         * math/libm-test.inc (struct test_f_f1_data): New type.
48337         (RUN_TEST_LOOP_f_f1): New macro.
48338         (gamma_test_data): New variable.
48339         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48340         (lgamma_test_data): New variable.
48341         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48343 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48346         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48347         (main): Comment "tls" pseudo-hwcap.
48349 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48351         * math/libm-test.inc (struct test_fl_f_data): New type.
48352         (RUN_TEST_LOOP_fl_f): New variable.
48353         (scalbln_test_data): New variable.
48354         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48356         * math/libm-test.inc (struct test_fi_f_data): New type.
48357         (RUN_TEST_LOOP_fi_f): New macro.
48358         (ldexp_test_data): New variable.
48359         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48360         (scalbn_test_data): New variable.
48361         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48363         * math/libm-test.inc (struct test_c_f_data): New type.
48364         (RUN_TEST_LOOP_c_f): New macro.
48365         (cabs_test_data): New variable.
48366         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48367         (carg_test_data): New variable.
48368         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48369         (cimag_test_data): New variable.
48370         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48371         (creal_test_data): New variable.
48372         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48374         * math/libm-test.inc (struct test_if_f_data): New type.
48375         (RUN_TEST_LOOP_if_f): New macro.
48376         (jn_test_data): New variable.
48377         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48378         (yn_test_data): New variable.
48379         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48381         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48383 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48385         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48386         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48388 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48390         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48391         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48392         (bench-deps): Add bench-timing.h.
48393         * benchtests-bench-skeleton.c: Include bench-timing.h.
48394         (main): Use TIMING_* macros instead of clock_gettime.
48395         * benchtests/bench-timing.h: New file.
48397         [BZ #14582]
48398         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48399         Renamed from _LIB_VERSION.
48400         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48402 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48404         * math/libm-test.inc (struct test_fff_f_data): New type.
48405         (RUN_TEST_LOOP_fff_f): New macro.
48406         (fma_test_data): New variable.
48407         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48408         (fma_towardzero_test_data): New variable.
48409         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48410         (fma_downward_test_data): New variable.
48411         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48412         (fma_upward_test_data): New variable.
48413         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48415         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48416         (struct test_c_c_data): New type.
48417         (RUN_TEST_LOOP_c_c): New macro.
48418         (cacos_test_data): New variable.
48419         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48420         (cacosh_test_data): New variable.
48421         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48422         (casin_test_data): New variable.
48423         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48424         (casinh_test_data): New variable.
48425         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48426         (catan_test_data): New variable.
48427         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48428         (catanh_test_data): New variable.
48429         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48430         (ccos_test_data): New variable.
48431         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48432         (ccosh_test_data): New variable.
48433         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48434         (cexp_test_data): New variable.
48435         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48436         (clog_test_data): New variable.
48437         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48438         (clog10_test_data): New variable.
48439         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48440         (conj_test_data): New variable.
48441         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48442         (cproj_test_data): New variable.
48443         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48444         (csin_test_data): New variable.
48445         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48446         (csinh_test_data): New variable.
48447         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48448         (csqrt_test_data): New variable.
48449         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48450         (ctan_test_data): New variable.
48451         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48452         (ctan_tonearest_test_data): New variable.
48453         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48454         (ctan_towardzero_test_data): New variable.
48455         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48456         (ctan_downward_test_data): New variable.
48457         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48458         (ctan_upward_test_data): New variable.
48459         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48460         (ctanh_test_data): New variable.
48461         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48462         (ctanh_tonearest_test_data): New variable.
48463         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48464         (ctanh_towardzero_test_data): New variable.
48465         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48466         (ctanh_downward_test_data): New variable.
48467         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48468         (ctanh_upward_test_data): New variable.
48469         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48470         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48471         of BUILD_COMPLEX.
48473         * math/libm-test.inc (struct test_ff_f_data): New type.
48474         (struct test_ff_f_data_nexttoward): Likewise.
48475         (RUN_TEST_LOOP_2_f): New macro.
48476         (RUN_TEST_LOOP_ff_f): Likewise.
48477         (atan2_test_data): New variable.
48478         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48479         (copysign_test_data): New variable.
48480         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48481         (fdim_test_data): New variable.
48482         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48483         (fmax_test_data): New variable.
48484         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48485         (fmin_test_data): New variable.
48486         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48487         (fmod_test_data): New variable.
48488         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48489         (hypot_test_data): New variable.
48490         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48491         (nextafter_test_data): New variable.
48492         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48493         (nexttoward_test_data): New variable.
48494         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48495         (pow_test_data): New variable.
48496         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48497         (pow_tonearest_test_data): New variable.
48498         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48499         (pow_towardzero_test_data): New variable.
48500         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48501         (pow_downward_test_data): New variable.
48502         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48503         (pow_upward_test_data): New variable.
48504         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48505         (remainder_test_data): New variable.
48506         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48507         (scalb_test_data): New variable.
48508         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48509         * sysdeps/i386/fpu/libm-test-ulps: Update.
48511 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48513         * math/libm-test.inc (fma_test): Use max_value instead of local
48514         variable fltmax.
48515         (nextafter_test): Likewise.
48517         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48518         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48519         (acos_downward_test_data): New variable.
48520         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48521         (acos_upward_test_data): New variable.
48522         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48523         (acosh_test_data): New variable.
48524         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48525         (asin_test_data): New variable.
48526         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48527         (asin_tonearest_test_data): New variable.
48528         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48529         (asin_towardzero_test_data): New variable.
48530         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48531         (asin_downward_test_data): New variable.
48532         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48533         (asin_upward_test_data): New variable.
48534         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48535         (asinh_test_data): New variable.
48536         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48537         (atan_test_data): New variable.
48538         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48539         (atanh_test_data): New variable.
48540         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48541         (cbrt_test_data): New variable.
48542         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48543         (ceil_test_data): New variable.
48544         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48545         (cos_test_data): New variable.
48546         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48547         (cos_tonearest_test_data): New variable.
48548         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48549         (cos_towardzero_test_data): New variable.
48550         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48551         (cos_downward_test_data): New variable.
48552         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48553         (cos_upward_test_data): New variable.
48554         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48555         (cosh_test_data): New variable.
48556         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48557         (cosh_tonearest_test_data): New variable.
48558         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48559         (cosh_towardzero_test_data): New variable.
48560         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48561         (cosh_downward_test_data): New variable.
48562         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48563         (cosh_upward_test_data): New variable.
48564         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48565         (erf_test_data): New variable.
48566         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48567         (erfc_test_data): New variable.
48568         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48569         (exp_test_data): New variable.
48570         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48571         (exp_tonearest_test_data): New variable.
48572         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48573         (exp_towardzero_test_data): New variable.
48574         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48575         (exp_downward_test_data): New variable.
48576         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48577         (exp_upward_test_data): New variable.
48578         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48579         (exp10_test_data): New variable.
48580         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48581         (exp2_test_data): New variable.
48582         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48583         (expm1_test_data): New variable.
48584         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48585         (fabs_test_data): New variable.
48586         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48587         (floor_test_data): New variable.
48588         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48589         (j0_test_data): New variable.
48590         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48591         (j1_test_data): New variable.
48592         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48593         (log_test_data): New variable.
48594         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48595         (log10_test_data): New variable.
48596         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48597         (log1p_test_data): New variable.
48598         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48599         (log2_test_data): New variable.
48600         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48601         (logb_test_data): New variable.
48602         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48603         (logb_downward_test_data): New variable.
48604         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48605         (nearbyint_test_data): New variable.
48606         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48607         (rint_test_data): New variable.
48608         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48609         (rint_tonearest_test_data): New variable.
48610         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48611         (rint_towardzero_test_data): New variable.
48612         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48613         (rint_downward_test_data): New variable.
48614         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48615         (rint_upward_test_data): New variable.
48616         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48617         (round_test_data): New variable.
48618         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48619         (sin_test_data): New variable.
48620         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48621         (sin_tonearest_test_data): New variable.
48622         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48623         (sin_towardzero_test_data): New variable.
48624         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48625         (sin_downward_test_data): New variable.
48626         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48627         (sin_upward_test_data): New variable.
48628         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48629         (sinh_test_data): New variable.
48630         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48631         (sinh_tonearest_test_data): New variable.
48632         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48633         (sinh_towardzero_test_data): New variable.
48634         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48635         (sinh_downward_test_data): New variable.
48636         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48637         (sinh_upward_test_data): New variable.
48638         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48639         (sqrt_test_data): New variable.
48640         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48641         (tan_test_data): New variable.
48642         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48643         (tan_tonearest_test_data): New variable.
48644         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48645         (tan_towardzero_test_data): New variable.
48646         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48647         (tan_downward_test_data): New variable.
48648         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48649         (tan_upward_test_data): New variable.
48650         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48651         (tanh_test_data): New variable.
48652         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48653         (tgamma_test_data): New variable.
48654         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48655         (trunc_test_data): New variable.
48656         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48657         (y0_test_data): New variable.
48658         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48659         (y1_test_data): New variable.
48660         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48661         (significand_test_data): New variable.
48662         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48664 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48666         [BZ #12387]
48667         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48669 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48671         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48673 2013-05-10  Andreas Jaeger  <aj@suse.de>
48675         [BZ #15448]
48676         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48677         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48679 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48681         * math/gen-libm-test.pl (adjust_arg): New function.
48682         (special_functions): Handle generating output in both functions
48683         and arrays.
48684         (parse_args): Likewise.
48685         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48686         $in_func argument to parse_args.
48687         * math/libm-test.inc (struct test_f_f_data): New type.
48688         (IF_ROUND_INIT_): New macro.
48689         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48690         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48691         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48692         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48693         (ROUND_RESTORE_): Likewise.
48694         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48695         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48696         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48697         (ROUND_RESTORE_FE_UPWARD): Likewise.
48698         (RUN_TEST_LOOP_f_f): New macro.
48699         (acos_test_data): New variable.
48700         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48701         (acos_tonearest_test_data): New variable.
48702         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48704 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48706         * benchtests/bench-skeleton.c (startup): Fix coding style.
48708 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48710         [BZ #6809]
48711         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48712         negative infinity argument.
48713         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48714         negative infinity argument.
48715         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48716         negative infinity argument.
48717         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48718         domain errors.
48720 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48722         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48723         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48724         * iconv/iconv_prog.c (main): Likewise.
48725         * locale/programs/charmap-dir.c (charmap_readdir)
48726         (fopen_uncompressed): Likewise.
48727         * locale/programs/locfile.c (siblings_uncached)
48728         (write_locale_data): Use lstat64 instead of lstat.
48729         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48730         stat.
48732 2013-05-10  Andreas Jaeger  <aj@suse.de>
48734         [BZ #15395]
48735         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48736         localization.
48737         Include <locale.h>.
48739 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48741         * elf/dl-close.c (_dl_close_worker): Add comments.
48743 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48745         [BZ #15359]
48746         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48747         high part of pi/2.
48748         (__ieee754_rem_pio2l): Update comments.
48750         [BZ #15429]
48751         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48752         high part of pi/2.
48753         (__ieee754_rem_pio2l): Update comments.
48755         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48756         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48758         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48759         M_PI_4l.
48761         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48762         (M_PI_34_LOG10El): Likewise.
48763         (M_PI2_LOG10El): Likewise.
48764         (M_PI4_LOG10El): Likewise.
48765         (M_PI_LOG10El): Likewise.
48767 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48771 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48773         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48774         (MINUS_ZERO_INIT): Likewise.
48775         (PLUS_INFTY_INIT): Likewise.
48776         (MINUS_INFTY_INIT): Likewise.
48777         (QNAN_VALUE_INIT): Likewise.
48778         (MAX_VALUE_INIT): Likewise.
48779         (MIN_VALUE_INIT): Likewise.
48780         (MIN_SUBNORM_VALUE_INIT): Likewise.
48781         (plus_zero): Initialize with PLUS_ZERO_INIT.
48782         (minus_zero): Initialize with MINUS_ZERO_INIT.
48783         (plus_infty): Initialize with PLUS_INFTY_INIT.
48784         (minus_infty): Initialize with MINUS_INFTY_INIT.
48785         (qnan_value): Initialize with QNAN_VALUE_INIT.
48786         (max_value): Initialize with MAX_VALUE_INIT.
48787         (min_value): Initialize with MIN_VALUE_INIT.
48788         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48790         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48791         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48792         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48793         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48795         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48796         (RUN_TEST_2_f): Likewise.
48797         (RUN_TEST_ff_f): Likewise.
48798         (RUN_TEST_fi_f): Likewise.
48799         (RUN_TEST_fl_f): Likewise.
48800         (RUN_TEST_fff_f): Likewise.
48801         (RUN_TEST_c_f): Likewise.
48802         (RUN_TEST_f_f1): Likewise.
48803         (RUN_TEST_fF_f1): Likewise.
48804         (RUN_TEST_fI_f1): Likewise.
48805         (RUN_TEST_ffI_f1): Likewise.
48806         (RUN_TEST_c_c): Likewise.
48807         (RUN_TEST_cc_c): Likewise.
48808         (RUN_TEST_f_i): Likewise.
48809         (RUN_TEST_f_i_tg): Likewise.
48810         (RUN_TEST_ff_i_tg): Likewise.
48811         (RUN_TEST_f_b): Likewise.
48812         (RUN_TEST_f_b_tg): Likewise.
48813         (RUN_TEST_f_l): Likewise.
48814         (RUN_TEST_f_L): Likewise.
48815         (RUN_TEST_sincos): Likewise.
48816         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48817         whether to show exceptions.  Do not include ");\n" in return
48818         value.
48819         (special_functions): Output call to RUN_TEST_sincos instead of
48820         check_float calls.  Update calls to new_test.
48821         (parse_args): Output call to single RUN_TEST_* macro instead of
48822         check_* calls and other assignments.  Update calls to new_test.
48824         [BZ #2546]
48825         [BZ #2560]
48826         [BZ #5159]
48827         [BZ #15426]
48828         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48829         input to result for tgamma overflow.
48830         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48831         (gamma_coeff): New variable.
48832         (NCOEFF): New macro.
48833         (gamma_positive): New function.
48834         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48835         underflow here.  Use gamma_positive instead of exp (lgamma) for
48836         other arguments.
48837         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48838         (gamma_coeff): New variable.
48839         (NCOEFF): New macro.
48840         (gammaf_positive): New function.
48841         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48842         underflow here.  Use gamma_positive instead of exp (lgamma) for
48843         other arguments.
48844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48845         (gamma_coeff): New variable.
48846         (NCOEFF): New macro.
48847         (gammal_positive): New function.
48848         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48849         underflow here.  Use gamma_positive instead of exp (lgamma) for
48850         other arguments.
48851         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48852         (gamma_coeff): New variable.
48853         (NCOEFF): New macro.
48854         (gammal_positive): New function.
48855         (__ieee754_gammal_r): Handle positive infinity, overflow and
48856         underflow here.  Handle NaN the same as positive infinity.  Remove
48857         check x < 0xffffffff for negative integers.  Use gamma_positive
48858         instead of exp (lgamma) for other arguments.
48859         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48860         (gamma_coeff): New variable.
48861         (NCOEFF): New macro.
48862         (gammal_positive): New function.
48863         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48864         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48865         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48866         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48867         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48868         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48869         * sysdeps/generic/math_private.h (__gamma_productf): New
48870         prototype.
48871         (__gamma_product): Likewise.
48872         (__gamma_productl): Likewise.
48873         * math/Makefile (libm-calls): Add gamma_product.
48874         * math/libm-test.inc (tgamma_test): Add more tests.
48875         * sysdeps/i386/fpu/libm-test-ulps: Update.
48876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48878 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48880         * benchtests/bench-skeleton.c (main): Preheat CPU.
48882 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48884         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48886 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48888         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48889         and _dl_skip_args_internal.
48891 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48893         * manual/message.texi (Message Translation): Talk about users.
48894         Message to key mapping impacts design.
48896 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48898         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48900         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48902         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48903         * sysdeps/wordsize-64/glob64.c: ... here.
48905         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48906         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48907         New macros.
48909         * debug/getlogin_r_chk.c: Moved to ...
48910         * login/getlogin_r_chk.c: ... here.
48911         * debug/Makefile (routines): Move getlogin_r_chk to ...
48912         * login/Makefile (routines): ... here.
48913         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48914         * login/Versions (libc: GLIBC_2.4): ... here.
48916         * io/poll.c (__poll): Renamed from poll.
48917         Add libc_hidden_def.
48918         (poll): Define as weak alias.
48920         * debug/ptsname_r_chk.c: Moved to ...
48921         * login/ptsname_r_chk.c: ... here.
48922         * debug/Makefile (routines): Move ptsname_r_chk to ...
48923         * login/Makefile (routines): ... here.
48924         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48925         * login/Versions (libc: GLIBC_2.4): ... here.
48927         * posix/getlogin.c: Moved to ...
48928         * login/getlogin.c: ... here.
48929         * posix/getlogin_r.c: Moved to ...
48930         * login/getlogin_r.c: ... here.
48931         * posix/getlogin_r.c: Moved to ...
48932         * login/getlogin_r.c: ... here.
48933         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48934         * login/Makefile (routines): ... here.
48935         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48936         * login/Versions (libc: GLIBC_2.0): ... here.
48938         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48939         (setrlimit): Define as weak alias.
48941         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48942         Call __ names for open, ftruncate, and close.
48943         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48944         (truncate): Define as weak alias.
48946 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48948         * math/gen-libm-test.pl (parse_args): Initialize x before each
48949         test of frexp, modf and remquo.
48951         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48952         test signgam value.
48954 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48956         [BZ #15418]
48957         [BZ #15419]
48958         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48959         internal tests.
48960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48962 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48964         * elf/dl-writev.h: New file.
48965         * elf/dl-misc.c: Include it.
48966         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48967         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48969 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48971         * math/libm-test.inc (noXFails): Remove variable.
48972         (noXPasses): Likewise.
48973         (BUILD_COMPLEX_INT): Remove macro.
48974         (print_screen): Remove xfail argument.
48975         (print_screen_max_error): Likewise.
48976         (update_stats): Likewise.
48977         (print_max_error): Likewise.  Update calls to other affected
48978         functions.
48979         (print_complex_max_error): Likewise.
48980         (test_single_exception): Update calls to print_screen.
48981         (test_single_errno): Likewise.
48982         (check_float_internal): Remove xfail argument.  Update calls to
48983         other affected functions.
48984         (check_float): Likewise.
48985         (check_complex): Likewise.
48986         (check_int): Likewise.
48987         (check_long): Likewise.
48988         (check_bool): Likewise.
48989         (check_longlong): Likewise.
48990         (main): Don't print noXFails and noXPasses.
48991         * math/gen-libm-test.pl (top level): Don't mention expected
48992         failure handling in comment.
48993         (new_test): Don't handle expected failures.
48994         (parse_args): Don't mention expected failure handling in comment.
48995         (generate_testfile): Don't handle expected failures.
48996         (parse_ulps): Likewise.
48997         (print_ulps_file): Likewise.
48998         (get_failure): Remove function.
48999         (output_test): Don't handle expected failures.
49000         * make/README.libm-test: Don't mention expected failure handling.
49002         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49003         (minus_zero): Likewise.
49004         (plus_infty): Likewise.
49005         (minus_infty): Likewise.
49006         (qnan_value): Likewise.
49007         (max_value): Likewise.
49008         (min_value): Likewise.
49009         (min_subnorm_value): Likewise.
49010         (initialize): Do not initialize those variables dynamically.
49012 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49014         * io/open.c (__open_2): Moved to ...
49015         * io/open_2.c: ... this new file.
49016         * io/open64.c (__open64_2): Moved to ...
49017         * io/open64_2.c: ... this new file.
49018         * io/openat.c (__openat_2): Moved to ...
49019         * io/openat_2.c: ... this new file.
49020         * io/openat64.c (__openat64_2): Moved to ...
49021         * io/openat64_2.c: ... this new file.
49022         * io/Makefile (routines): Add them.
49023         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49024         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49025         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49026         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49027         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49028         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49029         (__openat64): Add hidden_ver.
49030         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49031         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49033         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49034         Separately conditionalize setting of GLRO(dl_sysinfo) so
49035         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49036         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49038 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49040         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49041         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49042         definition.
49043         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49044         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49045         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49046         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49047         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49049 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49051         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49052         test signgam value.
49054         * math/libm-test.inc (hypot_test): Do not use
49055         IGNORE_ZERO_INF_SIGN.
49057 2013-05-03  Andreas Jaeger  <aj@suse.de>
49059         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49060         Linux 3.9.
49061         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49062         (PF_MAX): Adjust for VSOCK change.
49064 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49068 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49070         [BZ #15264]
49071         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49072         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49073         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49075 2013-05-02  David S. Miller  <davem@davemloft.net>
49077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49079 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49081         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49083 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49085         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49087 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49089         [BZ #14952]
49090         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49091         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49092         Use __attribute__ ((__gnu_inline__)).
49093         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49094         Don't use __attribute__ ((__gnu_inline__)).
49096 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49098         [BZ #15423]
49099         * math/s_catan.c (__catan): Handle small real or imaginary part of
49100         input specially to avoid spurious underflow.
49101         * math/s_catanf.c (__catanf): Likewise.
49102         * math/s_catanh.c (__catanh): Likewise.
49103         * math/s_catanhf.c (__catanhf): Likewise.
49104         * math/s_catanhl.c (__catanhl): Likewise.
49105         * math/s_catanl.c (__catanl): Likewise.
49106         * math/libm-test.inc (catan_test): Add more tests.
49107         (catanh_test): Likewise.
49108         * sysdeps/i386/fpu/libm-test-ulps: Update.
49109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49111 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49115 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49117         [BZ #15416]
49118         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49119         accurately for denominator in atan2.
49120         * math/s_catanf.c (__catanf): Likewise.
49121         * math/s_catanh.c (__catanh): Likewise.
49122         * math/s_catanhf.c (__catanhf): Likewise.
49123         * math/s_catanhl.c (__catanhl): Likewise.
49124         * math/s_catanl.c (__catanl): Likewise.
49125         * math/libm-test.inc (catan_test): Add more tests.
49126         (catanh_test): Likewise.
49127         * sysdeps/i386/fpu/libm-test-ulps: Update.
49128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49130 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49132         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49134         * benchtests/Makefile (bench): Remove slow benchmarks.
49135         * benchtests/atan-inputs: Add slow benchmark inputs.
49136         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49137         (BENCH_FUNC): Accept variant offset.
49138         (VARIANT): Define.
49139         * benchtests/bench-skeleton.c (main): Run benchmark for each
49140         variant.
49141         * benchtests/cos-inputs: Add slow benchmark inputs.
49142         * benchtests/exp-inputs: Likewise.
49143         * benchtests/pow-inputs: Likewise.
49144         * benchtests/sin-inputs: Likewise.
49145         * benchtests/slowatan-inputs: Remove.
49146         * benchtests/slowatan.c: Remove.
49147         * benchtests/slowcos-inputs: Remove.
49148         * benchtests/slowcos.c: Remove.
49149         * benchtests/slowexp-inputs: Remove.
49150         * benchtests/slowexp.c: Remove.
49151         * benchtests/slowpow-inputs: Remove.
49152         * benchtests/slowpow.c: Remove.
49153         * benchtests/slowsin-inputs: Remove.
49154         * benchtests/slowsin.c: Remove.
49155         * benchtests/slowtan-inputs: Remove.
49156         * benchtests/slowtan.c: Remove.
49157         * benchtests/tan-inputs: Add slow benchmark inputs.
49158         * scripts/bench.pl: Parse comments and directives.
49160         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49161         in CPPFLAGS.
49162         ($(objpfx)bench-%.c): Remove *-ITER.
49163         * benchtests/bench-modf.c: Remove definition of ITER.
49164         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49165         (main): Loop for DURATION seconds instead of fixed number of
49166         iterations.
49167         * scripts/bench.pl: Don't expect iterations in parameters.
49169 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49171         * io/fchdir.c (__fchdir): Renamed from fchdir.
49172         (fchdir): Define as weak alias.
49174 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49176         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49177         (ERRNO_EDOM): Likewise.
49178         (ERRNO_ERANGE): Likewise.
49179         (noErrnoTests): New variable.
49180         (init_max_error): Set errno to 0.
49181         (test_single_errno): New function.
49182         (test_errno): Likewise.
49183         (check_float_internal): Call test_errno.  Set errno to 0.
49184         (check_complex): Refer to errno tests in comment.
49185         (check_int): Call test_errno.  Set errno to 0.
49186         (check_long): Likewise.
49187         (check_bool): Likewise.
49188         (check_longlong): Likewise.
49189         (cos_test): Use ERRNO_* flags for errno tests instead of
49190         check_int.
49191         (expm1_test): Likewise.
49192         (fmod_test): Likewise.
49193         (ilogb_test): Likewise.
49194         (lgamma_test): Likewise.
49195         (pow_test): Likewise.
49196         (remainder_test): Likewise.
49197         (sin_test): Likewise.
49198         (tan_test): Likewise.
49199         (yn_test): Likewise.
49200         (initialize): Set errno to 0.
49201         (main): Print number of errno tests.
49202         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49204 2013-04-29  Andreas Jaeger  <aj@suse.de>
49206         [BZ #15084]
49207         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49208         and RES_USEVC.
49210         [BZ #15085]
49211         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49212         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49213         unimplemented.
49215         [BZ #15380]
49216         * stdlib/random.c (__initstate): Return NULL if
49217         __initstate fails.
49219         [BZ #15086]
49220         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49221         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49222         RES_SNGLKUPREOP.
49224 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49228 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49230         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49231         of individual tests.
49232         (casin_test): Likewise.
49233         (casinh_test): Likewise.
49235 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49237         [BZ #15409]
49238         * math/s_catan.c (__catan): Handle arguments with large real or
49239         imaginary part separately without squaring.
49240         * math/s_catanf.c (__catanf): Likewise.
49241         * math/s_catanh.c (__catanh): Likewise.
49242         * math/s_catanhf.c (__catanhf): Likewise.
49243         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49244         and redefine.
49245         (__catanhl): Handle arguments with large real or imaginary part
49246         separately without squaring.
49247         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49248         and redefine.
49249         (__catanl): Handle arguments with large real or imaginary part
49250         separately without squaring.
49251         * math/libm-test.inc (catan_test): Add more tests.
49252         (catanh_test): Likewise.
49253         * sysdeps/i386/fpu/libm-test-ulps: Update.
49254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49256 2013-04-27  Andreas Jaeger  <aj@suse.de>
49258         [BZ #15007]
49259         * stdlib/stdlib.h: Update guards for qecvt.
49260         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49261         <stdlib.h>.
49263 2013-04-27  Allan McRae  <allan@archlinux.org>
49265         * sysdeps/i386/fpu/libm-test-ulps: Update.
49267 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49269         [BZ #15406]
49270         * math/s_catan.c: Include <float.h>.
49271         (__catan): Ensure underflow exception occurs for underflowed
49272         result.
49273         * math/s_catanf.c: Include <float.h>.
49274         (__catanf): Ensure underflow exception occurs for underflowed
49275         result.
49276         * math/s_catanh.c: Include <float.h>.
49277         (__catanh): Ensure underflow exception occurs for underflowed
49278         result.
49279         * math/s_catanhf.c: Include <float.h>.
49280         (__catanhf): Ensure underflow exception occurs for underflowed
49281         result.
49282         * math/s_catanhl.c: Include <float.h>.
49283         (__catanhl): Ensure underflow exception occurs for underflowed
49284         result.
49285         * math/s_catanl.c: Include <float.h>.
49286         (__catanl): Ensure underflow exception occurs for underflowed
49287         result.
49288         * math/libm-test.inc (catan_test): Add more tests.
49289         (catanh_test): Likewise.
49291         [BZ #15405]
49292         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49293         underflowed result.
49294         * math/s_ccoshf.c (__ccoshf): Likewise.
49295         * math/s_ccoshl.c (__ccoshl): Likewise.
49296         * math/s_csin.c (__csin): Likewise.
49297         * math/s_csinf.c (__csinf): Likewise.
49298         * math/s_csinh.c (__csinh): Likewise.
49299         * math/s_csinhf.c (__csinhf): Likewise.
49300         * math/s_csinhl.c (__csinhl): Likewise.
49301         * math/s_csinl.c (__csinl): Likewise.
49302         * math/libm-test.inc (ccos_test): Add more tests.
49303         (ccosh_test): Likewise.
49304         (csin_test): Likewise.
49305         (csinh_test): Likewise.
49307 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49309         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49310         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49311         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49312         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49313         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49314         powerpc/power5+/fpu folders.
49315         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49318 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49322 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49324         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49325         additions to variable.
49326         [$(config-machine) = x86_64] (modules-names): Likewise.
49327         ($(objpfx)tst-audit3): Remove dependency.
49328         ($(objpfx)tst-audit3.out): Likewise.
49329         ($(objpfx)tst-audit4): Likewise.
49330         ($(objpfx)tst-audit4.out): Likewise.
49331         ($(objpfx)tst-audit5): Likewise.
49332         ($(objpfx)tst-audit5.out): Likewise.
49333         ($(objpfx)tst-audit6): Likewise.
49334         ($(objpfx)tst-audit6.out): Likewise.
49335         ($(objpfx)tst-audit7): Likewise.
49336         ($(objpfx)tst-audit7.out): Likewise.
49337         (tst-audit3-ENV): Remove variable.
49338         (tst-audit4-ENV): Likewise.
49339         (tst-audit5-ENV): Likewise.
49340         (tst-audit6-ENV): Likewise.
49341         (tst-audit7-ENV): Likewise.
49342         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49343         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49344         addition to variable.
49345         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49346         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49347         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49348         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49350         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49351         tst-audit3, tst-audit4 and tst-audit5.
49352         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49353         tst-audit6 and tst-audit7.
49354         [$(subdir) = elf] (modules-names): Add audit modules for those
49355         tests.
49356         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49357         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49358         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49359         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49360         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49361         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49362         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49363         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49364         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49365         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49366         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49367         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49368         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49369         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49370         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49371         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49372         Likewise.
49373         [$(subdir) = elf && $(config-cflags-avx) = yes]
49374         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49375         [$(subdir) = elf && $(config-cflags-avx) = yes]
49376         (CFLAGS-tst-auditmod4a.c): Likewise.
49377         [$(subdir) = elf && $(config-cflags-avx) = yes]
49378         (CFLAGS-tst-auditmod4b.c): Likewise.
49379         [$(subdir) = elf && $(config-cflags-avx) = yes]
49380         (CFLAGS-tst-auditmod6b.c): Likewise.
49381         [$(subdir) = elf && $(config-cflags-avx) = yes]
49382         (CFLAGS-tst-auditmod6c.c): Likewise.
49383         [$(subdir) = elf && $(config-cflags-avx) = yes]
49384         (CFLAGS-tst-auditmod7b.c): Likewise.
49385         * elf/tst-audit3.c: Move to ...
49386         * sysdeps/x86_64/tst-audit3.c: ... here.
49387         * elf/tst-audit4.c: Move to ...
49388         * sysdeps/x86_64/tst-audit4.c: ... here.
49389         * elf/tst-audit5.c: Move to ...
49390         * sysdeps/x86_64/tst-audit5.c: ... here.
49391         * elf/tst-audit6.c: Move to ...
49392         * sysdeps/x86_64/tst-audit6.c: ... here.
49393         * elf/tst-audit7.c: Move to ...
49394         * sysdeps/x86_64/tst-audit7.c: ... here.
49395         * elf/tst-auditmod3a.c: Move to ...
49396         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49397         * elf/tst-auditmod3b.c: Move to ...
49398         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49399         * elf/tst-auditmod4a.c: Move to ...
49400         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49401         * elf/tst-auditmod4b.c: Move to ...
49402         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49403         * elf/tst-auditmod5a.c: Move to ...
49404         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49405         * elf/tst-auditmod5b.c: Move to ...
49406         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49407         * elf/tst-auditmod6a.c: Move to ...
49408         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49409         * elf/tst-auditmod6b.c: Move to ...
49410         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49411         * elf/tst-auditmod6c.c: Move to ...
49412         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49413         * elf/tst-auditmod7a.c: Move to ...
49414         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49415         * elf/tst-auditmod7b.c: Move to ...
49416         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49418 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49420         [BZ #15366]
49421         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49422         define unconditionally.
49423         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49424         define unconditionally.
49425         (INT8_C, INT16_C, etc.): Likewise.
49427 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49429         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49430         __ehdr_start with hidden visibility.
49432         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49434 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49436         * math/libm-test.inc (cos_test): Use accurate hex constants.
49437         (sincost_test): Likewise.
49439 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49441         * math/libm-test.inc (catan_test): Add more tests.
49442         (catanh_test): Likewise.
49444         * math/s_catanf.c (__catanf): Use suffixed floating-point
49445         constants.
49446         * math/s_catanhf.c (__catanhf): Likewise.
49447         * math/s_catanhl.c (__catanhl): Likewise.
49448         * math/s_catanl.c (__catanl): Likewise.
49450         [BZ #15394]
49451         * math/s_catan.c (__catan): Calculate imaginary part of result
49452         with log1p not log unless computing log of number close to 0.
49453         * math/s_catanf.c (__catanf): Likewise.
49454         * math/s_catanl.c (__catanl): Likewise.
49455         * math/s_catanh.c (__catanh): Calculate real part of result with
49456         log1p not log unless computing log of number close to 0.
49457         * math/s_catanhf.c (__catanhf): Likewise.
49458         * math/s_catanhl.c (__catanhl): Likewise.
49459         * math/libm-test.inc (catan_test): Add more tests.
49460         (catanh_test): Likewise.
49461         * sysdeps/i386/fpu/libm-test-ulps: Update.
49462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49464 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49466         * benchtests/Makefile: Mention files in which fast and slow
49467         paths of math functions are implemented.
49469 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49471         * sysdeps/posix/timespec_get.c: New file.
49473 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49475         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49476         POWER.
49477         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49478         for POWER.
49479         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49480         powerpc/power5/fpu folders.
49481         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49482         * benchtests/Makefile: Add modf testcase.
49483         * benchtests/bench-modf.c: New file: Benchmark test for mo
49485 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49487         [BZ #14888]
49488         * time/Makefile (tests): Add tst-strptime-whitespace.
49489         * time/strptime_l.c (get_number): Use ISSPACE.
49490         (__strptime_internal): Likewise.
49491         * time/tst-strptime-whitespace.c: New test case.
49493 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49495         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49496         member.
49497         (_nss_files_init): Set it here.
49499 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49501         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49502         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49503         unsigned.
49505 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49507         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49509 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49512         size just once.
49514 2013-04-21  David S. Miller  <davem@davemloft.net>
49516         * po/ru.po: Update Russion translation from translation project.
49518 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49520         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49521         and setfsgid.
49523 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49525         * configure.in: Remove i386 configure warning. Remove i386 case.
49526         * configure: Regenerate.
49527         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49528         Add example to error message.
49529         * sysdeps/i386/configure: Regenerate.
49531 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49533         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49534         slowtan.
49535         * benchtests/cos-inputs: New file.
49536         * benchtests/slowcos-inputs: New file.
49537         * benchtests/slowcos.c: New file.
49538         * benchtests/slowtan-inputs: New file.
49539         * benchtests/slowtan.c: New file.
49540         * benchtests/tan-inputs: New file.
49542 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49544         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49545         considered kosher.
49547 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49549         * benchtests/Makefile: Include cppflags-iterator.mk to add
49550         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49552         * Makefile.in (bench-clean): New target.
49553         * benchtests/Makefile (bench-clean): Likewise.
49555 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49557         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49559 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49561         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49563 2013-04-15  Andreas Schwab  <schwab@suse.de>
49565         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49567         * nscd/pwdcache.c (cache_addpw): Likewise.
49568         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49569         more than recsize.
49571 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49573         * benchtests/Makefile (bench): Write all output to
49574         bench-out.tmp together.
49576 2013-04-15  Andreas Schwab  <schwab@suse.de>
49578         * nscd/nscd.c (main): Don't fork again after closing files.
49580 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49582         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49584         * benchtests/Rules (bench-deps): Collect dependencies into a
49585         single variable.  Add Makefile to dependencies.
49586         ($(objpfx)bench-%.c): Depend on bench-deps.
49588 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49589             Xavier Roche  <roche+kml2@exalead.com>
49591         [BZ #15361]
49592         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49593         just that it's a file descriptor.
49594         * manual/llio.texi (Synchronizing AIO Operations): Update description
49595         for EBADF error from aio_fsync.
49597 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49599         * Rules (bench): Move target definition...
49600         * benchtests/Makefile: ... here.
49602 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49604         * math/libm-test.inc (cos_test): Fix PI/2 test.
49605         (sincos_test): Likewise.
49606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49607         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49609 2013-04-11  Andreas Schwab  <schwab@suse.de>
49611         [BZ #13988]
49612         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49613         accept exponent character only when digits were seen.
49614         * stdio-common/Makefile (tests): Add bug26.
49615         * stdio-common/bug26.c: New file.
49617         [BZ #14293]
49618         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49619         non-freeable.
49621 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49623         * Makeconfig (rtld-prefix): Define built linker prefix.
49624         * Rules (run-bench): Use it.
49625         * math/Makefile (run-regen-ulps): Likewise.
49627         * Rules (bench): Remove eval.
49629 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49630             Roland McGrath  <roland@hack.frob.com>
49631             Ondrej Bilka  <neleai@seznam.cz>
49633         [BZ #15346]
49634         * time/getdate.c: Include ctype.h and alloca.h.
49635         (__getdate_r): Trim leading and trailing spaces of input.
49636         * time/tst-getdate.c (tests): Add tests with leading and
49637         trailing spaces.
49639 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49641         [BZ #14280]
49642         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49643         when computing value.
49645 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49647         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49648         Use testrun.sh to run libm tests.
49650         [BZ #15309]
49651         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49653 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49655         [BZ #15264]
49656         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49658 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49660         * Makefile.in (regen-ulps): New target.
49661         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49662         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49663         [ifneq (no,$(PERL)] (regen-ulps): New target.
49664         [ifeq (no,$(PERL)] (regen-ulps): New target.
49665         * math/libm-test.inc (ulps_file_name): Define.
49666         (output_dir): New variable.
49667         (options): Add "output-dir" option.
49668         (parse_opt): Handle 'o' case.
49669         (main): If output_dir is non-NULL use it as a prefix
49670         otherwise use "".
49671         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49673 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49675         [BZ #10060, #10062]
49676         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49677         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49678         fail configure if __sync_val_compare_and_swap is not inlined.
49679         * sysdeps/i386/configure: Regenerate.
49680         * configure.in: Build for i686 when configured for i386.
49681         * configure: Regenerate.
49682         * README: Remove i386 reference.
49684 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49686         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49687         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49689 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49691         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49692         (lmsnanval): New variables.
49693         (F): Add conversion tests.
49694         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49695         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49697         * stdio-common/tstdiomisc.c (F): Properly collect individual
49698         tests' results.
49700         [BZ #14686, #15336]
49701         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49702         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49703         Instead, use input NaN values or generate a qNaN by arithmetic
49704         operation.  Also fix bugs to comply with the standard.
49705         * math/libm-test.inc (remainder_test): Add more tests.
49707         [BZ #15335, #15342]
49708         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49710         input NaN values or generate a qNaN by arithmetic operation.
49712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49713         unreachable code.
49715         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49716         definitions.
49718 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49720         [BZ #14478]
49721         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49722         underflowed result.
49723         * math/s_cexpf.c (__cexpf): Likewise.
49724         * math/s_cexpl.c (__cexpl): Likewise.
49725         * math/libm-test.inc (cexp_test): Add more tests.
49727 2013-04-03  Andreas Schwab  <schwab@suse.de>
49729         [BZ #15330]
49730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49731         order arrays from heap if bigger than alloca cutoff.
49733 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49735         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49736         (SNAN_TESTS_double): Refer to GCC PR56831.
49737         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49738         GCC PR56828.
49740 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49742         * Rules (bench): Move bench.out after the run is complete.
49744         * Rules (bench): Echo currently running benchmark.
49746         * benchtests/Makefile (bench): Add atan and slowatan.
49747         * benchtests/atan-inputs: New file.
49748         * benchtests/slowatan-inputs: New file.
49749         * benchtests/slowatan.c: New file.
49751         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49753         its value.
49755         [BZ #15305]
49756         * sysdeps/unix/sysv/linux/kernel-features.h
49757         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49758         __ASSUME_XFS_RESTRICTED_CHOWN.
49759         * sysdeps/unix/sysv/linux/pathconf.c
49760         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49761         Save and restore errno.
49763 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49765         [BZ #15327]
49766         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49767         arguments using __kernel_casinh.
49768         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49769         arguments using __kernel_casinhf.
49770         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49771         arguments using __kernel_casinhl.
49772         * math/libm-test.inc (cacosh_test): Add more tests.
49773         * sysdeps/i386/fpu/libm-test-ulps: Update.
49774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49776 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49781         * bench/Makefile (bench): Add sin and slowsin.
49782         * benchtests/sin-inputs: New file.
49783         * benchtests/slowsin-inputs: New file.
49784         * benchtests/slowsin.c: New file.
49786         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49787         (bench): Add slowexp and slowpow.
49788         (exp-ITER): Increase iterations.
49789         (pow-ITER): Likewise.
49790         * benchtests/exp-inputs: Change input.
49791         * benchtests/pow-inputs: Likewise.
49792         * benchtests/slowexp-inputs: New file.
49793         * benchtests/slowexp.c: New file.
49794         * benchtests/slowpow-inputs: New file.
49795         * benchtests/slowpow.c: New file.
49797 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49799         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49800         instructions.
49801         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49802         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49803         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49804         * benchtests/Makefile: Add rint benchtest.
49805         * benchtests/rint-inputs: Input for rint benchtest.
49807 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49809         * Versions.def (libm): Add GLIBC_2.18.
49810         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49811         hidden libm prototypes.
49812         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49813         * math/Makefile (libm-calls): Add s_issignaling.
49814         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49815         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49816         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49817         declaration.
49818         * math/math.h [__USE_GNU] (issignaling): New macro.
49819         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49820         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49821         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49822         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49823         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49824         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49825         * manual/arith.texi (issignaling): New section.
49826         * manual/libm-err-tab.pl (@all_functions): Update comment.
49827         * math/gen-libm-test.pl (parse_args): Apply special handling for
49828         issignaling.
49829         * math/libm-test.inc (print_float, issignaling_test): New
49830         functions.
49831         (check_float_internal): Add issignaling checks.
49832         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49833         default definition.
49834         * sysdeps/powerpc/math-tests.h: New file.
49835         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49836         tests.
49837         * math/test-snan.c (TEST_FUNC): Likewise.
49839 2013-03-30  David S. Miller  <davem@davemloft.net>
49841         * po/de.po: Update from translation team.
49843 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49845         [BZ #10357]
49846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49847         imaginary part less than 1.0 and real part less than 0.5
49848         specially.
49849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49851         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49852         (cacos_test): Add more tests.
49853         (casin_test): Likewise.
49854         (casinh_test): Likewise.
49855         * sysdeps/i386/fpu/libm-test-ulps: Update.
49856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49858 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49860         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49861         ONE with its value.
49863         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49864         (__pow_mp): Replace ONE and MONE with their values.
49865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49868         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49869         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49872         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49874         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49875         (__pow_mp): Replace ZERO and MZERO with their values.
49876         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49878         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49880         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49881         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49882         (__sqr): Likewise.
49884         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49886         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49888 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49890         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49891         Declare with __attribute__ ((weak)).
49892         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49893         Call __call_tls_dtors only if it's not NULL.
49895 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49897         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49898         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49899         magic __ehdr_start linker symbol if it's defined.
49900         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49901         them up here if it was already done.
49903         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49904         (_dl_aux_init): Use const in cast when setting it.
49905         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49906         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49907         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49909         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49910         Declare them here.
49911         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49912         * csu/libc-tls.c: Nor here.
49913         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49915         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49916         (__libc_message): Never call vsyslog.
49918 2013-03-28  Alan Modra  <amodra@gmail.com>
49920         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49921         Define as empty.
49922         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49923         Likewise.
49925 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49927         [BZ #15214]
49928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49929         underflow.
49930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49932 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49934         [BZ #15304]
49935         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49936         Don't add gid passed as argument.
49938         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49940 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49942         [BZ #15307]
49943         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49944         imaginary part between 1.0 and 1.5 and real part less than 0.5
49945         specially.
49946         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49947         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49948         * math/libm-test.inc (cacos_test): Add more tests.
49949         (casin_test): Likewise.
49950         (casinh_test): Likewise.
49951         * sysdeps/i386/fpu/libm-test-ulps: Update.
49952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49954 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49956         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49957         constants.
49958         (norm): Likewise.
49959         (denorm): Likewise.
49960         (__dbl_mp): Likewise.
49961         (add_magnitudes): Likewise.
49962         (sub_magnitudes): Likewise.
49963         (__add): Likewise.
49964         (__sub): Likewise.
49965         (__mul): Likewise.
49966         (__sqr): Likewise.
49967         (__inv): Likewise.
49968         (__dvd): Likewise.
49970         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49971         commented code.
49972         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49973         (__dubcos): Likewise.
49974         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49975         (__ieee754_acos): Likewise.
49976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49977         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49978         (__exp1): Likewise.
49979         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49981         (log1): Likewise.
49982         (my_log2): Likewise.
49983         (checkint): Likewise.
49984         * sysdeps/ieee754/dbl-64/e_remainder.c
49985         (__ieee754_remainder): Likewise.
49986         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49988         (bsloww): Likewise.
49989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49991         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49993         MANTISSA_STORE_T to store computations on mantissa.  Use
49994         macros for rounding and division.
49995         (denorm): Likewise.
49996         (__dbl_mp): Likewise.
49997         (add_magnitudes): Likewise.
49998         (sub_magnitudes): Likewise.
49999         (__mul): Likewise.
50000         (__sqr): Likewise.
50001         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50002         powers of two in terms of TWOPOW macro.
50003         (mp_no): Make type of mantissa as MANTISSA_T.
50004         [!RADIXI]: Define RADIXI.
50005         [!TWO52]: Define TWO52.
50006         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50008 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50010         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50011         llroundl symbol when building for PPC32.
50013 2013-03-24  Mark H Weaver  <mhw@netris.org>
50015         * manual/arith.texi (Normalization Functions): Fix prototypes for
50016         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50018 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50020         [BZ #13889]
50021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50022         high value to check if expl overflow.
50023         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50024         to check for underflow and overflow.
50025         * math/libm-test.inc: Add exp test.
50027 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50029         [BZ #11120]
50030         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50031         with NOT_IN_libc.
50033 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50035         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50036         symbol.
50038 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50040         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50041         wrap blocks consisting of several statements.
50043         * sysdeps/generic/math-tests.h: New file.
50044         * sysdeps/i386/fpu/math-tests.h: Likewise.
50045         * math/test-snan.c: Include it.
50046         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50048 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50050         [BZ #15285]
50051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50052         (__ieee754_j0l): Do not improve calculations using cos of twice
50053         input for inputs above LDBL_MAX / 2.0L.
50054         (__ieee754_y0l): Likewise.
50055         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50056         (__ieee754_j1l): Do not improve calculations using cos of twice
50057         input for inputs above LDBL_MAX / 2.0L.
50058         (__ieee754_y1l): Likewise.
50059         * math/libm-test.inc (j0_test): Add another test.
50060         (j1_test): Likewise.
50061         (y0_test): Likewise.
50062         (y1_test): Likewise.
50063         * sysdeps/i386/fpu/libm-test-ulps: Update.
50065 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50067         * Rules ($(objpfx)bench-%.c): Include code from a C source
50068         file.
50070 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50072         [BZ #15287]
50073         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50074         imaginary part 1.0 and real part less than 0.5 specially.
50075         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50076         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50077         * math/libm-test.inc (cacos_test): Add more tests.
50078         (casin_test): Likewise.
50079         (casinh_test): Likewise.
50080         * sysdeps/i386/fpu/libm-test-ulps: Update.
50081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50083 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50085         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50086         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50088 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50090         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50091         * config.make.in (config-cflags-sse4): Remove variable.
50092         (config-cflags-avx): Likewise.
50093         (config-cflags-sse2avx): Likewise.
50094         (config-cflags-novzeroupper): Likewise.
50095         (config-asflags-i686): Likewise.
50096         (have-mfma4): Likewise.
50097         (have-as-vis3): Likewise.
50098         (MIG): Likewise.
50099         * configure.in (MIG): Do not AC_SUBST.
50100         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50101         (libc_cv_cc_sse4): Do not AC_SUBST.
50102         (libc_cv_cc_avx): Likewise.
50103         (libc_cv_cc_sse2avx): Likewise.
50104         (libc_cv_cc_novzeroupper): Likewise.
50105         (libc_cv_cc_fma4): Likewise.
50106         (libc_cv_as_i686): Likewise.
50107         (libc_cv_sparc_as_vis3): Likewise.
50108         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50109         LIBC_CONFIG_VAR.
50110         (config-asflags-i686): Likewise.
50111         (config-cflags-avx): Likewise.
50112         (config-cflags-sse2avx): Likewise.
50113         (have-mfma4): Likewise.
50114         (config-cflags-novzeroupper): Likewise.
50115         * sysdeps/mach/configure.in (MIG): Likewise.
50116         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50117         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50118         LIBC_CONFIG_VAR.
50119         (config-cflags-avx): Likewise.
50120         (config-cflags-sse2avx): Likewise.
50121         (have-mfma4): Likewise.
50122         (config-cflags-novzeroupper): Likewise.
50123         * configure: Regenerated.
50124         * sysdeps/i386/configure: Likewise.
50125         * sysdeps/mach/configure: Likewise.
50126         * sysdeps/sparc/configure: Likewise.
50127         * sysdeps/x86_64/configure: Likewise.
50129 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50131         [BZ #14812]
50132         * locale/programs/localedef.c (options): Put N_ translation marker
50133         on argument names, not just descriptions.
50135 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50137         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50139 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50141         [BZ #14176]
50142         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50144 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50146         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50147         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50148         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50149         [!BEFORE_ABORT] (before_abort): New function.
50150         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50151         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50152         (writev_for_fatal): New function.
50153         (WRITEV_FOR_FATAL): New macro; call that.
50154         (backtrace_and_maps): New function.
50155         (BEFORE_ABORT): New macro; call that.
50156         (struct str_list): Type removed.
50157         (__libc_message, __libc_fatal): Functions removed.
50158         Include <sysdeps/posix/libc_fatal.c> instead.
50160 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50162         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50163         constants.
50164         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50165         double constants.
50167 2013-03-19  Andreas Schwab  <schwab@suse.de>
50169         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50170         * sysdeps/gnu/configure: Regenerate.
50172         * configure.in: Substitute libc_cv_rtlddir.
50173         * configure: Regenerate.
50174         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50175         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50176         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50177         * elf/Makefile (install-others, CFLAGS-interp.c)
50178         (ldso_install, common-ldd-rewrite): Likewise.
50179         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50180         $(inst_slibdir)/$(rtld-installed-name).
50181         * scripts/rellns-sh: Add -p option.
50182         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50183         for source.
50185 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50187         * manual/nptl.texi: Renamed to ...
50188         * manual/threads.texi: ... this.
50189         * manual/Makefile (chapters): Update.
50191 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50193         [BZ #14812]
50194         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50195         on argument names, not just descriptions.
50196         * malloc/memusagestat.c (options): Likewise.
50197         * nss/getent.c (options): Likewise.
50199 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50201         [BZ #14812]
50202         * iconv/iconv_prog.c (options): Put N_ translation marker
50203         on argument names, not just descriptions.
50204         * iconv/iconvconfig.c (options): Likewise.
50206 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50208         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50209         implementation which is faster on all x86_64 architectures.
50210         Tested on AMD, Intel Nehalem, SNB, IVB.
50211         * sysdeps/x86_64/strnlen.S: Likewise.
50213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50214         Remove all multiarch strlen and strnlen versions.
50215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50216         Remove strlen and strnlen related parts.
50218         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50219         Inline strlen part.
50220         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50222         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50223         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50224         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50225         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50226         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50227         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50229 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50231         * manual/memory.texi (Malloc Tunable Parameters):
50232         Sort parameters alphabetically. Add comments for missing entries.
50234 2013-03-17  David S. Miller  <davem@davemloft.net>
50236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50238 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50240         [BZ #15283]
50241         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50242         for arguments at most half maximum finite value.
50243         * math/libm-test.inc (j0_test): Add more tests.
50244         (j1_test): Likewise.
50245         (y0_test): Likewise.
50246         (y1_test): Likewise.
50247         * sysdeps/i386/fpu/libm-test-ulps: Update.
50248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50250         [BZ #14155]
50251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50252         1 / x and functions P and Q for arguments above 0x1p256L.
50253         (__ieee754_y0l): Likewise.
50254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50255         (__ieee754_y1l): Likewise.
50256         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50257         (j1_test): Likewise.
50258         (y0_test): Likewise.
50259         (y1_test): Likewise.
50261 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50263         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50264         variable.
50266 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50268         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50269         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50270         zero since it's initialized to EXEC_PAGESIZE.
50272         * sysdeps/unix/sysv/linux/ldsodefs.h
50273         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50274         * sysdeps/generic/ldsodefs.h: ... here.
50276 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50278         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50280         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50281         math/test-snan.c.
50282         * math/test-snan.c: Renamed from
50283         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50284         * math/Makefile (tests): Add test-snan.
50285         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50286         test-powerpc-snan.
50288         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50289         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50290         functions.
50291         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50292         __builtin_nan family of functions.
50293         * math/libm-test.inc (initialize): Initialize qnan_value with
50294         __builtin_nan family of functions.
50295         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50296         Remove variables.
50297         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50298         Remove functions.
50299         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50300         storage class.  Initialize qNaN_var and sNaN_var with
50301         __builtin_nan and __builtin_nans families of functions,
50302         respectively.
50304         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50305         (sqrt_test): Remove duplicate test with qNaN input.
50306         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50307         (round_test, signbit_test, significand_test): Note missing +/-Inf
50308         as well as qNaN tests.
50310         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50311         qNaN_var.  Fix a few strings, too.
50312         * math/libm-test.inc (nan_value): Rename to qnan_value.
50313         * math/gen-libm-test.pl (%beautify): Adjust to that.
50314         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50315         * math/test-misc.c (main): Likewise.
50316         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50317         to __qnan_bytes, and __qnan_union, respectively.
50318         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50319         Likewise.
50320         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50321         and lqnanval, respectively.
50322         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50323         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50325         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50327         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50328         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50329         doubles.
50331         * math/test-misc.c (main): Fix copy'n'pastos.
50332         * misc/tst-efgcvt.c (special): Likewise.
50334         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50335         Remove declarations.
50337 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50339         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50340         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50341         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50342         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50344 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50347         macro to return vdso values correctly in IFUNC implementations.
50348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50349         Optimization by using IFUNC.
50351 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50352             Richard Henderson  <rth@redhat.com>
50353             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50355         * Makefile.in (bench): New target.
50356         * NEWS: Mention the benchmark framework.
50357         * Rules (bench): Likewise.
50358         (binaries-bench): Generate binaries for functions to
50359         benchmark.
50360         * benchtests/Makefile: New makefile for benchmark tests.
50361         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50362         programs.
50363         * benchtests/exp-inputs: New input file for EXP function.
50364         * benchtests/pow-inputs: New input file for POW function.
50365         * scripts/bench.pl: New script to generate source files for
50366         benchmark programs.
50368 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50371         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50372         computations on mantissa.  Use macros for rounding and
50373         division.
50374         (denorm): Likewise.
50375         (__dbl_mp): Likewise.
50376         (add_magnitudes): Likewise.
50377         (sub_magnitudes): Likewise.
50378         (__mul): Likewise.
50379         (__sqr): Likewise.
50380         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50381         powers of two in terms of TWOPOW macro.
50382         (mp_no): Make type of mantissa as MANTISSA_T.
50383         [!RADIXI]: Define RADIXI.
50384         [!TWO52]: Define TWO52.
50385         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50387         * manual/nptl.texi (cindex): Modify threads to pthreads.
50389 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50391         * sysdeps/x86_64/preconfigure: Regenerated.
50393 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50395         [BZ #14155]
50396         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50397         0x1p28 and above.
50398         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50399         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50400         0x1p28 and above.
50401         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50402         * math/libm-test.inc (j0_test): Do not allow one spurious
50403         underflow exception.
50404         (y1_test): Likewise.
50406 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50408         * manual/Makefile (chapters): Add nptl.
50409         * manual/debug.texi (Debugging Support): Add link to Threads
50410         chapter.
50411         * manual/nptl.texi: New file.
50413         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50415 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50417         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50418         for non-NULL pointer before the memory validity test. Pointed
50419         out by Holger Brunck <holger.brunck@keymile.com>.
50421 2013-03-13  Andreas Schwab  <schwab@suse.de>
50423         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50424         instead of .os.
50426 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50428         * timezone/zic.c: Update from tzcode 2013b.
50430 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50432         * manual/install.texi (Configuring and compiling):
50433         Mention i686 and i586.
50434         * INSTALL: Regenerate.
50436 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50438         * sysdeps/init_array/elf-init.c: New file.
50439         * csu/elf-init.c
50440         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50441         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50443         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50444         __gmon_start__ as global, but as static with a .preinit_array pointer.
50445         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50446         * sysdeps/init_array/crti.S: New file, empty except for comments.
50447         * sysdeps/init_array/crtn.S: Likewise.
50449 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50451         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50452         definining bcopy.
50453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50454         Remove Prefer_SSE_for_memop.
50455         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50456         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50457         HAS_PREFER_SSE_FOR_MEMOP.
50458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50459         memset-x86-64.
50460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50461         Remove bzero, memset ifunc support.
50462         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50463         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50467 2013-03-11  Andreas Schwab  <schwab@suse.de>
50469         [BZ #15234]
50470         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50471         by SHLIB_COMPAT.
50472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50473         (GLIBC_2.16): Remove pthread_atfork.
50475 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50477         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50478         (ptestcases.h): Likewise.
50480 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50482         * Makeconfig ($(common-objpfx)config.status): Depend on
50483         sysdeps/*/preconfigure{,.in} too.
50485 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50487         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50488         (__free_hook): Use void * instead of __malloc_ptr_t.
50489         (__malloc_hook): Likewise.
50490         (__realloc_hook): Likewise.
50491         (__memalign_hook): Likewise.
50492         (__after_morecore_hook): Likewise.
50493         * malloc/arena.c (save_malloc_hook): Likewise.
50494         (save_free_hook): Likewise.
50495         * malloc/hooks.c (malloc_hook_ini): Likewise.
50496         (realloc_hook_ini): Likewise.
50497         (memalign_hook_ini): Likewise.
50498         * malloc/malloc.c (malloc_hook_ini): Likewise.
50499         (realloc_hook_ini): Likewise.
50500         (memalign_hook_ini): Likewise.
50501         (__free_hook): Likewise.
50502         (__malloc_hook): Likewise.
50503         (__realloc_hook): Likewise.
50504         (__memalign_hook): Likewise.
50505         (__libc_malloc): Likewise.
50506         (__libc_free): Likewise.
50507         (__libc_realloc): Likewise.
50508         (__libc_memalign): Likewise.
50509         (__libc_valloc): Likewise.
50510         (__libc_pvalloc): Likewise.
50511         (__libc_calloc): Likewise.
50512         (__posix_memalign): Likewise.
50513         * malloc/morecore.c (__sbrk): Likewise.
50514         (__default_morecore): Likewise.
50516         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50518         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50519         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50520         __malloc_ptrdiff_t.
50522         * malloc/malloc.h (__malloc_size_t): Remove macro.
50523         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50524         __malloc_size_t.
50525         (old_memalign_hook): Likewise.
50526         (old_realloc_hook): Likewise.
50527         (struct hdr): Likewise.
50528         (flood): Likewise.
50529         (mallochook): Likewise.
50530         (memalignhook): Likewise.
50531         (reallochook): Likewise.
50532         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50533         (tr_old_realloc_hook): Likewise.
50534         (tr_old_memalign_hook): Likewise.
50535         (tr_mallochook): Likewise.
50536         (tr_reallochook): Likewise.
50537         (tr_memalignhook): Likewise.
50539 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50542         default_ldbl_pack and using as default implementation.
50543         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50544         implementation.
50545         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50546         redundant definition.
50547         (ldbl_insert_mantissa): Likewise.
50548         (ldbl_canonicalize): Likewise.
50549         (ldbl_nearbyint): Likewise.
50550         (ldbl_pack): Rename to ldbl_pack_ppc.
50551         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50552         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50553         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50555 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50558         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50559         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50560         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50562         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50563         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50564         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50566 2013-03-07  Andreas Jaeger  <aj@suse.de>
50568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50569         bits/mman-linux.h.
50571 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50573         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50574         Include mpa.h and declare __MPEXP.
50575         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50576         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50577         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50578         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50580         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50581         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50583         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50584         (__slowpow): Use long double EXPL and LOGL functions to
50585         compute POW.
50586         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50587         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50589         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50590         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50594         intermediate variable to calculate exponent.
50595         (__sqr): Likewise.
50596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50597         Likewise.
50598         (__sqr): Likewise.
50600         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50601         [!NO__SQR]: Define __sqr.
50602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50603         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50604         sysdeps/ieee754/dbl-64/mpa.c.
50605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50607         [BZ #12723]
50608         * posix/Makefile (tests): Add tst-pathconf.
50609         * posix/tst-pathconf.c: New test case.
50610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50611         _PC_PIPE_BUF.
50612         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50614 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50616         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50618 2013-03-06  Andreas Jaeger  <aj@suse.de>
50620         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50621         definition via __MAP_ANONYMOUS.
50623         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50624         it's not part of Linux headers.
50626         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50627         (MAP_HUGE_MASK): Define.
50629         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50630         Define.
50631         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50633         Define.
50634         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50635         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50636         Define.
50637         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50639         Define.
50640         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50642         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50643         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50644         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50645         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50646         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50647         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50649         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50650         Handle f2fs.
50652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50653         Handle f2fs and efivarfs.
50655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50656         f2fs.
50658         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50659         (EFIVARFS_MAGIC): Add.
50660         (F2FS_LINK_MAX): Add.
50662 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50664         * stdio-common/vfprintf.c: Replace __builtin_expect with
50665         __glibc_unlikely.
50667 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50669         [BZ #13550]
50670         * sysdeps/generic/bp-sym.h: Remove file.
50671         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50672         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50673         <bp-sym.h> and <bp-asm.h>.
50674         (__longjmp): Don't use BP_SYM.
50675         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50676         and <bp-asm.h>.
50677         (memcpy): Don't use BP_SYM.
50678         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50679         <bp-sym.h> and <bp-asm.h>.
50680         (memcpy): Don't use BP_SYM.
50681         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50682         <bp-asm.h>.
50683         (memcpy): Don't use BP_SYM.
50684         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50685         <bp-asm.h>.
50686         (memset): Don't use BP_SYM.
50687         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50688         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50689         (__bzero): Don't use BP_SYM.
50690         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50691         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50693         <bp-sym.h> and <bp-asm.h>.
50694         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50695         pointers.
50696         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50697         <bp-sym.h> and <bp-asm.h>.
50698         (memcpy): Don't use BP_SYM.
50699         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50700         <bp-sym.h> and <bp-asm.h>.
50701         (memset): Don't use BP_SYM.
50702         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50703         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50704         (__bzero): Don't use BP_SYM.
50705         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50706         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50707         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50708         <bp-sym.h> and <bp-asm.h>.
50709         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50710         pointers.
50711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50712         <bp-sym.h> and <bp-asm.h>.
50713         (memcpy): Don't use BP_SYM.
50714         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50715         <bp-sym.h> and <bp-asm.h>.
50716         (memset): Don't use BP_SYM.
50717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50719         (__bzero): Don't use BP_SYM.
50720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50723         <bp-sym.h> and <bp-asm.h>.
50724         (__memchr): Don't use BP_SYM.
50725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50726         <bp-sym.h> and <bp-asm.h>.
50727         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50728         pointers.
50729         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50730         <bp-sym.h> and <bp-asm.h>.
50731         (memcpy): Don't use BP_SYM.
50732         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50733         <bp-sym.h> and <bp-asm.h>.
50734         (__mempcpy): Don't use BP_SYM.
50735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50736         <bp-sym.h> and <bp-asm.h>.
50737         (__memrchr): Don't use BP_SYM.
50738         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50739         <bp-sym.h> and <bp-asm.h>.
50740         (memset): Don't use BP_SYM.
50741         (__bzero): Likewise.
50742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50743         <bp-sym.h> and <bp-asm.h>.
50744         (__rawmemchr): Don't use BP_SYM.
50745         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50746         <bp-sym.h> and <bp-asm.h>.
50747         (__STRCMP): Don't use BP_SYM.
50748         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50749         <bp-sym.h> and <bp-asm.h>.
50750         (strchr): Don't use BP_SYM.
50751         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50752         <bp-sym.h> and <bp-asm.h>.
50753         (__strchrnul): Don't use BP_SYM.
50754         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50755         <bp-sym.h> and <bp-asm.h>.
50756         (strlen): Don't use BP_SYM.
50757         * sysdeps/powerpc/powerpc64/power7/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/power7/strnlen.S: Don't include
50762         <bp-sym.h> and <bp-asm.h>.
50763         (__strnlen): Don't use BP_SYM.
50764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50765         <bp-sym.h> and <bp-asm.h>.
50766         (__GI__setjmp): Don't use BP_SYM.
50767         (_setjmp): Likewise.
50768         (__sigsetjmp): Likewise.
50769         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50770         (L(start_addresses)): Don't use BP_SYM.
50771         (_start): Likewise.
50772         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50773         <bp-asm.h>.
50774         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50775         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50776         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50777         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50778         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50779         <bp-asm.h>.
50780         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50781         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50782         about bounded pointers.
50783         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50784         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50785         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50786         <bp-asm.h>.
50787         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50788         about bounded pointers.  Remove GKM FIXME comments.
50789         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50790         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50791         <bp-asm.h>.
50792         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50793         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50794         Remove GKM FIXME comments.
50795         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50796         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50797         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50798         <bp-asm.h>.
50799         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50800         about bounded pointers.  Remove GKM FIXME comment.
50801         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50802         and <bp-asm.h>.
50803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50804         pointers.
50805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50806         <bp-sym.h> and <bp-asm.h>.
50807         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50809         <bp-sym.h> and <bp-asm.h>.
50810         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50811         comment.
50813 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50815         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50816         call free(NULL).
50818 2013-03-05  David S. Miller  <davem@davemloft.net>
50820         * po/es.po: Update from translation team.
50822 2013-03-05  Andreas Jaeger  <aj@suse.de>
50824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50825         <bits/mman-linux.h>.
50826         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50827         is fine.
50828         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50829         <bits/mman-linux.h> to end of file.
50830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50831         is fine.
50832         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50833         <bits/mman-linux.h> to end of file.
50834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50835         is fine.
50836         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50837         <bits/mman-linux.h> to end of file.
50839         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50840         (MCL_CURRENT, MCL_FUTURE): Define here.
50842 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50844         [BZ #15232]
50845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50846         attribute_hidden.
50847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50849 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50851         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50852         fourth parameter needed for rt_sigprocmask syscall.
50853         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50854         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50855         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50856         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50857         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50860 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50862         [BZ #13550]
50863         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50864         comment about bounded pointers.
50865         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50866         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50868 2013-03-04  Andreas Jaeger  <aj@suse.de>
50870         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50871         common definitions.
50873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50874         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50875         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50876         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50877         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50880 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50882         [BZ #15055]
50883         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50884         __ieee754_sqrl instead of __sqrl.
50886 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50888         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50889         * sysdeps/powerpc/fpu_control.h: ... here.
50890         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50891         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50892         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50893         * sysdeps/powerpc/bits/mathinline.h: ... here.
50895 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50897         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50898         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50899         to just [NEED_DL_SYSINFO_DSO].
50900         * elf/dl-support.c: Likewise.
50901         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50902         * elf/rtld.c (dl_main): Likewise.
50903         * elf/setup-vdso.h (setup_vdso): Likewise.
50904         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50905         * sysdeps/unix/sysv/linux/dl-sysdep.c
50906         (_dl_discover_osversion): Likewise.
50908 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50910         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50911         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50913 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50915         * NEWS: Mention libm performance improvements and non-x86 PI
50916         futex support.
50918         * csu/libc-start.c (__pthread_initialize_minimal): Change
50919         function arguments.
50920         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50922 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50924         [BZ #13550]
50925         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50926         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50927         <bp-sym.h> and <bp-asm.h>.
50928         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50929         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50930         and <bp-asm.h>.
50931         (memcpy): Don't use BP_SYM.
50932         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50933         <bp-asm.h>.
50934         (__mpn_add_n): Don't use BP_SYM.
50935         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50936         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50937         and <bp-asm.h>.
50938         (__mpn_addmul_1): Don't use BP_SYM.
50939         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50940         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50941         <bp-sym.h>.
50942         (_setjmp): Don't use BP_SYM.
50943         (__novmx_setjmp): Likewise.
50944         (__GI__setjmp): Likewise.
50945         (__vmx_setjmp): Likewise.
50946         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50947         <bp-sym.h>.
50948         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50949         (__bzero): Don't use BP_SYM.
50950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50952         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50953         <bp-sym.h> and <bp-asm.h>.
50954         (memcpy): Don't use BP_SYM.
50955         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50956         <bp-sym.h> and <bp-asm.h>.
50957         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50958         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50959         <bp-sym.h> and <bp-asm.h>.
50960         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50961         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50962         <bp-asm.h>.
50963         (__mpn_lshift): Don't use BP_SYM.
50964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50965         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50966         <bp-asm.h>.
50967         (memset): Don't use BP_SYM.
50968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50970         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50971         <bp-asm.h>.
50972         (__mpn_mul_1): Don't use BP_SYM.
50973         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50974         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50975         <bp-sym.h> and <bp-asm.h>.
50976         (memcmp): Don't use BP_SYM.
50977         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50978         <bp-sym.h> and <bp-asm.h>.
50979         (memcpy): Don't use BP_SYM.
50980         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50981         <bp-sym.h> and <bp-asm.h>.
50982         (memset): Don't use BP_SYM.
50983         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50984         <bp-sym.h> and <bp-asm.h>.
50985         (strncmp): Don't use BP_SYM.
50986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50987         <bp-sym.h> and <bp-asm.h>.
50988         (memcpy): Don't use BP_SYM.
50989         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50990         <bp-sym.h> and <bp-asm.h>.
50991         (memset): Don't use BP_SYM.
50992         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50993         <bp-sym.h> and <bp-asm.h>.
50994         (__memchr): Don't use BP_SYM.
50995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50996         <bp-sym.h> and <bp-asm.h>.
50997         (memcmp): Don't use BP_SYM.
50998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50999         <bp-sym.h> and <bp-asm.h>.
51000         (memcpy): Don't use BP_SYM.
51001         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51002         <bp-sym.h> and <bp-asm.h>.
51003         (__mempcpy): Don't use BP_SYM.
51004         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51005         <bp-sym.h> and <bp-asm.h>.
51006         (__memrchr): Don't use BP_SYM.
51007         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51008         <bp-sym.h> and <bp-asm.h>.
51009         (memset): Don't use BP_SYM.
51010         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51011         <bp-sym.h> and <bp-asm.h>.
51012         (__rawmemchr): Don't use BP_SYM.
51013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51014         <bp-sym.h> and <bp-asm.h>.
51015         (__STRCMP): Don't use BP_SYM.
51016         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51017         <bp-sym.h> and <bp-asm.h>.
51018         (strchr): Don't use BP_SYM.
51019         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51020         <bp-sym.h> and <bp-asm.h>.
51021         (__strchrnul): Don't use BP_SYM.
51022         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51023         <bp-sym.h> and <bp-asm.h>.
51024         (strlen): Don't use BP_SYM.
51025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51026         <bp-sym.h> and <bp-asm.h>.
51027         (strncmp): Don't use BP_SYM.
51028         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51029         <bp-sym.h> and <bp-asm.h>.
51030         (__strnlen): Don't use BP_SYM.
51031         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51032         <bp-asm.h>.
51033         (__mpn_rshift): Don't use BP_SYM.
51034         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51035         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51036         <bp-sym.h> and <bp-asm.h>.
51037         (__sigsetjmp): Don't use BP_SYM.
51038         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51039         (L(start_addresses)): Don't use BP_SYM.
51040         (_start): Likewise.
51041         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51042         <bp-asm.h>.
51043         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51044         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51045         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51046         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51047         <bp-asm.h>.
51048         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51049         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51050         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51051         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51052         <bp-asm.h>.
51053         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51054         comments.
51055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51056         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51057         <bp-asm.h>.
51058         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51059         FIXME comments.
51060         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51061         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51062         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51063         <bp-asm.h>.
51064         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51065         comment.
51066         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51067         and <bp-asm.h>.
51068         (strncmp): Don't use BP_SYM,
51069         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51070         <bp-asm.h>.
51071         (__mpn_sub_n): Don't use BP_SYM.
51072         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51073         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51074         and <bp-asm.h>.
51075         (__mpn_submul_1): Don't use BP_SYM.
51076         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51078         <bp-sym.h> and <bp-asm.h>.
51079         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51081         <bp-sym.h> and <bp-asm.h>.
51082         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51083         comment.
51085 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51088         Use ZK to minimize writes to Z.
51089         (sub_magnitudes): Simplify code a bit.
51090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51091         Use ZK to minimize writes to Z.
51092         (sub_magnitudes): Simplify code a bit.
51094 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51096         * csu/gmon-start.c: Add special exception to license text.
51098 2013-02-27  Richard Henderson  <rth@redhat.com>
51100         * scripts/config.guess: Update from config.git.
51101         * scripts/config.sub: Likewise.
51103 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51107         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51109         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51111         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51113         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51115 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51117         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51118         [$(build-shared = yes].
51120 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51122         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51123         (__mul): Reduce iterations for calculating mantissa.
51125         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51126         MPTWO.
51127         (__mpranred): Likewise.
51129         [BZ #15160]
51130         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51131         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51133 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51135         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51136         Define __attribute__.
51138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51140         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51141         unused.
51142         * posix/regex_internal.h (__attribute): Remove.
51143         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51144         (re_string_context_at): Likewise.
51145         (bitset_not): Use __attribute__ and mark function as possibly
51146         unused.
51147         (bitset_merge): Likewise.
51148         (bitset_mask): Likewise.
51149         (re_string_char_size_at): Likewise.
51150         (re_string_wchar_at): Likewise.
51151         (re_string_elem_size_at): Likewise.
51153 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51155         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51156         code.
51157         (cc32): Likewise.
51159         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51160         (__acr): Likewise.
51161         (__cpy): Likewise.
51162         (norm): Likewise.
51163         (denorm): Likewise.
51164         (__dbl_mp): Likewise.
51165         (add_magnitudes): Likewise.
51166         (sub_magnitudes): Likewise.
51167         (__mul): Likewise.
51168         (__inv): Likewise.
51170         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51171         style.
51173         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51174         style.
51176         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51177         code.
51179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51180         up changes with default code.
51181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51182         Likewise.
51184 2013-02-24  Allan McRae  <allan@archlinux.org>
51186         * manual/socket.texi (The Internet Namespace): Order menu items
51187         to match that in the file.
51189         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51190         node listing of the info page menu.
51192 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51194         [BZ #13550]
51195         * sysdeps/i386/bp-asm.h: Remove file.
51196         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51197         (PARMS): Do not use macros from bp-asm.h.
51198         (S1): Likewise.
51199         (S2): Likewise.
51200         (SIZE): Likewise.
51201         (__mpn_add_n): Do not use BP_SYM
51202         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51203         "bp-asm.h".
51204         (PARMS): Do not use macros from bp-asm.h.
51205         (S1): Likewise.
51206         (SIZE): Likewise.
51207         (__mpn_addmul_1): Do not use BP_SYM
51208         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51209         "bp-asm.h".
51210         (PARMS): Do not use macros from bp-asm.h.
51211         (SIGMSK): Likewise.
51212         (_setjmp): Likewise.  Do not use BP_SYM.
51213         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51214         "bp-asm.h".
51215         (PARMS): Do not use macros from bp-asm.h.
51216         (SIGMSK): Likewise.
51217         (setjmp): Likewise.  Do not use BP_SYM.
51218         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51219         "bp-asm.h".
51220         (PARMS): Do not use macros from bp-asm.h.
51221         (__frexp): Do not use BP_SYM.
51222         (frexp): Likewise.
51223         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51224         "bp-asm.h".
51225         (PARMS): Do not use macros from bp-asm.h.
51226         (__frexpf): Do not use BP_SYM.
51227         (frexpf): Likewise.
51228         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51229         "bp-asm.h".
51230         (PARMS): Do not use macros from bp-asm.h.
51231         (__frexpl): Do not use BP_SYM.
51232         (frexpl): Likewise.
51233         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51234         "bp-asm.h".
51235         (PARMS): Do not use macros from bp-asm.h.
51236         (__remquo): Do not use BP_SYM.
51237         (remquo): Likewise.
51238         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51239         "bp-asm.h".
51240         (PARMS): Do not use macros from bp-asm.h.
51241         (__remquof): Do not use BP_SYM.
51242         (remquof): Likewise.
51243         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51244         "bp-asm.h".
51245         (PARMS): Do not use macros from bp-asm.h.
51246         (__remquol): Do not use BP_SYM.
51247         (remquol): Likewise.
51248         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51249         "bp-asm.h".
51250         (PARMS): Do not use macros from bp-asm.h.
51251         (DEST): Likewise.
51252         (SRC): Likewise.
51253         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51254         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51255         "bp-asm.h".
51256         (PARMS): Do not use macros from bp-asm.h.
51257         (strlen): Do not use BP_SYM.
51258         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51259         "bp-asm.h".
51260         (PARMS): Do not use macros from bp-asm.h.
51261         (S1): Likewise.
51262         (S2): Likewise.
51263         (SIZE): Likewise.
51264         (__mpn_add_n): Do not use BP_SYM.
51265         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51266         "bp-asm.h".
51267         (PARMS): Do not use macros from bp-asm.h.
51268         (S1): Likewise.
51269         (SIZE): Likewise.
51270         (__mpn_addmul_1): Do not use BP_SYM.
51271         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51272         weak_alias.
51273         (bzero): Likewise.
51274         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51275         "bp-asm.h".
51276         (PARMS): Do not use macros from bp-asm.h.
51277         (S): Likewise.
51278         (SIZE): Likewise.
51279         (__mpn_lshift): Do not use BP_SYM.
51280         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51281         "bp-asm.h".
51282         (PARMS): Do not use macros from bp-asm.h.
51283         (DEST): Likewise.
51284         (SRC): Likewise.
51285         (LEN): Likewise.
51286         (memcpy): Likewise.  Do not use BP_SYM.
51287         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51288         libc_hidden_def and weak_alias.
51289         (mempcpy): Do not use BP_SYM in weak_alias.
51290         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51291         "bp-asm.h".
51292         (PARMS): Do not use macros from bp-asm.h.
51293         (DEST): Likewise.
51294         (LEN): Likewise.
51295         [!BZERO_P] (CHR): Likewise.
51296         (memset): Likewise.  Do not use BP_SYM.
51297         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51298         "bp-asm.h".
51299         (PARMS): Do not use macros from bp-asm.h.
51300         (S1): Likewise.
51301         (SIZE): Likewise.
51302         (__mpn_mul_1): Do not use BP_SYM.
51303         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51304         "bp-asm.h".
51305         (PARMS): Do not use macros from bp-asm.h.
51306         (S): Likewise.
51307         (SIZE): Likewise.
51308         (__mpn_rshift): Do not use BP_SYM.
51309         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51310         "bp-asm.h".
51311         (PARMS): Do not use macros from bp-asm.h.
51312         (STR): Likewise.
51313         (CHR): Likewise.
51314         (strchr): Likewise.  Do not use BP_SYM.
51315         (index): Do not use BP_SYM in weak_alias.
51316         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51317         "bp-asm.h".
51318         (PARMS): Do not use macros from bp-asm.h.
51319         (DEST): Likewise.
51320         (SRC): Likewise.
51321         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51322         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51323         "bp-asm.h".
51324         (PARMS): Do not use macros from bp-asm.h.
51325         (strlen): Do not use BP_SYM.
51326         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51327         "bp-asm.h".
51328         (PARMS): Do not use macros from bp-asm.h.
51329         (S1): Likewise.
51330         (S2): Likewise.
51331         (SIZE): Likewise.
51332         (__mpn_sub_n): Do not use BP_SYM.
51333         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51334         "bp-asm.h".
51335         (PARMS): Do not use macros from bp-asm.h.
51336         (S1): Likewise.
51337         (SIZE): Likewise.
51338         (__mpn_submul_1): Do not use BP_SYM.
51339         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51340         "bp-asm.h".
51341         (PARMS): Do not use macros from bp-asm.h.
51342         (S1): Likewise.
51343         (S2): Likewise.
51344         (SIZE): Likewise.
51345         (__mpn_add_n): Do not use BP_SYM.
51346         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51347         weak_alias.
51348         (bzero): Likewise.
51349         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51350         "bp-asm.h".
51351         (PARMS): Do not use macros from bp-asm.h.
51352         (BLK2): Likewise.
51353         (LEN): Likewise.
51354         (memcmp): Do not use BP_SYM.
51355         (bcmp): Do not use BP_SYM in weak_alias.
51356         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51357         "bp-asm.h".
51358         (PARMS): Do not use macros from bp-asm.h.
51359         (DEST): Likewise.
51360         (SRC): Likewise.
51361         (LEN): Likewise.
51362         (memcpy): Likewise.  Do not use BP_SYM.
51363         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51364         "bp-asm.h".
51365         (PARMS): Do not use macros from bp-asm.h.
51366         (DEST): Likewise.
51367         (SRC): Likewise.
51368         (LEN): Likewise.
51369         (memmove): Likewise.  Do not use BP_SYM.
51370         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51371         "bp-asm.h".
51372         (PARMS): Do not use macros from bp-asm.h.
51373         (DEST): Likewise.
51374         (SRC): Likewise.
51375         (LEN): Likewise.
51376         (__mempcpy): Likewise.  Do not use BP_SYM.
51377         (mempcpy): Do not use BP_SYM in weak_alias.
51378         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51379         "bp-asm.h".
51380         (PARMS): Do not use macros from bp-asm.h.
51381         (DEST): Likewise.
51382         (LEN): Likewise.
51383         [!BZERO_P] (CHR): Likewise.
51384         (memset): Likewise.  Do not use BP_SYM.
51385         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51386         "bp-asm.h".
51387         (PARMS): Do not use macros from bp-asm.h.
51388         (STR2): Likewise.
51389         (strcmp): Do not use BP_SYM.
51390         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51391         "bp-asm.h".
51392         (PARMS): Do not use macros from bp-asm.h.
51393         (STR): Likewise.
51394         (DELIM): Likewise.
51395         [USE_AS_STRTOK_R] (SAVE): Likewise.
51396         (FUNCTION): Likewise.  Do not use BP_SYM.
51397         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51398         aliases.
51399         (strtok_r): Likewise.
51400         (__GI___strtok_r): Likewise.
51401         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51402         (PARMS): Do not use macros from bp-asm.h.
51403         (S): Likewise.
51404         (SIZE): Likewise.
51405         (__mpn_lshift): Do not use BP_SYM.
51406         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51407         (PARMS): Do not use macros from bp-asm.h.
51408         (STR): Likewise.
51409         (CHR): Likewise.
51410         (__memchr): Do not use BP_SYM.
51411         (memchr): Do not use BP_SYM in weak_alias.
51412         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51413         (PARMS): Do not use macros from bp-asm.h.
51414         (BLK2): Likewise.
51415         (LEN): Likewise.
51416         (memcmp): Do not use BP_SYM.
51417         (bcmp): Do not use BP_SYM in weak_alias.
51418         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51419         (PARMS): Do not use macros from bp-asm.h.
51420         (S1): Likewise.
51421         (SIZE): Likewise.
51422         (__mpn_mul_1): Do not use BP_SYM.
51423         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51424         "bp-asm.h".
51425         (PARMS): Do not use macros from bp-asm.h.
51426         (STR): Likewise.
51427         (CHR): Likewise.
51428         (__rawmemchr): Do not use BP_SYM.
51429         (rawmemchr): Do not use BP_SYM in weak_alias.
51430         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51431         (PARMS): Do not use macros from bp-asm.h.
51432         (S): Likewise.
51433         (SIZE): Likewise.
51434         (__mpn_rshift): Do not use BP_SYM.
51435         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51436         (PARMS): Do not use macros from bp-asm.h.
51437         (SIGMSK): Likewise.
51438         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51439         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51440         (_start): Do not use BP_SYM.
51441         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51442         (PARMS): Do not use macros from bp-asm.h.
51443         (DEST): Likewise.
51444         (SRC): Likewise.
51445         (__stpcpy): Likewise.  Do not use BP_SYM.
51446         (stpcpy): Do not use BP_SYM in weak_alias.
51447         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51448         "bp-asm.h".
51449         (PARMS): Do not use macros from bp-asm.h.
51450         (DEST): Likewise.
51451         (SRC): Likewise.
51452         (LEN): Likewise.
51453         (__stpncpy): Likewise.  Do not use BP_SYM.
51454         (stpncpy): Do not use BP_SYM in weak_alias.
51455         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51456         (PARMS): Do not use macros from bp-asm.h.
51457         (STR): Likewise.
51458         (CHR): Likewise.
51459         (strchr): Likewise.  Do not use BP_SYM.
51460         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51461         "bp-asm.h".
51462         (PARMS): Do not use macros from bp-asm.h.
51463         (STR): Likewise.
51464         (CHR): Likewise.
51465         (__strchrnul): Likewise.  Do not use BP_SYM.
51466         (strchrnul): Do not use BP_SYM in weak_alias.
51467         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51468         "bp-asm.h".
51469         (PARMS): Do not use macros from bp-asm.h.
51470         (STOP): Likewise.
51471         (strcspn): Do not use BP_SYM.
51472         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51473         "bp-asm.h".
51474         (PARMS): Do not use macros from bp-asm.h.
51475         (STR): Likewise.
51476         (STOP): Likewise.
51477         (strpbrk): Likewise.  Do not use BP_SYM.
51478         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51479         "bp-asm.h".
51480         (PARMS): Do not use macros from bp-asm.h.
51481         (STR): Likewise.
51482         (CHR): Likewise.
51483         (strrchr): Likewise.  Do not use BP_SYM.
51484         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51485         (PARMS): Do not use macros from bp-asm.h.
51486         (SKIP): Likewise.
51487         (strspn): Do not use BP_SYM.
51488         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51489         (PARMS): Do not use macros from bp-asm.h.
51490         (STR): Likewise.
51491         (DELIM): Likewise.
51492         (SAVE): Likewise.
51493         (FUNCTION): Likewise.  Do not use BP_SYM.
51494         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51495         aliases.
51496         (strtok_r): Likewise.
51497         (__GI___strtok_r): Likewise.
51498         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51499         (PARMS): Do not use macros from bp-asm.h.
51500         (S1): Likewise.
51501         (S2): Likewise.
51502         (SIZE): Likewise.
51503         (__mpn_sub_n): Do not use BP_SYM.
51504         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51505         "bp-asm.h".
51506         (PARMS): Do not use macros from bp-asm.h.
51507         (S1): Likewise.
51508         (SIZE): Likewise.
51509         (__mpn_submul_1): Do not use BP_SYM.
51510         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51511         <bp-sym.h>.
51512         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51513         and <bp-asm.h>.
51514         (PARMS): Do not use macros from bp-asm.h.
51515         (FLAGS): Likewise.
51516         (PTID): Likewise.
51517         (TLS): Likewise.
51518         (CTID): Likewise.
51519         (__clone): Do not use BP_SYM.
51520         (clone): Do not use BP_SYM in weak_alias.
51521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51522         and <bp-asm.h>.
51523         (PARMS): Do not use macros from bp-asm.h.
51524         (LEN): Likewise.
51525         (__mmap64): Do not use BP_SYM.
51526         (mmap64): Do not use BP_SYM in weak_alias.
51527         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51528         <bp-sym.h> and <bp-asm.h>.
51529         (PARMS): Do not use macros from bp-asm.h.
51530         (__posix_fadvise64_l64): Do not use BP_SYM.
51531         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51532         (PARMS): Do not use macros from bp-asm.h.
51533         (NSOPS): Likewise.
51534         (semtimedop): Do not use BP_SYM.
51535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51536         and <bp-asm.h>.
51538 2013-02-21  Allan McRae  <allan@archlinux.org>
51540         * manual/message.texi (Charset conversion in gettext):
51541         Move @end statement to beginning of line.
51543 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51546         static.
51547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51548         Likewise.
51550         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51551         (denorm): Likewise.
51552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51555 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51557         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51558         tail-call to the resolved function if pltexit isn't needed.
51560 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51563         or Y being zero as being unlikely.
51564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51565         Likewise.
51567 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51569         * manual/nss.texi (System Databases and Name Service Switch):
51570         Remove frobnicate @pxref.
51572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51575         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51577 2013-02-20  Petr Machata  <pmachata@redhat.com>
51579         * elf/elf.h (R_ARM_TARGET1): New macro.
51580         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51581         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51582         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51583         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51584         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51585         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51586         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51587         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51588         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51589         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51590         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51591         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51592         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51593         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51594         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51595         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51596         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51597         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51598         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51599         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51600         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51601         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51602         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51603         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51604         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51605         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51606         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51607         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51608         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51609         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51610         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51611         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51612         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51613         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51614         (R_ARM_THM_GOT_BREL12): Likewise.
51615         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51616         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51617         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51618         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51619         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51620         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51621         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51622         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51623         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51625 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51627         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51628         __attribute_used__ to __attribute__ ((unused)).
51630 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51632         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51633         powerpc mpa.c.
51634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51635         comment formatting.
51636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51638 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51640         [BZ #13550]
51641         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51642         Remove macro.
51643         (ENTER): Remove both macro definitions.
51644         (LEAVE): Likewise.
51645         (CHECK_BOUNDS_LOW): Likewise.
51646         (CHECK_BOUNDS_HIGH): Likewise.
51647         (CHECK_BOUNDS_BOTH): Likewise.
51648         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51649         (RETURN_BOUNDED_POINTER): Likewise.
51650         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51651         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51652         (POP_ERRNO_LOCATION_RETURN): Likewise.
51653         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51654         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51655         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51656         macros.
51657         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51658         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51659         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51660         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51661         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51662         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51663         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51664         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51665         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51666         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51667         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51668         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51669         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51670         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51671         removed macros.
51672         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51673         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51674         macros.
51675         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51676         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51677         * sysdeps/i386/i586/memset.S (memset): Likewise.
51678         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51679         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51680         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51681         macros.
51682         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51683         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51684         Change uses of L(2) to L(out).
51685         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51686         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51687         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51688         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51689         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51690         removed macros.
51691         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51692         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51693         macros.
51694         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51695         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51696         (RETURN): Do not use macro LEAVE.
51697         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51698         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51699         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51700         * sysdeps/i386/i686/memset.S (memset): Likewise.
51701         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51702         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51703         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51704         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51705         Likewise.
51706         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51707         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51708         L(1_2) and L(1_3) into L(1).
51709         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51710         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51711         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51712         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51713         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51714         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51715         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51716         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51717         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51718         macros.
51719         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51721         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51722         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51723         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51724         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51725         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51726         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51727         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51728         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51729         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51730         * sysdeps/i386/strspn.S (strspn): Likewise.
51731         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51732         conditional code.
51733         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51734         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51735         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51736         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51737         L(1_3) into L(1_1).
51738         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51739         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51740         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51741         macros.
51742         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51744 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51746         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51747         macro.
51749 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51751         * math/atest-exp.c (exp_mpn): Remove ROUND.
51752         * math/atest-exp2.c (exp_mpn): Likewise.
51753         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51755         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51756         * stdlib/tst-tls-atexit-lib.c: Likewise.
51757         * stdlib/tst-tls-atexit.c: Likewise.
51759 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51761         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51762         and __attribute_alloc_size__.
51764 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51766         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51767         __attribute_alloc_size__.
51768         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51769         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51771 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51773         * include/programs/xmalloc.h: New file.
51774         * catgets/gencat.c: Include it.
51775         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51776         * elf/pldd.c: Likewise.
51777         * iconv/iconv_charmap.c: Likewise.
51778         * iconv/iconvconfig.c: Likewise.
51779         * iconv/strtab.c: Likewise.
51780         * locale/programs/locale.c: Likewise.
51781         * locale/programs/localedef.h: Likewise.
51782         * locale/programs/simple-hash.c: Likewise.
51783         * nscd/nscd.h: Likewise.
51784         * nss/makedb.c: Likewise.
51785         * sysdeps/generic/ldconfig.h: Likewise.
51787 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51789         * Versions.def: Add GLIBC_2.18.
51790         * include/link.h (struct link_map): New member l_tls_dtor_count.
51791         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51792         (__call_tls_dtors): Likewise.
51793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51794         __cxa_thread_atexit_impl.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51796         Likewise.
51797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51798         Likewise.
51799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51800         Likewise.
51801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51802         Likewise.
51803         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51805         Likewise.
51806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51807         Likewise.
51808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51810         Likewise.
51811         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51812         (tests): Add test case tst-tls-atexit.
51813         (modules-names): Add shared library for tst-tls-atexit.
51814         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51815         (GLIBC_PRIVATE): Add __call_tls_dtors.
51816         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51817         for libstdc++.
51818         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51819         * stdlib/tst-tls-atexit.c: New test case.
51820         * stdlib/tst-tls-atexit-lib.c: New test case.
51822         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51824         * elf/Versions (ld): Add _dl_find_dso_for_object.
51825         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51826         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51827         (dl_open_worker): Use _dl_find_dso_for_object.
51828         * elf/dl-sym.c (do_sym): Likewise.
51829         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51831 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51833         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51834         Syntactic changes only.
51835         (_dl_runtime_profile): Do a tail-call to the resolved function.
51837 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51839         [BZ #13550]
51840         * sysdeps/x86_64/bp-asm.h: Remove file.
51841         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51842         <bp-sym.h> and <bp-asm.h>.
51843         (__clone): Do not use BP_SYM.
51844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51845         <bp-sym.h> and <bp-asm.h>.
51846         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51847         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51848         "bp-asm.h".
51849         (_setjmp): Do not use BP_SYM.
51850         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51851         "bp-asm.h".
51852         (setjmp): Do not use BP_SYM.
51853         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51854         libc_hidden_def.
51855         (mempcpy): Do not use BP_SYM in weak_alias.
51856         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51857         "bp-asm.h".
51858         (strchr): Do not use BP_SYM.
51859         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51860         "bp-asm.h".
51861         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51862         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51863         (_start): Do not use BP_SYM.
51864         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51865         "bp-asm.h".
51866         (strcat): Do not use BP_SYM.
51867         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51868         "bp-asm.h".
51869         (STRCMP): Do not use BP_SYM.
51870         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51871         "bp-asm.h".
51872         (STRCPY): Do not use BP_SYM.
51873         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51874         "bp-asm.h".
51875         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51876         "bp-asm.h".
51877         (FUNCTION): Do not use BP_SYM.
51878         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51879         weak_alias.
51880         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51882 2013-02-17  Andreas Jaeger  <aj@suse.de>
51884         * time/Versions: Sort entries.
51885         * string/Versions: Likewise.
51886         * resolv/Versions: Likewise.
51887         * posix/Versions: Likewise.
51888         * iconv/Versions: Likewise.
51889         * elf/Versions: Likewise.
51890         * wcsmbs/Versions: Likewise.
51892 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51894         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51895         loop termination condition.
51897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51898         variable to calculate EZ.
51899         (__sqr): Likewise.
51901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51902         the lower precision input.
51904 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51906         [BZ #13550]
51907         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51908         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51909         (run-via-rtld-prefix): Do not handle %-bp tests.
51910         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51911         (all-object-suffixes): Remove .ob.
51912         (bppfx): Remove variable.
51913         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51914         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51915         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51916         [$(build-bounded) = yes] (libtype.ob): Likewise.
51917         * Makerules (elide-routines.ob): Remove variable.
51918         (do-tests-clean): Do not handle *-bp.out.
51919         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51920         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51921         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51922         (tests): Do not include $(tests-bp.out).
51923         (xtests): Do not include $(xtests-bp.out).
51924         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51925         [$(build-bounded) = yes] ($(addprefix
51926         $(objpfx),$(binaries-bounded))): Remove rule.
51927         ($(objpfx)%-bp.out): Remove rule.
51928         * config.make.in (build-bounded): Remove variable.
51929         * crypt/Makefile [$(build-bounded) = yes]
51930         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51931         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51932         append to variable.
51933         [$(build-bounded) = yes] (install-lib): Likewise.
51934         [$(build-bounded) = yes] (generated): Likewise.
51935         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51936         Remove rule.
51937         * intl/Makefile [$(build-bounded) = yes]
51938         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51939         * math/Makefile [$(build-bounded) = yes]
51940         ($(tests:%=$(objpfx)%-bp): Likewise.
51941         * misc/Makefile [$(build-bounded) = yes]
51942         ($(objpfx)tst-tsearch-bp): Likewise.
51943         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51944         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51945         Remove dependency.
51946         * string/Makefile (o-objects.ob): Remove variable.
51947         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51948         (CFLAGS-.ob): Remove variable.
51949         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51950         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51951         both definitions of variable.
51952         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51953         (ASFLAGS-.ob): Remove variable.
51955 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51957         [BZ #13550]
51958         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51959         Remove __BOUNDED_POINTERS__ from condition.
51960         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51961         * string/bits/string2.h [!__NO_STRING_INLINES &&
51962         !__BOUNDED_POINTERS__]: Likewise.
51963         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51964         Likewise.
51965         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51966         Remove conditional code.
51967         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51968         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51969         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51970         condition.
51972         [BZ #13550]
51973         * csu/libc-start.c: Do not include <bp-sym.h>.
51974         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51975         * elf/dl-open.c: Do not include <bp-sym.h>.
51976         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51977         * math/fegetenv.c: Do not include <bp-sym.h>.
51978         (fegetenv): Do not use BP_SYM in versioned symbols.
51979         * nptl/sysdeps/pthread/bits/libc-lockP.h
51980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51981         <bp-sym.h>.
51982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51983         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51985         (__pthread_mutex_destroy): Likewise.
51986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51987         (__pthread_mutex_lock): Likewise.
51988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51989         (__pthread_mutex_trylock): Likewise.
51990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51991         (__pthread_mutex_unlock): Likewise.
51992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51993         (__pthread_mutexattr_init): Likewise.
51994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51995         (__pthread_mutexattr_destroy): Likewise.
51996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51997         (__pthread_mutexattr_settype): Likewise.
51998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51999         (__pthread_rwlock_init): Likewise.
52000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52001         (__pthread_rwlock_destroy): Likewise.
52002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52003         (__pthread_rwlock_rdlock): Likewise.
52004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52005         (__pthread_rwlock_tryrdlock): Likewise.
52006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52007         (__pthread_rwlock_wrlock): Likewise.
52008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52009         (__pthread_rwlock_trywrlock): Likewise.
52010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52011         (__pthread_rwlock_unlock): Likewise.
52012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52013         (__pthread_key_create): Likewise.
52014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52015         (__pthread_setspecific): Likewise.
52016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52017         (__pthread_getspecific): Likewise.
52018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52019         Likewise.
52020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52021         (_pthread_cleanup_push_defer): Likewise.
52022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52023         (_pthread_cleanup_pop_restore): Likewise.
52024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52025         (pthread_setcancelstate): Likewise.
52026         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52027         <bp-sym.h>.
52028         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52029         (memchr): Do not use BP_SYM in weak_alias.
52030         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52031         (fegetenv): Do not use BP_SYM in versioned symbols.
52032         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52033         (fesetenv): Do not use BP_SYM in versioned symbols.
52034         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52035         (feupdateenv): Do not use BP_SYM in versioned symbols.
52036         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52037         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52038         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52039         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52040         (open64): Do not use BP_SYM in weak_alias.
52041         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52042         (fegetenv): Do not use BP_SYM in versioned symbols.
52043         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52044         (fesetenv): Do not use BP_SYM in versioned symbols.
52045         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52046         (feupdateenv): Do not use BP_SYM in versioned symbols.
52047         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52048         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52049         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52050         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52051         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52052         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52054         <bp-sym.h>.
52055         (__libc_start_main): Do not use BP_SYM.
52057 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52060         redundant return line.
52061         (norm): Likewise.
52062         (denorm): Likewise.
52063         (dbl_mp): Likewise.
52064         (sub_magnitudes): Likewise.
52065         (__add): Likewise.
52066         (__sub): Likewise.
52067         (__mul): Likewise.
52068         (__inv): Likewise.
52069         (__dvd): Likewise.
52070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52071         (norm): Likewise.
52072         (denorm): Likewise.
52073         (dbl_mp): Likewise.
52074         (sub_magnitudes): Likewise.
52075         (__add): Likewise.
52076         (__sub): Likewise.
52077         (__mul): Likewise.
52078         (__inv): Likewise.
52079         (__dvd): Likewise.
52081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52082         instead of __mul.
52083         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52084         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52085         (cc32): Likewise.
52087         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52088         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52090         of __mul for squares.
52091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52092         function
52093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52094         Likewise.
52095         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52096         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52098 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52100         [BZ #13550]
52101         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52102         code.
52103         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52104         prototype or function definition.  Rename ubp_* variables and
52105         parameters.  Remove argv definitions conditional on
52106         [__BOUNDED_POINTERS__].
52107         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52108         * elf/dl-runtime.c (_dl_fixup): Likewise.
52109         * include/set-hooks.h (RUN_HOOK): Likewise.
52110         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52111         definition.
52112         * string/strcpy.c (strcpy): Do not use __unbounded.
52113         * sysdeps/generic/frame.h (struct layout): Likewise.
52114         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52115         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52116         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52117         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52118         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52119         (__backtrace): Likewise.
52120         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52121         use __ptrvalue.
52122         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52123         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52124         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52125         Likewise.
52126         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52127         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52128         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52129         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52130         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52131         Do not use __unbounded.
52132         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52133         Rename __unboundedrlimits parameter to rlimits in prototype.
52134         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52135         Do not use __unbounded.
52136         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52137         not use __ptrvalue.
52138         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52139         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52140         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52141         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52142         __ptrvalue or __unbounded.
52143         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52144         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52145         use __unbounded.
52146         (__new_msgctl): Do not use __ptrvalue.
52147         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52148         __unbounded.
52149         (__libc_msgrcv): Do not use __ptrvalue.
52150         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52151         startup_info): Do not use __unbounded.
52152         (__libc_start_main): Likewise.  Rename ubp_* variables and
52153         parameters.  Remove argv definitions conditional on
52154         [__BOUNDED_POINTERS__].
52155         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52156         __ptrvalue.
52157         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52158         use __unbounded.
52159         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52160         or __ptrvalue.
52161         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52162         use __unbounded.
52163         (__new_shmctl): Do not use __ptrvalue.
52164         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52165         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52166         Likewise.
52167         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52169         (__libc_sigaction): Likewise.
52170         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52172         Likewise.
52173         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52175 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52177         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52179         * string/mempcpy.c: Implement by calling memcpy.
52181 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52186         evaluation.
52188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52189         values in the mantissa.
52191         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52192         minimize writes to Z.
52193         (sub_magnitudes): Simplify code a bit.
52195 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52197         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52198         from the message.  The linker prefixes all warnings with that already.
52200 2013-02-12  Andreas Schwab  <schwab@suse.de>
52202         [BZ #15078]
52203         * posix/regexec.c (extend_buffers): Add parameter min_len.
52204         (check_matching): Pass minimum needed length.
52205         (clean_state_log_if_needed): Likewise.
52206         (get_subexp): Likewise.
52207         * posix/Makefile (tests): Add bug-regex34.
52208         (bug-regex34-ENV): Define.
52209         * posix/bug-regex34.c: New file.
52211         [BZ #11561]
52212         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52213         elements compare against the byte sequence of it, not its name.
52214         * posix/Makefile (tests): Add bug-regex35.
52215         (bug-regex35-ENV): Define.
52216         * posix/bug-regex35.c: New file.
52218 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52220         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52221         comment.
52222         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52223         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52224         (CHECK_EOL): Add undef.
52226 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52228         * bits/stdlib-bsearch.h: New file.
52229         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52230         * stdlib/stdlib.h: Likewise.
52232 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52234         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52235         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52236         declaration.
52237         * manual/search.texi (Array Search Function): Add missing const in
52238         lfind prototype.
52239         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52240         declaration to use rlim_t.
52241         (Basic Scheduling Functions): Remove erroneous const from
52242         sched_getparam prototype.  Remove erroneous * from
52243         sched_get_priority_max and sched_get_priority_min prototypes.
52244         (Resource Usage): Fix summary @comment on vtimes to refer to
52245         sys/vtimes.h rather than vtimes.h.
52246         Add missing *s in vtimes prototype.
52247         (Limits on Resources): Fix ulimit prototype to return long int.
52248         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52249         prototypes to use long int rather than double.
52250         (BSD Random): Fix initstate and setstate to use char *, not void *.
52251         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52252         prototype to make second argument 'struct aiocb64 *const[]'.
52253         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52254         (Status of AIO Operations): Remove erroneous const in aio_return and
52255         aio_return64 prototypes.
52256         (Synchronizing I/O): Fix sync prototype to return void.
52257         * manual/startup.texi (Suboptions): Remove an erroneous const in
52258         getsubopt prototype.
52259         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52260         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52261         use size_t rather than int.
52262         (Scanning All Users): Likewise for getpwent_r.
52263         (Setting Groups): Add missing const to setgroups prototype.
52264         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52265         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52266         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52267         'const void *' rather than 'const char *'.
52268         (Host Address Functions): Likewise for inet_ntop.
52269         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52270         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52271         ssize_t for return value.
52272         (Sending Data): Likewise for send, sendto, sendmsg.
52273         (Socket Option Functions): Add a missing const in setsockopt prototype.
52274         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52275         use wchar_t for the argument.
52276         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52277         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52278         take no arguments.
52279         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52280         double/float/long double for second argument.
52281         Fix return types of significand, significandf, significandl.
52282         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52283         argument in fchmod prototype.
52284         (File Owner): Use uid_t and gid_t in fchown prototype.
52285         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52286         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52287         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52288         use 'const struct dirent **' as argument types to CMP function pointer
52289         argument.
52290         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52291         (File Times): Fix summary magic @comment for struct utimbuf and utime
52292         to refer to utime.h, not time.h.
52293         * manual/string.texi (Argz Functions): Add missing const in
52294         argz_extract and argz_next prototypes.
52295         (Finding Tokens in a String): Likewise for basename.
52296         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52297         (Copying and Concatenation): Fix typo in wmemmove prototype.
52298         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52299         (Signal Stack): Remove erroneous const in sigstack prototype.
52300         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52301         prototype.
52302         (Simple Calendar Time): Likewise for stime.
52303         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52304         prototype.
52305         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52306         say sys/sysctl.h instead.
52307         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52308         and vsyslog prototypes.
52310 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52312         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52313         Remove.
52315 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52317         * misc/sys/mman.h: Fix typo in mremap comment.
52319 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52321         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52322         the '\0' terminator.
52324 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52326         [BZ #13550]
52327         * debug/segfault.c: Don't include <bp-checks.h>.
52328         * sysdeps/generic/bp-checks.h: Remove file.
52329         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52330         (__GETDENTS): Don't use CHECK_N.
52331         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52332         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52333         (__getgroups): Don't use CHECK_N.
52334         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52335         (setgroups): Don't use CHECK_N.
52336         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52337         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52338         (__libc_msgrcv): Don't use CHECK_N.
52339         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52340         (__libc_msgsnd): Don't use CHECK_N.
52341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52342         <bp-checks.h>.
52343         (__libc_pread): Don't use CHECK_N.
52344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52345         include <bp-checks.h>.
52346         (__libc_pread64): Don't use CHECK_N.
52347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52348         include <bp-checks.h>.
52349         (__libc_pwrite): Don't use CHECK_N.
52350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52351         include <bp-checks.h>.
52352         (__libc_pwrite64): Don't use CHECK_N.
52353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52354         <bp-checks.h>.
52355         (__libc_pread): Don't use CHECK_N.
52356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52357         include <bp-checks.h>.
52358         (__libc_pread64): Don't use CHECK_N.
52359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52360         include <bp-checks.h>.
52361         (__libc_pwrite): Don't use CHECK_N.
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52363         include <bp-checks.h>.
52364         (__libc_pwrite64): Don't use CHECK_N.
52365         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52366         (do_pread): Don't use CHECK_N.
52367         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52368         (do_pread64): Don't use CHECK_N.
52369         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52370         (do_pwrite): Don't use CHECK_N.
52371         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52372         (do_pwrite64): Don't use CHECK_N.
52373         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52374         (__libc_readv): Don't use CHECK_N.
52375         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52376         (semop): Don't use CHECK_N.
52377         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52378         <bp-checks.h>.
52379         (semtimedop): Don't use CHECK_N.
52380         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52381         (__libc_pread): Don't use CHECK_N.
52382         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52383         <bp-checks.h>.
52384         (__libc_pread64): Don't use CHECK_N.
52385         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52386         <bp-checks.h>.
52387         (__libc_pwrite): Don't use CHECK_N.
52388         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52389         <bp-checks.h>.
52390         (__libc_pwrite64): Don't use CHECK_N.
52391         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52392         <bp-checks.h>.
52393         (__libc_msgrcv): Don't use CHECK_N.
52394         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52395         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52396         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52397         (__libc_writev): Don't use CHECK_N.
52399 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52401         * string/strcpy.c: Removed unused variable.
52403         * Makeconfig (+sysdep-includes): Define with := rather than =.
52404         Use an existing include/ subdir of each sysdeps dir before it.
52406 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52408         * nscd/connection.c (register_traced_file): Comment function.
52409         [HAVE_INOTIFY] (union __inev): Define.
52410         [HAVE_INOTIFY] (inotify_check_files): New function.
52411         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52412         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52413         clear_db_cache.
52414         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52416 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52418         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52419         loaded if not already and that a failure is permanent.
52421 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52423         [BZ #15006]
52424         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52425         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52427 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52429         [BZ #13550]
52430         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52431         (CHECK_1_NULL_OK): Likewise.
52432         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52433         (__fxstat): Do not use CHECK_1.
52434         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52435         <bp-checks.h>.
52436         (___fxstat64): Do not use CHECK_1.
52437         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52438         <bp-checks.h>.
52439         (__fxstatat): Do not use CHECK_1.
52440         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52441         <bp-checks.h>.
52442         (__fxstatat64): Do not use CHECK_1.
52443         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52444         <bp-checks.h>.
52445         (__fxstat): Do not use CHECK_1.
52446         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52447         <bp-checks.h>.
52448         (__fxstatat): Do not use CHECK_1.
52449         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52450         <bp-checks.h>.
52451         (__getresgid): Do not use CHECK_1.
52452         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52453         <bp-checks.h>.
52454         (__getresuid): Do not use CHECK_1.
52455         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52456         <bp-checks.h>.
52457         (__lxstat): Do not use CHECK_1.
52458         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52459         <bp-checks.h>.
52460         (__old_msgctl): Do not use CHECK_1.
52461         (__new_msgctl): Likewise.
52462         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52463         <bp-checks.h>.
52464         (__new_setrlimit): Do not use CHECK_1.
52465         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52466         <bp-checks.h>.
52467         (__old_shmctl): Do not use CHECK_1.
52468         (__new_shmctl): Likewise.
52469         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52470         <bp-checks.h>.
52471         (__xstat): Do not use CHECK_1.
52472         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52473         (__lxstat): Do not use CHECK_1.
52474         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52475         <bp-checks.h>.
52476         (___lxstat64): Do not use CHECK_1.
52477         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52478         (__old_msgctl): Do not use CHECK_1.
52479         (__new_msgctl): Likewise.
52480         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52481         <bp-checks.h>.
52482         (__gettimeofday): Do not use CHECK_1.
52483         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52484         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52485         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52486         <bp-checks.h>.
52487         (__gettimeofday): Do not use CHECK_1.
52488         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52489         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52490         (__new_shmctl): Do not use CHECK_1.
52491         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52492         <bp-checks.h>.
52493         (do_sigtimedwait): Do not use CHECK_1.
52494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52495         <bp-checks.h>.
52496         (do_sigwaitinfo): Do not use CHECK_1.
52497         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52498         <bp-checks.h>.
52499         (msgctl): Do not use CHECK_1.
52500         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52501         <bp-checks.h>.
52502         (shmctl): Do not use CHECK_1.
52503         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52504         (ustat): Do not use CHECK_1.
52505         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52506         <bp-checks.h>.
52507         (__fxstat): Do not use CHECK_1.
52508         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52509         <bp-checks.h>.
52510         (__fxstatat): Do not use CHECK_1.
52511         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52512         <bp-checks.h>.
52513         (__lxstat): Do not use CHECK_1.
52514         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52515         <bp-checks.h>.
52516         (__xstat): Do not use CHECK_1.
52517         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52518         (__xstat): Do not use CHECK_1.
52519         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52520         (___xstat64): Do not use CHECK_1.
52522         [BZ #13550]
52523         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52524         definitions.
52525         (CHECK_BOUNDS_HIGH): Likewise.
52526         * string/strcpy.c: Do not include <bp-checks.h>.
52527         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52529 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52531         * nscd/nscd-client.h (__nscd_drop_map_ref):
52532         Add __attribute__ ((unused)).
52533         * nis/nss-nisplus.h (niserr2nss): Likewise.
52535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52536         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52538         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52539         Remove inline keyword.
52540         * include/rounding-mode.h (round_away): Likewise.
52541         * libio/wfileops.c (adjust_wide_data): Likewise.
52542         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52543         (__m128i_strloadu_tolower): Likewise.
52544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52545         (__m128i_strloadu_tolower): Likewise.
52546         * time/mktime.c (ydhms_diff): Likewise.
52547         * locale/elem-hash.h (elem_hash): Likewise.
52548         * locale/setlocale.c (setdata): Likewise.
52549         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52550         (re_string_wchar_at): Likewise.
52551         (bitset_not, bitset_merge, bitset_mask): Likewise.
52552         [!(__GNUC__ > 3)] (inline): Remove macro.
52553         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52554         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52555         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52556         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52557         * string/memcmp.c (memcmp_bytes): Likewise.
52558         * locale/programs/locarchive.c (compute_hashval): Likewise.
52559         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52560         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52561         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52562         * nss/getent.c (print_rpc, print_protocols): Likewise.
52563         (print_passwd, print_group, print_aliases): Likewise.
52564         * nis/nss-nisplus.h (niserr2nss): Likewise.
52565         * nscd/connections.c (restart_p): Likewise.
52566         Change return type to bool.
52568 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52570         * Makeconfig (all-Depend-files): Add existing
52571         $(sorted-subdirs:=/Depend) files.
52572         (all-subdirs): Remove nss.
52573         * sysdeps/unix/inet/Subdirs: Add it here instead.
52574         * hesiod/Depend: New file.
52576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52577         instead of calling alloca.
52579         * io/lseek.c (__lseek): Rename to __libc_lseek.
52580         Define __lseek as an alias.
52582         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52584 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52586         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52587         else clause and remove check for non-standard endianness.
52589 2013-02-04  David S. Miller  <davem@davemloft.net>
52591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52593 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #13550]
52596         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52597         (__ubp_memchr): Remove prototype.
52598         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52599         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52600         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52601         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52602         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52603         Remove alias.
52604         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52605         (__ubp_memchr): Likewise.
52606         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52607         (__ubp_memchr): Likewise.
52608         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52609         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52610         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52612         CHECK_STRING.
52613         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52614         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52615         (__getcwd): Do not use CHECK_STRING.
52616         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52617         <bp-checks.h>.
52618         (__real_chown): Do not use CHECK_STRING.
52619         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52620         <bp-checks.h>.
52621         (fchownat): Do not use CHECK_STRING.
52622         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52623         CHECK_STRING.
52624         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52625         <bp-checks.h>.
52626         (__lchown): Do not use CHECK_STRING.
52627         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52628         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52629         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52630         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52632         include <bp-checks.h>.
52633         (truncate64): Do not use CHECK_STRING.
52634         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52635         <bp-checks.h>.
52636         (__real_chown): Do not use CHECK_STRING.
52637         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52638         <bp-checks.h>.
52639         (__lchown): Do not use CHECK_STRING.
52640         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52641         <bp-checks.h>.
52642         (__chown): Do not use CHECK_STRING.
52643         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52644         <bp-checks.h>.
52645         (truncate64): Do not use CHECK_STRING.
52646         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52647         Likewise.
52648         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52649         (__xmknod): Do not use CHECK_STRING.
52650         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52651         <bp-checks.h>.
52652         (__xmknodat): Do not use CHECK_STRING.
52653         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52654         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52656 2013-02-04  Andreas Schwab  <schwab@suse.de>
52658         [BZ #14142]
52659         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52660         * include/netdb.h: Likewise for h_errno.
52661         * elf/tst-stackguard1.c: Include <tls.h>.
52663 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52665         * elf/link.h (struct link_map): Extend the l_addr comment.
52666         * include/link.h (struct link_map): Likewise.
52668 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52670         [BZ #13550]
52671         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52672         (BOUNDED_1): Remove macro.
52673         * debug/backtrace.c: Don't include <bp-checks.h>.
52674         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52675         (__backtrace): Likewise.
52676         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52677         <bp-checks.h>.
52678         (__backtrace): Don't use BOUNDED_1.
52679         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52680         <bp-checks.h>.
52681         (__backtrace): Don't use BOUNDED_1.
52682         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52683         (__backtrace): Don't use BOUNDED_1.
52684         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52685         (shmat): Don't use BOUNDED_N.
52687 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52689         [BZ #13550]
52690         * sysdeps/generic/bp-start.h: Remove file.
52691         * csu/libc-start.c: Don't include <bp-start.h>.
52692         (LIBC_START_MAIN): Set up __environ directly instead of using
52693         INIT_ARGV_and_ENVIRON.
52694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52695         <bp-start.h>.
52697         [BZ #13550]
52698         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52699         definitions.
52700         (CHECK_FCNTL): Likewise.
52701         (CHECK_N_PAGES): Likewise.
52703         [BZ #13550]
52704         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52705         definitions.
52706         (CHECK_SIGSET_NULL_OK): Likewise.
52707         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52708         <bp-checks.h>.
52709         (sigpending): Don't use CHECK_SIGSET.
52710         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52711         <bp-checks.h>.
52712         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52713         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52714         <bp-checks.h>.
52715         (do_sigsuspend): Don't use CHECK_SIGSET.
52716         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52717         use CHECK_SIGSET.
52718         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52719         (do_sigwait): Don't use CHECK_SIGSET.
52720         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52721         use CHECK_SIGSET.
52722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52723         include <bp-checks.h>.
52724         (sigpending): Don't use CHECK_SIGSET.
52725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52726         include <bp-checks.h>.
52727         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52728         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52729         <bp-checks.h>.
52730         (sigpending): Don't use CHECK_SIGSET.
52731         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52732         <bp-checks.h>.
52733         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52735         [BZ #13550]
52736         * sysdeps/generic/bp-semctl.h: Remove file.
52737         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52738         <bp-checks.h> and <bp-semctl.h>.
52739         (__old_semctl): Don't use CHECK_SEMCTL.
52740         (__new_semctl): Likewise.
52741         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52742         and <bp-semctl.h>.
52743         (__old_semctl): Don't use CHECK_SEMCTL.
52744         (__new_semctl): Likewise.
52745         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52746         <bp-checks.h> and <bp-semctl.h>.
52747         (__old_semctl): Don't use CHECK_SEMCTL.
52748         (__new_semctl): Likewise.
52749         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52750         <bp-checks.h> and <bp-semctl.h>.
52751         (semctl): Don't use CHECK_SEMCTL.
52753         [BZ #13550]
52754         * Makerules (elide-bp-thunks): Remove variable.
52755         (elide-routines.oS): Don't use $(elide-bp-thunks).
52756         (elide-routines.os): Likewise.
52757         (elide-routines.o): Likewise.
52758         (elide-routines.op): Likewise.
52759         (elide-routines.og): Likewise.
52760         (objects): Don't use $(bp-thunks).
52761         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52762         include.
52763         (common-generated): Do not add s-proto-bp.d.
52764         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52765         (int): Likewise.
52766         (typ): Likewise.
52767         Do not generate makefile rules for bounded-pointer thunks.
52768         * sysdeps/generic/bp-thunks.h: Remove file.
52769         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52770         * sysdeps/unix/s-proto-bp.S: Likewise.
52772         [BZ #15062]
52773         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52774         parts of result separately when argument is not close to line from
52775         -i to i and one part of argument is small.
52776         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52777         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52778         * math/libm-test.inc (cacos_test): Add more tests.
52779         (casin_test): Likewise.
52780         (casinh_test): Likewise.
52781         * sysdeps/i386/fpu/libm-test-ulps: Update.
52782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52784 2013-01-31  David S. Miller  <davem@davemloft.net>
52786         * po/de.po: Update from translation team.
52788 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52790         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52792 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52794         * configure.in (_AC_PROG_CC_C89): New definition.
52795         * configure: Regenerate.
52797         * configure.in (AC_PROG_CPP): New definition.
52798         * configure: Regenerate.
52800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52802         * debug/tst-backtrace.h: New file.
52803         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52804         (ret): Remove variable.
52805         (x): Likewise.
52806         (FAIL): Remove macro.
52807         (NO_INLINE): Likewise.
52808         (fn1): Use match function instead of strstr.
52809         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52810         (ret): Remove variable.
52811         (x): Likewise.
52812         (FAIL): Remove macro.
52813         (NO_INLINE): Likewise.
52814         (fn): Use match function instead of strstr.
52815         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52816         (ret): Remove variable.
52817         (x): Likewise.
52818         (FAIL): Remove macro.
52819         (NO_INLINE): Likewise.
52820         (handle_signal): Use match function instead of strstr.
52821         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52822         (ret): Remove variable.
52823         (x): Likewise.
52824         (FAIL): Remove macro.
52825         (NO_INLINE): Likewise.
52826         (handle_signal): Use match function instead of strstr.
52828 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52830         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52832 2013-01-23  David S. Miller  <davem@davemloft.net>
52834         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52835         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52836         argument of CAS if possible.
52837         * sysdeps/sparc/sparc64/bits/atomic.h
52838         (__arch_compare_and_exchange_val_32_acq): Likewise.
52839         (__arch_compare_and_exchange_val_64_acq): Likewise.
52841 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52843         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52844         * sysdeps/posix/ulimit.c: ... this.
52845         Include <limits.h>.
52846         * sysdeps/unix/bsd/ulimit.c: Remove file.
52848 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52850         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52851         (LDFLAGS-tst-array5): Likewise.
52853 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52855         [BZ #15036]
52856         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52857         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52858         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52859         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52861 2013-01-21  David S. Miller  <davem@davemloft.net>
52863         * sysdeps/sparc/backtrace.c: New file.
52864         * sysdeps/sparc/sparc32/backtrace.h: New file.
52865         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52866         * sysdeps/sparc/sparc64/backtrace.h: New file.
52867         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52868         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52869         -funwind-tables.
52871 2013-01-21  Andreas Schwab  <schwab@suse.de>
52873         [BZ #15020]
52874         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52875         closed its stdout.
52877 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52880         "mpa2.h".
52881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52883 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52884             Mark Mitchell  <mark@codesourcery.com>
52885             Tom de Vries  <tom@codesourcery.com>
52886             Paul Pluzhnikov  <ppluzhnikov@google.com>
52888         * debug/tst-backtrace2.c: New file.
52889         * debug/tst-backtrace3.c: Likewise.
52890         * debug/tst-backtrace4.c: Likewise.
52891         * debug/tst-backtrace5.c: Likewise.
52892         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52893         (CFLAGS-tst-backtrace3.c): Likewise.
52894         (CFLAGS-tst-backtrace4.c): Likewise.
52895         (CFLAGS-tst-backtrace5.c): Likewise.
52896         (LDFLAGS-tst-backtrace2): Likewise.
52897         (LDFLAGS-tst-backtrace3): Likewise.
52898         (LDFLAGS-tst-backtrace4): Likewise.
52899         (LDFLAGS-tst-backtrace5): Likewise.
52900         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52901         tst-backtrace4 and tst-backtrace5.
52903 2013-01-18  Anton Blanchard  <anton@samba.org>
52904             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52906         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52907         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52909         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52911         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52912         "+r" and remove output regs list as redundant.  Add explicit inline
52913         asm to specify register of return val to work around compiler codegen
52914         bug.  Remove (int) cast on return value.  Add return type parameter to
52915         use in macro so that this macro does not truncate return value for
52916         64-bit values.
52917         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52918         pass to INTERNAL_VSYSCALL_NCS.
52919         (INLINE_VSYSCALL): Add 'long int' as return type to
52920         INTERNAL_VSYSCALL_NCS macro invocation.
52921         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52922         INTERNAL_VSYSCALL_NCS macro invocation.
52923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52925 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52927         [BZ #14496]
52928         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52929         Fix application of SIMD FP exception mask.
52931         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52932         mp_no from a power of two.
52933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52934         __mpexp_twomm1.  Use __pow_mp.
52936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52937         multiplication.
52939 2013-01-17  David S. Miller  <davem@davemloft.net>
52941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52943 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52945         [BZ #15023]
52946         * include/complex.h: Condition contents on [!_COMPLEX_H].
52947         (__kernel_casinhf): New prototype.
52948         (__kernel_casinh): Likewise.
52949         (__kernel_casinhl): Likewise.
52950         * math/Makefile (libm_calls): Add k_casinh.
52951         * math/k_casinh.c: New file.
52952         * math/k_casinhf.c: Likewise.
52953         * math/k_casinhl.c: Likewise.
52954         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52955         finite nonzero arguments.
52956         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52957         finite nonzero arguments.
52958         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52959         finite nonzero arguments.
52960         * math/s_casinh.c: Do not include <float.h>.
52961         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52962         * math/s_casinhf.c: Do not include <float.h>.
52963         (__casinhf): Move code for finite nonzero arguments to
52964         k_casinhf.c.
52965         * math/s_casinhl.c: Do not include <float.h>.
52966         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52967         redefine.
52968         (__casinhl): Move code for finite nonzero arguments to
52969         k_casinhl.c.
52970         * math/libm-test.inc (cacos_test): Add more tests.
52971         * sysdeps/i386/fpu/libm-test-ulps: Update.
52972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52974 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52976         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52977         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52978         [!HAVE_MREMAP]: Remove [defined linux] case.
52979         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52981 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52983         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52985 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52987         * elf/elf.h (R_386_SIZE32): New relocation.
52988         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52989         R_386_SIZE32.
52990         (elf_machine_rela): Likewise.
52991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52992         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52994 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52996         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52997         (FP_FAST_FMA): Do not define.
52998         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52999         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53000         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53001         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53002         !_SOFT_FLOAT]: Likewise.
53003         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53004         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53005         value.
53006         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53007         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53009         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53010         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53011         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53012         file.
53014 2013-01-16  Andreas Schwab  <schwab@suse.de>
53016         [BZ #14327]
53017         * include/stdlib.h (__mktemp): Add declaration.
53018         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53019         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53021 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53023         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53024         definitions.
53025         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53026         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53027         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53028         definitions here.
53029         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53030         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53031         definitions.
53032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53033         and ONE.
53034         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53035         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53036         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53037         definitions.
53038         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53039         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53040         definitions.
53041         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53043         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53045 2013-01-15  David S. Miller  <davem@davemloft.net>
53047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53048         trunc{,f} to libm-sysdep_routes.
53049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53051         file.
53052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53054         file.
53055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53056         file.
53057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53059         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53060         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53061         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53062         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53063         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53064         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53067         nearbyint{,f} to libm-sysdep_routes.
53068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53070         New file.
53071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53072         file.
53073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53074         New file.
53075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53076         file.
53077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53079         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53080         file.
53081         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53082         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53083         file.
53084         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53085         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53086         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53088         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53089         libc_feholdexcept and libc_fesetenv.
53091 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53093         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53095 2013-01-14  David S. Miller  <davem@davemloft.net>
53097         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53098         (SPARC_ASM_VIS2_IFUNC): Likewise.
53099         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53101         use of 'siam' instruction.
53102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53103         Likewise.
53104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53105         Likewise.
53106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53107         Likewise.
53108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53113         file.
53114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53115         file.
53116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53117         file.
53118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53119         file.
53120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53125         new VIS2 routines.
53126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53129         Likewise.
53130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53135         routines to libm-sysdep_routines.
53136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53139         fdim/fdimf to libm-sysdep_routines.
53140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53141         file.
53142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53144         file.
53145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53148         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53149         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53150         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53151         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53153 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53155         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53156         to optimize copies.
53158         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53163         local variable MPTWO.
53164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53165         Likewise.
53167 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53169         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53170         GLOB_NOESCAPE.
53172 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53174         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53176 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53178         * manual/pattern.texi (glob_t): Document gl_flags.
53179         (glob64_t): Likewise.
53181 2013-01-11  David S. Miller  <davem@davemloft.net>
53183         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53184         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53185         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53186         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53187         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53188         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53189         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53190         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53191         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53192         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53193         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53194         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53195         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53197         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53198         sparc V9 rather than using V8 code.
53199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53202         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53203         Move to...
53204         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53205         Here.
53207 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53209         [BZ #14941]
53210         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53211         not in the main loop.
53212         * configure: Regenerated.
53214 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53216         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53217         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53218         to just #else.
53219         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53220         [!__GLIBC_HAVE_LONG_LONG] case.
53221         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53222         condition to just #else.
53223         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53224         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53225         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53226         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53227         unconditional.
53228         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53229         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53230         #elif condition to just #else.
53231         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53232         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53233         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53234         #elif condition to just #else.
53236 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53238         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53239         (EF_MIPS_ARCH_64): Fix value.
53240         (EF_MIPS_ARCH_32R2): New.
53241         (EF_MIPS_ARCH_64R2): New.
53243 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53245         * Makeconfig (+link-pie-before-libc): New.
53246         (+link-pie-after-libc): Likewise.
53247         (+link-pie-tests): Likewise.
53248         (+link-pie): Rewritten.
53249         (link-before-libc): Remove $(config-LDFLAGS).
53250         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53251         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53252         (config-LDFLAGS): Renamed to ...
53253         (rtld-LDFLAGS): This.
53254         (rtld-tests-LDFLAGS): New macro.
53255         (link-libc-rpath-link): Likewise.
53256         (link-libc-tests-rpath-link): Likewise.
53257         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53258         (link-libc): Prepand $(link-libc-rpath-link).
53259         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53260         (test-program-prefix): New macro.
53261         (test-via-rtld-prefix): Likewise.
53262         (test-program-cmd): Likewise.
53263         (host-test-program-cmd): Likewise.
53264         * Makefile ($(common-objpfx)testrun.sh): Replace
53265         $(run-program-prefix) with $(test-program-prefix).
53266         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53267         $(rtld-LDFLAGS).
53268         ($(common-objpfx)shlib.lds): Likewise.
53269         (build-module-helper): Likewise.
53270         ($(common-objpfx)format.lds): Likewise.
53271         * Rules (binaries-pie-tests): New.
53272         (binaries-pie-notests): Likewise.
53273         (binaries-pie): Rewritten.
53274         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53275         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53276         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53277         (make-test-out): Replace $(host-built-program-cmd) with
53278         $(host-test-program-cmd).
53279         * config.make.in (build-hardcoded-path-in-tests): New variable.
53280         * configure.in (--enable-hardcoded-path-in-tests): New configure
53281         option.
53282         (hardcoded_path_in_tests): New AC_SUBST.
53283         * configure: Regenerated.
53284         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53285         $(built-program-cmd) with $(test-program-cmd).
53286         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53287         (test_program_cmd): This.
53288         * elf/Makefile ($(objpfx)order.out): Run test with
53289         $(test-program-prefix).
53290         ($(objpfx)order2.out): Likewise.
53291         ($(objpfx)tst-initorder.out): Likewise.
53292         ($(objpfx)tst-initorder2.out): Likewise.
53293         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53294         $(test-program-cmd).
53295         ($(objpfx)tst-array1-static.out): Likewise.
53296         ($(objpfx)tst-array2.out): Likewise.
53297         ($(objpfx)tst-array3.out): Likewise.
53298         ($(objpfx)tst-array4.out): Likewise.
53299         ($(objpfx)tst-array5.out): Likewise.
53300         ($(objpfx)tst-array5-static.out): Likewise.
53301         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53302         $(test-program-cmd).
53303         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53304         $(run-program-prefix) with $(test-program-prefix).
53305         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53306         (test_program_prefix): This.
53307         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53308         $(run-program-prefix) with $(test-program-prefix).
53309         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53310         (test_program_prefix): This.
53311         * iconvdata/tst-tables.sh: Likewise.
53312         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53313         $(run-program-prefix) with $(test-program-prefix).
53314         ($(objpfx)tst-translit.out): Likewise.
53315         ($(objpfx)tst-gettext2.out): Likewise.
53316         ($(objpfx)tst-gettext4.out): Likewise.
53317         ($(objpfx)tst-gettext6.out): Likewise.
53318         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53319         (test_program_prefix): This.
53320         * intl/tst-gettext2.sh: Likewise.
53321         * intl/tst-gettext4.sh  Likewise.
53322         * intl/tst-gettext6.sh: Likewise.
53323         * intl/tst-translit.sh: Likewise.
53324         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53325         with $(test-program-cmd).
53326         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53327         $(run-program-prefix) with $(test-program-prefix).
53328         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53329         (test_program_prefix): This.
53330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53331         $(run-program-prefix) with $(test-program-prefix).
53332         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53333         (test_program_prefix): This.
53334         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53335         * posix/Makefile ($(objpfx)globtest.out): Replace
53336         $(run-via-rtld-prefix) and $(test-wrapper) with
53337         $(test-program-prefix) and $(test-via-rtld-prefix).
53338         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53339         $(test-program-prefix).
53340         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53341         $(host-test-program-cmd).
53342         (tst-spawn-ARGS): Likewise.
53343         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53344         $(test-program-prefix).
53345         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53346         (test_via_rtld_prefix): This.
53347         (test_wrapper): Renamed to ...
53348         (test_program_prefix): This.
53349         (run_program_prefix): Replaced by test_program_prefix.
53350         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53351         (test_program_prefix): This.
53352         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53353         with $(host-test-program-cmd).
53354         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53355         $(run-program-prefix) with $(test-program-prefix).
53356         ($(objpfx)tst-printf.out): Likewise.
53357         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53358         $(test-program-cmd).
53359         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53360         (test_program_prefix): This.
53361         * stdio-common/tst-unbputc.sh: Likewise.
53362         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53363         $(run-program-prefix) with $(test-program-prefix).
53364         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53365         (test_program_prefix): This.
53366         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53367         $(built-program-cmd) with $(test-program-cmd).
53369 2013-01-11  Andreas Jaeger  <aj@suse.de>
53371         [BZ #15003]
53372         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53373         value. Sync with Linux 3.7.
53375 2013-01-10  David S. Miller  <davem@davemloft.net>
53377         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53378         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53379         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53381 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53383         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53384         never set.
53385         * configure: Regenerated.
53387 2013-01-10  David S. Miller  <davem@davemloft.net>
53389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53390         sparc V9 rather than using V8 code.
53391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53394 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53396         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53397         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53398         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53399         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53400         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53401         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53402         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53403         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53404         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53405         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53406         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53407         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53408         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53409         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53410         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53411         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53412         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53413         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53414         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53415         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53416         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53417         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53418         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53419         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53420         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53421         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53422         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53424 2013-01-10  David S. Miller  <davem@davemloft.net>
53426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53428 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53430         * posix/Makefile (tests-static): New variable.
53431         (tests): Add $(tests-static).
53432         (tst-exec-static-ARGS): New variable.
53433         (tst-spawn-static-ARGS): Likewise.
53434         * posix/tst-exec-static.c: New file.
53435         * posix/tst-spawn-static.c: Likewise.
53436         * posix/tst-exec.c: Support run directly.
53437         * posix/tst-spawn.c: Likewise.
53439 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53441         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53442         long.
53443         * math/bits/mathcalls.h (llrint): Likewise.
53444         (llround): Likewise.
53445         * stdlib/stdlib.h (struct drand48_data): Likewise.
53446         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53447         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53448         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53449         Likewise.
53450         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53451         Likewise.
53452         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53453         (elf_greg_t): Likewise.
53454         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53455         (__jmp_buf): Likewise.
53456         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53457         definitions.
53458         (llrint): Likewise, for all definitions.
53459         (llrintl): Likewise.
53461         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53462         Remove [__GNUC__] condition.
53463         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53464         condition to just [__USE_ISOC99].
53465         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53467 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53469         [BZ #14200]
53470         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53471         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53472         defined.
53473         (_POSIX_V6_ILP32_OFF32): Likewise.
53474         (_XBS5_ILP32_OFF32): Likewise.
53475         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53476         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53478 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53480         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53483         doubles __mpexp_twomm1.  Adjust usage.
53484         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53485         Remove.
53487 2013-01-10  Andreas Schwab  <schwab@suse.de>
53489         [BZ #14964]
53490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53491         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53493 2013-01-09  David S. Miller  <davem@davemloft.net>
53495         [BZ #15003]
53496         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53497         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53498         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53499         (TCP_FASTOPEN): Define.
53500         (tcp_repair_opt): New structure.
53501         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53502         enum values.
53503         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53504         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53505         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53506         (tcp_cookie_transactions): New structure.
53508 2013-01-09  Anton Blanchard  <anton@samba.org>
53510         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53511         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53513         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53515 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53517         * include/features.h (__USE_ANSI): Remove.
53519 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53521         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53523         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53525 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53527         * sysdeps/s390/fpu/libm-test-ulps: Update.
53529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53531         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53532         (__acr): Likewise.
53533         (__cpy): Likewise.
53534         (norm): Likewise.
53535         (denorm): Likewise.
53536         (__mp_dbl): Likewise.
53537         (__dbl_mp): Likewise.
53538         (add_magnitudes): Likewise.
53539         (sub_magnitudes): Likewise.
53540         (__add): Likewise.
53541         (__sub): Likewise.
53542         (__mul): Likewise.
53543         (__inv): Likewise.
53544         (__dvd): Likewise.
53545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53546         (__acr): Likewise.
53547         (__cpy): Likewise.
53548         (norm): Likewise.
53549         (denorm): Likewise.
53550         (__mp_dbl): Likewise.
53551         (__dbl_mp): Likewise.
53552         (add_magnitudes): Likewise.
53553         (sub_magnitudes): Likewise.
53554         (__add): Likewise.
53555         (__sub): Likewise.
53556         (__mul): Likewise.
53557         (__inv): Likewise.
53558         (__dvd): Likewise.
53559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53560         (__acr): Likewise.
53561         (__cpy): Likewise.
53562         (norm): Likewise.
53563         (denorm): Likewise.
53564         (__mp_dbl): Likewise.
53565         (__dbl_mp): Likewise.
53566         (add_magnitudes): Likewise.
53567         (sub_magnitudes): Likewise.
53568         (__add): Likewise.
53569         (__sub): Likewise.
53570         (__mul): Likewise.
53571         (__inv): Likewise.
53572         (__dvd): Likewise.
53574 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53576         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53577         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53578         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53579         2 && __USE_EXTERN_INLINES]: Likewise.
53581 2013-01-08  Andreas Jaeger  <aj@suse.de>
53583         [BZ# 14985]
53584         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53585         Remove.
53586         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53587         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53589 2013-01-07  Anton Blanchard  <anton@samba.org>
53591         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53592         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53593         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53594         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53595         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53596         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53597         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53598         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53601         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53602         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53605         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53606         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53607         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53609         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53610         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53611         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53612         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53613         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53614         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53615         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53617         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53618         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53620         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53621         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53623         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53624         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53625         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53626         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53627         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53628         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53629         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53631         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53633         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53635 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53637         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53638         (__MALLOC_PMT): Likewise.
53639         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53640         [__GNUC__], only on [_LIBC].
53641         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53642         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53643         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53644         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53645         forward declaration.
53646         (realloc_hook_ini): Likewise.
53647         (memalign_hook_ini): Likewise.
53648         (__libc_memalign): Do not use __MALLOC_PMT in variable
53649         declaration.
53650         (__libc_valloc): Likewise.
53651         (__libc_pvalloc): Likewise.
53652         (__libc_calloc): Likewise.
53653         (__posix_memalign): Likewise.
53655         [BZ #14996]
53656         * math/s_casinh.c: Include <float.h>.
53657         (__casinh): Do not do computation with squaring and square root
53658         for large arguments.
53659         * math/s_casinhf.c: Include <float.h>.
53660         (__casinhf): Do not do computation with squaring and square root
53661         for large arguments.
53662         * math/s_casinhl.c: Include <float.h>.
53663         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53664         (__casinhl): Do not do computation with squaring and square root
53665         for large arguments.
53666         * math/libm-test.inc (casin_test): Add more tests.
53667         (casinh_test): Likewise.
53668         * sysdeps/i386/fpu/libm-test-ulps: Update.
53669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53671 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53673         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53674         (__x86_64_raw_data_cache_size): Likewise.
53675         (__x86_64_data_cache_size_half): Likewise.
53676         (__x86_64_raw_data_cache_size_half): Likewise.
53677         (__x86_64_shared_cache_size): Likewise.
53678         (__x86_64_raw_shared_cache_size): Likewise.
53679         (__x86_64_shared_cache_size_half): Likewise.
53680         (__x86_64_raw_shared_cache_size_half): Likewise.
53681         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53682         to ...
53683         (__x86_data_cache_size): This.
53684         (__x86_64_raw_data_cache_size): Renamed to ...
53685         (__x86_raw_data_cache_size): This.
53686         (__x86_64_data_cache_size_half): Renamed to ...
53687         (__x86_data_cache_size_half): This.
53688         (__x86_64_raw_data_cache_size_half): Renamed to ...
53689         (__x86_raw_data_cache_size_half): This.
53690         (__x86_64_shared_cache_size): Renamed to ...
53691         (__x86_shared_cache_size): This.
53692         (__x86_64_raw_shared_cache_size): Renamed to ...
53693         (__x86_raw_shared_cache_size): This.
53694         (__x86_64_shared_cache_size_half): Renamed to ...
53695         (__x86_shared_cache_size_half): This.
53696         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53697         (__x86_raw_shared_cache_size_half): This.
53698         * sysdeps/x86_64/memcpy.S: Updated.
53699         * sysdeps/x86_64/memset.S: Likewise.
53700         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53701         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53704 2013-01-04  David S. Miller  <davem@davemloft.net>
53706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53708 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53710         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53711         1 to avoid redefinition warning.
53712         (__USE_GNU): Don't define.
53713         (init_signaling_nan): Protoize.
53715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53717 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53719         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53721         (__cpymn): Likewise.
53722         (norm): Remove commented code.
53723         (denorm): Likewise.
53724         (__mp_dbl): Likewise.
53725         (__inv): Likewise.
53726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53727         (__cpymn): Likewise.
53728         (norm): Remove commented code.
53729         (denorm): Likewise.
53730         (__mp_dbl): Likewise.
53731         (__inv): Likewise.
53733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53734         mp_no value for 1.0 and 2.0.
53735         (norm): Use RADIXI instead of radixi.d.
53736         (denorm): Likewise.
53737         (__mul): Use 0.0 instead of zero.d.
53738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53739         mp_no value for 1.0 and 2.0.
53740         (norm): Use RADIXI instead of radixi.d.
53741         (denorm): Likewise.
53742         (__mul): Use 0.0 instead of zero.d.
53744 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53746         [BZ #14994]
53747         * math/s_casinh.c (__casinh): Reduce finite argument to first
53748         quadrant then set signs of results at the end.
53749         * math/s_casinhf.c (__casinhf): Likewise.
53750         * math/s_casinhl.c (__casinhl): Likewise.
53751         * math/libm-test.inc (casin_test): Add more tests.
53752         (casinh_test): Likewise.
53753         * sysdeps/i386/fpu/libm-test-ulps: Update.
53754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53756 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53758         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53760         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53762         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53763         declarations.
53764         (denorm): Likewise.
53765         (__mp_dbl): Likewise.
53766         (__inv): Likewise.
53768         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53769         and adjust the header comment.
53771         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53772         variable name from declaration.
53774 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53777         Initialize COMMON_CPUID_INDEX_7 element.
53778         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53779         (CPUID_RTM): Likewise.
53780         (HAS_RTM): Likewise.
53781         (COMMON_CPUID_INDEX_7): New enum.
53783 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53785         [BZ #14981]
53786         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53787         size is zero, record memory as freed.
53789 2013-01-03  Andreas Jaeger  <aj@suse.de>
53791         * po/ia.po: Add new Interlingua translation.
53793 2012-01-03  Allan McRae  <allan@archlinux.org>
53795         * locale/programs/localedef.c: Fix description of '--posix' flag.
53797 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53799         * NEWS: Update dates in second copyright notice.
53800         * README: Update copyright dates in example.
53801         * manual/libc.texinfo: Update copyright dates.
53802         * scripts/test-installation.pl: Update copyright date in --version
53803         output.
53805         * hurd/ctty-input.c: Fix copyright notice formatting.
53806         * hurd/ctty-output.c: Likewise.
53807         * hurd/dtable.c: Likewise.
53808         * hurd/hurd-raise.c: Likewise.
53809         * hurd/hurdprio.c: Likewise.
53810         * hurd/msgportdemux.c: Likewise.
53811         * misc/sys/file.h: Likewise.
53812         * misc/sys/ioctl.h: Likewise.
53813         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53814         * sysdeps/mach/hurd/chdir.c: Likewise.
53815         * sysdeps/mach/hurd/fchdir.c: Likewise.
53816         * sysdeps/mach/hurd/rename.c: Likewise.
53817         * sysdeps/mach/hurd/rmdir.c: Likewise.
53818         * sysdeps/mach/hurd/seekdir.c: Likewise.
53819         * sysdeps/mach/hurd/setsid.c: Likewise.
53820         * sysdeps/posix/wait3.c: Likewise.
53822         * All files with FSF copyright notices: Update copyright dates
53823         using scripts/update-copyrights.
53824         * intl/plural.c: Regenerated.
53825         * locale/programs/charmap-kw.h: Likewise.
53826         * locale/programs/locfile-kw.h: Likewise.
53828 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53830         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53831         four values.
53833         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53834         calculation loop and add branch prediction.
53836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53837         check access beyond bounds of m1np.
53839         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53840         MPTWO.
53841         (__inv): Remove local variable MPTWO to use the global
53842         constant.
53843         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53844         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53845         variable MPTWO.
53846         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53847         MP3HALFS static const.
53849 2013-01-01  David S. Miller  <davem@davemloft.net>
53851         * po/ca.po: Update from translation team.
53853 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53855         * scripts/update-copyrights: New file.
53856         * Makeconfig: Reformat copyright notice.
53857         * ctype/ctype.h: Likewise.
53858         * debug/swprintf_chk.c: Likewise.
53859         * elf/dl-cache.c: Likewise.
53860         * elf/dl-debug.c: Likewise.
53861         * elf/dl-object.c: Likewise.
53862         * grp/initgroups.c: Likewise.
53863         * hurd/Makefile: Likewise.
53864         * hurd/hurd/signal.h: Likewise.
53865         * hurd/hurdfault.c: Likewise.
53866         * hurd/hurdioctl.c: Likewise.
53867         * hurd/hurdlookup.c: Likewise.
53868         * hurd/intr-msg.c: Likewise.
53869         * iconv/gconv_open.c: Likewise.
53870         * libio/swprintf.c: Likewise.
53871         * locale/lc-ctype.c: Likewise.
53872         * locale/nl_langinfo.c: Likewise.
53873         * mach/Machrules: Likewise.
53874         * mach/Makefile: Likewise.
53875         * malloc/obstack.h: Likewise.
53876         * manual/Makefile: Likewise.
53877         * manual/tsort.awk: Likewise.
53878         * misc/bits/stab.def: Likewise.
53879         * nis/nis_print_group_entry.c: Likewise.
53880         * nis/nis_table.c: Likewise.
53881         * nis/nss_compat/compat-pwd.c: Likewise.
53882         * nis/nss_compat/compat-spwd.c: Likewise.
53883         * po/Makefile: Likewise.
53884         * posix/fnmatch.c: Likewise.
53885         * posix/regex.h: Likewise.
53886         * resolv/Makefile: Likewise.
53887         * resolv/nss_dns/dns-network.c: Likewise.
53888         * resolv/res_hconf.c: Likewise.
53889         * scripts/gen-sorted.awk: Likewise.
53890         * soft-fp/soft-fp.h: Likewise.
53891         * stdio-common/printf.h: Likewise.
53892         * stdlib/monetary.h: Likewise.
53893         * stdlib/random.c: Likewise.
53894         * stdlib/random_r.c: Likewise.
53895         * sysdeps/generic/Makefile: Likewise.
53896         * sysdeps/gnu/Makefile: Likewise.
53897         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53905         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53909         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53910         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53911         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53912         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53913         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53914         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53917         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53918         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53919         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53920         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53921         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53922         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53924         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53925         * sysdeps/mach/hurd/errnos.awk: Likewise.
53926         * sysdeps/mach/hurd/fork.c: Likewise.
53927         * sysdeps/mach/hurd/getcwd.c: Likewise.
53928         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53929         * sysdeps/mach/hurd/mmap.c: Likewise.
53930         * sysdeps/mach/hurd/utimes.c: Likewise.
53931         * sysdeps/mach/hurd/xmknod.c: Likewise.
53932         * sysdeps/posix/profil.c: Likewise.
53933         * sysdeps/posix/readdir_r.c: Likewise.
53934         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53935         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53936         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53937         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53941         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53943         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53944         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53945         * sysdeps/pthread/lio_listio.c: Likewise.
53946         * sysdeps/sparc/dl-procinfo.h: Likewise.
53947         * sysdeps/unix/i386/sysdep.S: Likewise.
53948         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53949         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53950         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53951         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53953         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53954         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53955         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53956         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53957         * sysdeps/wordsize-32/divdi3.c: Likewise.
53958         * time/sys/time.h: Likewise.
53959         * wcsmbs/Makefile: Likewise.
53961 2013-01-01  David S. Miller  <davem@davemloft.net>
53963         * po/fr.po: Update from translation team.
53965         * catgets/gencat.c: Update copyright year.
53966         * csu/version.c: Likewise.
53967         * debug/catchsegv.sh: Likewise.
53968         * debug/pcprofiledump.c: Likewise.
53969         * debug/xtrace.sh: Likewise.
53970         * elf/ldconfig.c: Likewise.
53971         * elf/ldd.bash.in: Likewise.
53972         * elf/pldd.c: Likewise.
53973         * elf/sotruss.ksh: Likewise.
53974         * elf/sprof.c: Likewise.
53975         * iconv/iconv_prog.c: Likewise.
53976         * iconv/iconvconfig.c: Likewise.
53977         * locale/programs/locale.c: Likewise.
53978         * locale/programs/localedef.c: Likewise.
53979         * login/programs/pt_chown.c: Likewise.
53980         * malloc/memusage.sh: Likewise.
53981         * malloc/memusagestat.c: Likewise.
53982         * malloc/mtrace.pl: Likewise.
53983         * nscd/nscd.c: Likewise.
53984         * nss/getent.c: Likewise.
53985         * nss/makedb.c: Likewise.
53986         * posix/getconf.c: Likewise.
53988 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53990         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53991         numbers.
53993 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53995         * math/bits/mathcalls.h (modf): Use __nonnull.
53997 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53999         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54000         (split): Use macro CN instead of the bare value.
54001         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54002         could be used.
54003         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54004         instead of the bare value.
54005         (power1): Likewise.
54007 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54009         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54010         __ATAN_TWOM.
54011         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54013         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54014         their values.
54015         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54017         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54018         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54020 2012-12-28  Andreas Jaeger  <aj@suse.de>
54022         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54023         values are from Linux 3.7.
54025         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54026         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54028 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54031         TRUE case.
54033         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54034         (norm): Likewise.
54035         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54036         variables with preprocessor constants.
54037         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54038         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54039         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54041 2012-12-27  Bruno Haible  <bruno@clisp.org>
54043         [BZ #14317]
54044         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54045         only if needed.
54047 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54050         and use variable directly.
54051         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54053         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54054         MPONE.
54055         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54057         variable MPONE.
54058         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54059         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54060         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54061         include directive.  Remove local variable MPONE.
54062         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54063         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54064         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54066 2012-12-25  David S. Miller  <davem@davemloft.net>
54068         * version.h (RELEASE): Set to "development".
54069         (VERSION): Set to "2.17.90".
54070         * NEWS: Add 2.18 section.
54072 2012-12-21  David S. Miller  <davem@davemloft.net>
54074         * po/hr.po: Update from translation team.
54076 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54078         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54080 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54082         * NEWS:  Mention new memcpy for MIPS.
54084 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54086         * manual/contrib.texi (Contributors): Spelling correction.
54088 2012-12-15  David S. Miller  <davem@davemloft.net>
54090         * po/ru.po: Update from translation team.
54092 2012-12-13  David S. Miller  <davem@davemloft.net>
54094         * NEWS: Mention IFUNC testsuite enhancements.
54096         * po/pl.po: Update from translation team.
54097         * po/bg.po: Likewise.
54099         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54100         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54102 2012-12-11  David S. Miller  <davem@davemloft.net>
54104         * po/sv.po: Update from translation team.
54106         * po/vi.po: Update from translation team.
54108         * po/cs.po: Update from translation team.
54110         * po/de.po: Update from translation team.
54111         * po/eo.po: Likewise.
54112         * po/nl.po: Likewise.
54114 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54116         [BZ #14246]
54117         * manual/argp.texi (Argp Helper Functions): Move node to follow
54118         Argp Parsing State.
54120         [BZ #14872]
54121         * manual/conf.texi (Limits on File System Capacity): Mention if
54122         terminating null is included in the max size.
54124 2012-12-10  Andreas Jaeger  <aj@suse.de>
54126         * po/cs.po: Update from translation team.
54128 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54130         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54131         void pointer and cast to uintptr_t.
54132         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54133         path.
54134         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54135         * sysdeps/s390/s390-64/memset.S: Likewise.
54137 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54139         [BZ #14833]
54140         * menual/message.texi (Message Translation): Fix typos.
54141         (Helper programs for gettext): Likewise.
54143 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54145         [BZ #14898]
54146         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54147         Change to -1.
54149 2012-12-07  David S. Miller  <davem@davemloft.net>
54151         * po/libc.pot: Update.
54153 2012-12-07  Richard Henderson  <rth@redhat.com>
54155         [BZ #10114]
54156         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54157         normal/normal case to before the switch.
54158         (_FP_DIV): Likewise.
54160 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54161             Mike Frysinger  <vapier@gentoo.org>
54163         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54164         check for __NR_fadvise64_64.
54166 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54168         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54169         0, not just to plain "0" as a statement.
54170         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54171         with cw.
54173 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54175         * NEWS: Use sourceware.org in Bugzilla URL.
54177 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54180         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54182         * stdio-common/tst-put-error.c (do_test): Add newline to the
54183         padded test to ensure flush.
54185 2012-12-05  Jeff Law  <law@redhat.com>
54187         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54189 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54191         * README: Don't refer to ports add-on as distributed separately.
54192         Mention AArch64 in list of systems supported in the ports add-on.
54194         * LICENSES: Add more non-FSF copyright and license notices.
54196         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54197         ((unused)).
54199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54201         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54202         10000 as width of padded output.
54204 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54206         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54209         variable LX with __attribute__ ((unused)).
54210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54211         Likewise.
54212         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54215         with __attribute__ ((unused)).
54217 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54219         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54221 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54223         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54224         (CFLAGS-nldbl-acos.c): New variable.
54225         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54226         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54227         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54228         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54229         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54230         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54231         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54232         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54233         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54234         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54235         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54236         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54237         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54238         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54239         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54240         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54241         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54242         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54243         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54244         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54245         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54246         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54247         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54248         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54249         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54250         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54251         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54252         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54253         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54254         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54255         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54256         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54257         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54258         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54259         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54260         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54261         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54262         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54263         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54264         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54265         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54266         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54267         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54268         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54269         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54270         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54271         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54272         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54273         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54274         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54275         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54276         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54277         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54278         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54279         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54280         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54281         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54282         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54283         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54284         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54285         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54286         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54287         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54288         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54289         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54290         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54291         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54292         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54293         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54294         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54295         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54296         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54297         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54298         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54299         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54300         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54301         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54302         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54303         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54304         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54305         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54306         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54307         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54308         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54309         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54310         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54311         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54312         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54313         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54314         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54315         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54316         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54317         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54318         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54319         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54320         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54321         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54324         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54326         [BZ #14914]
54327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54328         whole low double instead of just low 47 bits when splitting values
54329         into two parts.
54331 2012-12-03  Allan McRae  <allan@archlinux.org>
54333         * manual/stdio.texi (Predefined Printf Handlers): Remove
54334         @hsep and @vsep usage.
54336 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54338         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54339         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54341 2012-12-03  Jeff Law  <law@redhat.com>
54343         * time/sys/time.h (settimeofday): Do not mark TV argument
54344         as __nonnull.
54346 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54348         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54349         when currently writing and seek to current position when not.
54350         * libio/Makefile (tests): Remove bug-fclose1.
54351         * libio/bug-fclose1.c: Delete.
54353 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54355         * manual/arith.texi (feenableexcept): Fix typo.
54356         (fedisableexcept): Likewise.
54358 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54360         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54361         second, differently-typed declaration, rather than a cast.
54363 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54365         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54366         * include/rpc/svc.h: ... here.
54368 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54370         [BZ #13013]
54371         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54372         depending n and resplen2 to catch cases where answer
54373         equals answerp2.
54375 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54377         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54378         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54380 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54382         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54384 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54386         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54388 2012-11-28  Jeff Law  <law@redhat.com>
54390         [BZ #13761]
54391         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54392         dataset_temporary.  Track alloca usage into alloca_used.
54393         If dataset is large allocate and release it via malloc/free.
54395 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54397         [BZ #14197]
54398         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54400 2012-11-28  David S. Miller  <davem@davemloft.net>
54402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54404 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54406         [BZ #14803]
54407         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54408         of pi/2 rounded to nearest to 64 bits.
54409         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54410         nearest to 64 bits.
54411         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54412         bits.
54414 2012-11-28  Jeff Law <law@redhat.com>
54415             Martin Osvald <mosvald@redhat.com>
54417         [BZ #14889]
54418         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54419         * sunrpc/svc.c: Include time.h.
54420         (__svc_accept_failed): New function.
54421         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54422         any reason other than EINTR, call __svc_accept_failed.
54423         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54424         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54426 2012-11-28  Andreas Schwab  <schwab@suse.de>
54428         * scripts/abilist.awk: Also handle indirect functions in .opd
54429         section.
54431 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54433         [BZ #13881]
54434         * sysdeps/x86/fpu/powl_helper.c: New file.
54435         * sysdeps/x86/fpu/Makefile: Likewise.
54436         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54437         (p3): New object.
54438         (__ieee754_powl): Use __powl_helper for finite arguments except
54439         integer exponents below 8.
54440         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54441         (p3): New object.
54442         (__ieee754_powl): Use __powl_helper for finite arguments except
54443         integer exponents below 8.
54444         * math/libm-test.inc (pow_test): Add more tests and enable some
54445         previously disabled tests.
54446         * sysdeps/i386/fpu/libm-test-ulps: Update.
54447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54449 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54450             Carlos O'Donell  <carlos_odonell@mentor.com>
54452         * nss/makedb.c (is_prime): Assert that input is odd and greater
54453         than 4.  Note that fact in a comment too.
54454         (next_prime): Add 4 to input.
54456 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54458         [BZ #11741]
54459         * libio/Makefile (tests): Add test case tst-fwrite-error.
54460         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54461         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54462         * libio/tst-fwrite-error.c: New test case.
54464 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54466         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54467         before casting to void *.
54468         * include/libc-internal.h (__pointer_type): New macro.
54469         (__integer_if_pointer_type_sub): Likewise.
54470         (__integer_if_pointer_type): Likewise.
54471         (cast_to_integer): Likewise.
54472         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54473         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54474         before casting to atomic64_t.
54475         (atomic_exchange_acq): Likewise.
54476         (__arch_exchange_and_add_body): Likewise.
54477         (__arch_add_body): Likewise.
54478         (atomic_add_negative): Likewise.
54479         (atomic_add_zero): Likewise.
54481 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54483         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54484         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54485         (add_fdes): Likewise.
54486         (linear_search_fdes): Likewise.
54487         (binary_search_unencoded_fdes): Likewise.
54489 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54491         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54493 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54495         * configure.in: Autodetect C++ header directories.
54496         * configure: Regenerated.
54498 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54500         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54502 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54506 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54508         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54509         LDBL_MANT_DIG == 106]: Disable some tests.
54510         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54511         Likewise.
54512         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54513         Likewise.
54515         [BZ #14871]
54516         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54517         input for small inputs.  Return +/- pi/2 for large inputs.
54518         * math/libm-test.inc (atan_test): Add more tests.
54520         * sysdeps/generic/unwind-dw2-fde-glibc.c
54521         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54522         __attribute__ ((unused)).
54524         [BZ #14645]
54525         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54526         x * y if x and y are nonzero and z is zero.
54528         [BZ #14811]
54529         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54530         nonzero exponents with absolute value below 0x1p-117 to +/-
54531         0x1p-117.
54533         [BZ #14869]
54534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54535         up arguments below 2**-450, not just those below 2**-500.
54536         * math/libm-test.inc (hypot_test): Add another test.
54538         [BZ #14868]
54539         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54540         Return a+b for ratio over 2**120, not 2**60.
54541         * math/libm-test.inc (hypot_test): Add another test.
54543         * math/libm-test.inc (clog_test): Use
54544         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54545         (clog10_test): Likewise.
54547         [BZ #6778]
54548         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54550 2012-11-22  Andreas Schwab  <schwab@suse.de>
54552         * sysdeps/i386/fpu/libm-test-ulps: Update.
54554 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54556         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54557         printf output with newline.
54559 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54561         [BZ #14865]
54562         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54563         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54564         -z nodlopen, -z initfirst and -z execstack support.
54565         * configure: Regenerated.
54567         * elf/elf.h (DF_1_NODIRECT): New macro.
54568         (DF_1_IGNMULDEF): Likewise.
54569         (DF_1_NOKSYMS): Likewise.
54570         (DF_1_NOHDR): Likewise.
54571         (DF_1_EDITED): Likewise.
54572         (DF_1_NORELOC): Likewise.
54573         (DF_1_SYMINTPOSE): Likewise.
54574         (DF_1_GLOBAUDIT): Likewise.
54575         (DF_1_SINGLETON): Likewise.
54576         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54577         DT_1_SUPPORTED_MASK bits.
54578         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54580 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54582         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54584 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54586         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54587         macro.
54589         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54590         (sendmmsg): Move declarations...
54591         * socket/sys/socket.h: ... here.
54592         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54593         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54594         include it from...
54595         * socket/recvmmsg.c: ... this new file.
54596         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54597         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54598         definition of __sendmmsg hidden.
54599         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54600         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54601         Move ENOSYS stub into and include it from...
54602         * socket/sendmmsg.c: ... this new file.
54603         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54604         (sysdep_routines): Move recvmmsg and sendmmsg...
54605         * socket/Makefile (routines): ... here.
54606         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54607         (GLIBC_PRIVATE): Add __sendmmsg.
54608         * include/sys/socket.h (__sendmmsg): Add declarations.
54609         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54610         sendmmsg.
54612 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54615         variable I1 with __attribute__ ((unused)).
54616         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54618 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54620         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54621         DUMMY variables with __attribute__ ((unused)).
54623         * bits/byteswap.h: Include <bits/types.h>.
54624         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54626 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54628         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54629         string_t.  Do not manually set errno.
54630         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54631         length with __strnlen.  Make sure to both set errno and return it on
54632         failure.
54634 2012-11-19  David S. Miller  <davem@davemloft.net>
54636         With help from Joseph Myers.
54637         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54638         very large arguments properly.
54639         * math/libm-test.inc (atan_test): New tests.
54640         (atan2_test): New tests.
54641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54644 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54646         [BZ #14856]
54647         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54648         Define to 3.
54650         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54651         [POSIX] (EADDRNOTAVAIL): Likewise.
54652         [POSIX] (EAFNOSUPPORT): Likewise.
54653         [POSIX] (EALREADY): Likewise.
54654         [POSIX] (ECONNABORTED): Likewise.
54655         [POSIX] (ECONNREFUSED): Likewise.
54656         [POSIX] (ECONNRESET): Likewise.
54657         [POSIX] (EDESTADDRREQ): Likewise.
54658         [POSIX] (EDQUOT): Likewise.
54659         [POSIX] (EHOSTUNREACH): Likewise.
54660         [POSIX] (EIDRM): Likewise.
54661         [POSIX] (EISCONN): Likewise.
54662         [POSIX] (ELOOP): Likewise.
54663         [POSIX] (EMULTIHOP): Likewise.
54664         [POSIX] (ENETDOWN): Likewise.
54665         [POSIX] (ENETUNREACH): Likewise.
54666         [POSIX] (ENOBUFS): Likewise.
54667         [POSIX] (ENODATA): Likewise.
54668         [POSIX] (ENOLINK): Likewise.
54669         [POSIX] (ENOMSG): Likewise.
54670         [POSIX] (ENOPROTOOPT): Likewise.
54671         [POSIX] (ENOSR): Likewise.
54672         [POSIX] (ENOSTR): Likewise.
54673         [POSIX] (ENOTCONN): Likewise.
54674         [POSIX] (ENOTSOCK): Likewise.
54675         [POSIX] (EOPNOTSUPP): Likewise.
54676         [POSIX] (EOVERFLOW): Likewise.
54677         [POSIX] (EPROTO): Likewise.
54678         [POSIX] (EPROTONOSUPPORT): Likewise.
54679         [POSIX] (EPROTOTYPE): Likewise.
54680         [POSIX] (ESTALE): Likewise.
54681         [POSIX] (ETIME): Likewise.
54682         [POSIX] (ETXTBSY): Likewise.
54683         [POSIX] (EWOULDBLOCK): Likewise.
54684         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54685         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54686         [POSIX] (SEEK_CUR): Likewise.
54687         [POSIX] (SEEK_END): Likewise.
54688         [POSIX || UNIX98] (mode_t): Do not require.
54689         [POSIX] (off_t): Likewise.
54690         [POSIX] (pid_t): Likewise.
54691         [POSIX] (sys/stat.h): Do not allow header.
54692         [POSIX] (unistd.h): Likewise.
54693         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54694         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54695         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54696         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54697         require.
54698         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54699         sigevent): Specify elements.
54700         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54701         entry.
54702         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54703         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54705         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54706         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54707         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54708         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54709         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54710         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54711         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54712         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54713         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54714         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54715         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54716         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54717         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54718         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54719         Likewise.
54720         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54721         Likewise.
54722         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54723         Likewise.
54724         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54725         Likewise.
54726         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54727         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54728         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54729         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54730         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54731         Specify lower bound on value.
54732         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54733         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54734         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54735         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54736         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54737         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54738         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54739         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54740         value.
54741         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54742         as optional.
54743         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54744         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54745         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54746         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54747         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54748         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54749         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54750         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54751         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54752         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54753         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54754         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54755         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54756         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54757         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54758         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54759         entry.
54760         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54761         optional.
54762         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54763         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54764         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54765         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54766         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54767         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54768         Likewise.
54769         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54770         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54771         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54772         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54773         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54774         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54775         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54776         as optional.
54777         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54778         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54779         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54780         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54781         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54782         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54783         specify as optional.
54784         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54785         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54786         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54787         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54788         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54789         [XPG3] (NL_LANGMAX): Likewise.
54790         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54791         [POSIX || XPG3] (NL_NMAX): Likewise.
54792         [POSIX || XPG3] (NL_SETMAX): Likewise.
54793         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54794         [XPG3] (NZERO): Likewise.
54795         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54796         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54797         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54798         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54799         (REG_ERANGE): Expect.
54800         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54801         optional-constant.
54802         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54803         Use (void) in prototype.
54804         [POSIX] (*_t): Allow.
54805         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54806         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54807         (WRDE_BADVAL): Expect.
54809         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54810         expect.
54811         [XPG3 || XPG4] (O_RSYNC): Likewise.
54812         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54813         Likewise.
54814         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54815         [XPG3 || XPG4] (sigqueue): Likewise.
54816         [XPG3 || XPG4] (sigtimedwait): Likewise.
54817         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54818         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54819         [XPG3 || XPG4] (vsnprintf): Likewise.
54820         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54821         Likewise.
54822         [XPG3 || XPG4] (blksize_t): Likewise.
54823         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54824         Likewise.
54825         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54826         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54827         [XPG3 || XPG4] (struct itimerspec): Likewise.
54828         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54829         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54830         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54831         [XPG3 || XPG4] (clockid_t): Likewise.
54832         [XPG3 || XPG4] (timer_t): Likewise.
54833         [XPG3 || XPG4] (clock_getres): Likewise.
54834         [XPG3 || XPG4] (clock_gettime): Likewise.
54835         [XPG3 || XPG4] (clock_settime): Likewise.
54836         [XPG3 || XPG4] (nanosleep): Likewise.
54837         [XPG3 || XPG4] (timer_create): Likewise.
54838         [XPG3 || XPG4] (timer_delete): Likewise.
54839         [XPG3 || XPG4] (timer_gettime): Likewise.
54840         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54841         [XPG3 || XPG4] (timer_settime): Likewise.
54842         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54843         [XPG3 || XPG4] (getlogin_r): Likewise.
54844         [XPG3 || XPG4] (pread): Likewise.
54845         [XPG3 || XPG4] (pthread_atfork): Likewise.
54846         [XPG3 || XPG4] (pwrite): Likewise.
54848         [BZ #14835]
54849         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54850         <bits/siginfo.h>.
54852 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54854         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54855         finalizing MALLSTREAM.
54857         * sysdeps/mach/hurd/syncfs.c: New file.
54859 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54861         [BZ #14719]
54862         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54863         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54865         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54866         (_nss_dns_gethostbyname4_r): Likewise.
54867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54868         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54870 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54872         [BZ #13763]
54873         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54875 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54877         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54878         * elf/cache.c (print_entry): Print ",AArch64" for
54879         FLAG_AARCH64_LIB64
54881         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54882         * elf/cache.c (print_entry): Print ",hard-float" for
54883         FLAG_ARM_LIBHF.
54885 2012-11-18  David S. Miller  <davem@davemloft.net>
54887         With help from Joseph Myers.
54888         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54889         cutoff to 2**-13.
54890         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54891         cutoff to 2**-25.
54892         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54893         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54894         small.
54895         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54896         * math/libm-test.inc (y0_test): New tests.
54897         (y1_test): New tests.
54898         * sysdeps/i386/fpu/libm-test-ulps: Update.
54899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54902 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54904         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54905         64-bit targets.
54906         * configure: Regenerated.
54908 2012-11-17  David S. Miller  <davem@davemloft.net>
54910         [BZ #14811]
54911         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54912         nonzero exponents with absolute value below 0x1p-128 to +/-
54913         0x1p-128.
54915 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54917         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54919         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54921         * posix/getconf-speclist.c: New file.
54922         * posix/posix-envs.def: Likewise.
54923         * posix/confstr.c (START_ENV_GROUP): New macro.
54924         (END_ENV_GROUP): Likewise.
54925         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54926         (KNOWN_PRESENT_ENV_STRING): Likewise.
54927         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54928         (UNKNOWN_ENVIRONMENT): Likewise.
54929         (confstr): Include posix-envs.def instead of handling
54930         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54931         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54932         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54933         (END_ENV_GROUP): Likewise.
54934         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54935         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54936         (UNKNOWN_ENVIRONMENT): Likewise.
54937         (__sysconf): Include posix-envs.def instead of handling associated
54938         cases directly here.
54939         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54940         preprocessing getconf-speclist.c rather than running getconf or
54941         generating empty file.
54943 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54945         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54947 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54949         [BZ #14672]
54950         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54952 2012-11-16  David S. Miller  <davem@davemloft.net>
54954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54955         smaller than LDBL_EPSILON/2.0L, just return xm1.
54957 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54959         * elf/tst-array1.c (init): Set constructor priority to 1000.
54960         (fini): Set destructor priority to 1000.
54961         * elf/tst-array2dep.c: Likewise.
54963 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54965         [BZ #11741]
54966         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54967         (_IO_new_file_xsputn): Also return EOF if none of the input
54968         data was written when overflow failed.
54969         * libio/iopadn.c (_IO_padn): Likewise.
54970         * libio/iowpadn.c (_IO_wpadn): Likewise.
54971         * stdio-common/tst-put-error.c: Add copyright notice.
54972         (do_test): Add case for printing padded string.
54973         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54974         _IO_padn returned error.
54975         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54976         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54977         return EOF.
54979 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54981         * libio/libioP.h: Add comment note that the references to C++
54982         bits are now obsolete.
54984 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54986         * math/libm-test.inc (check_complex): Use asprintf.
54988 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54990         * debug/pcprofiledump.c (print_version): Update copyright year.
54991         * malloc/memusagestat.c (print_version): Likewise.
54993 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54995         [BZ #14831]
54996         * elf/Makefile (tests): Add tst-audit8.
54997         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54998         ($(objpfx)tst-audit8.out): New target.
54999         (tst-audit8-ENV): New variable.
55000         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55001         audit if l_reloc_result is NULL.
55002         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55003         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55004         * elf/tst-audit8.c: New file.
55006 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55008         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55009         * misc/Makefile (CFLAGS-select.c): Define.
55010         * posix/Makefile (CFLAGS-pause.c): Define.
55012 2012-11-13  David S. Miller  <davem@davemloft.net>
55014         * crypt/Makefile: Move test targets after toplevel Rules
55015         inclusion.  Grab any necessary sysdep routines when linking.
55016         * crypt/md5.c (md5_process_block): Remove define, we will always
55017         name it __md5_process_block.
55018         (md5_finish_ctx): Update md5_process_block call.
55019         (md5_stream): Likewise.
55020         (md5_process_bytes): Likewise.
55021         (md5_process_block): Rename to __md5_process_block and move to ...
55022         * crypt/md5-block.c: ... here.
55023         * crypt/sha256.c (sha256_process_block): Move to ...
55024         * crypt/sha256-block.c: ... here.
55025         * crypt/sha512.c (sha512_process_block): Move to ...
55026         * crypt/sha512-block.c: ... here.
55027         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55028         path.
55029         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55030         * sysdeps/sparc/sparc64/multiarch/Makefile
55031         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55032         crypt subdir.
55033         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55034         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55035         multiarch changes.
55036         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55037         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55038         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55039         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55040         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55041         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55042         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55043         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55044         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55045         file.
55046         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55047         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55048         file.
55049         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55051 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55053         * timezone/tzselect.ksh: Update from tzcode git revision
55054         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55055         * timezone/zdump.c: Likewise.
55056         * timezone/zic.c: Likewise.
55057         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55058         in TZVERSION setting, not $(PKGVERSION).
55059         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55060         REPORT_BUGS_TO settings.
55062         [BZ #14838]
55063         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55064         macro.
55066 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55068         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55069         detection to immediately after _FP_ROUND().
55070         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55071         bits are 0.
55073 2012-11-11  David S. Miller  <davem@davemloft.net>
55075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55076         inttypes.h
55077         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55078         __close rather than their public counterparts.
55080 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55082         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55083         file.
55084         [UNIX98] (sem_timedwait): Do not expect.
55085         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55086         [XPG4 || UNIX98] (sockatmark): Do not expect.
55087         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55088         (clock_getcpuclockid): Do not expect.
55089         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55090         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55091         Do not expect.
55092         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55093         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55094         [UNIX98] (vwscanf): Likewise.
55095         [UNIX98] (vswscanf): Likewise.
55097 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55099         * timezone/version.h: Remove file.
55100         * timezone/README: Do not refer to version.h.
55101         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55102         $(objpfx)version.h.
55103         ($(objpfx)zdump.o): Likewise.
55104         ($(objpfx)version.h): New target.
55106         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55107         2012i.
55108         * timezone/README: Don't mention modification to tzselect.ksh.
55109         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55110         work on unmodified tzselect.ksh.  Substitute version numbers in
55111         tzselect.ksh.
55113         * Makefile (format-me): Remove.
55114         (INSTALL): Adjust indentation.  Use commands directly instead of
55115         using $(format-me).
55117         * aclocal.m4 (ACX_PKGVERSION): New macro.
55118         (ACX_BUGURL): Likewise.
55119         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55120         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55121         (REPORT_BUGS_TO): Likewise.
55122         * configure: Regenerated.
55123         * config.h.in (PKGVERSION): New macro.
55124         (REPORT_BUGS_TO): Likewise.
55125         * config.make.in (PKGVERSION): New variable.
55126         (PKGVERSION_TEXI): Likewise.
55127         (REPORT_BUGS_TO): Likewise.
55128         (REPORT_BUGS_TEXI): Likewise.
55129         * Makefile (format-me): Use -I$(common-objpfx)manual.
55130         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55131         ($(common-objpfx)manual/%): New target.
55132         (manual/%): Remove target.
55133         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55134         (print_version): Use PKGVERSION.
55135         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55136         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55137         and REPORT_BUGS_TO.
55138         ($(objpfx)xtrace): Likewise.
55139         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55140         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55141         (print_version): Use PKGVERSION.
55142         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55143         (do_version): Use PKGVERSION.
55144         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55145         REPORT_BUGS_TO.
55146         (common-ldd-rewrite): Likewise.
55147         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55148         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55149         (print_version): Use PKGVERSION.
55150         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55151         * elf/pldd.c (argp_program_bug_address): Remove variable.
55152         (more_help): New function.
55153         (argp): Use more_help.
55154         (print_version): Use PKGVERSION.
55155         * elf/sln.c (main): Use PKGVERSION.
55156         (usage): Use REPORT_BUGS_TO.
55157         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55158         (top level): Use PKGVERSION.
55159         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55160         (print_version): Use PKGVERSION.
55161         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55162         (print_version): Use PKGVERSION.
55163         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55164         (print_version): Use PKGVERSION.
55165         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55166         (print_version): Use PKGVERSION.
55167         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55168         (print_version): Use PKGVERSION.
55169         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55170         (print_version): Use PKGVERSION.
55171         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55172         and BUGURL.
55173         ($(objpfx)memusage): Likewise.
55174         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55175         (do_version): Use PKGVERSION.
55176         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55177         (print_version): Use PKGVERSION.
55178         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55179         ($PKGVERSION): New variable.
55180         ($REPORT_BUGS_TO): Likewise.
55181         (usage): Use $REPORT_BUGS_TO.
55182         (top level): Use $PKGVERSION.
55183         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55184         ($(objpfx)pkgvers.texi): New rule.
55185         ($(objpfx)stamp-pkgvers): Likewise.
55186         * manual/install.texi: Include pkgvers.texi.
55187         (--with-pkgversion): Document new configure option.
55188         (--with-bugurl): Likewise.
55189         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55190         than necessarily for this particular distribution.  Use
55191         REPORT_BUGS_TO for where to report bugs.
55192         * INSTALL: Regenerated.
55193         * manual/libc.texinfo: Include pkgvers.texi.
55194         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55195         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55196         (print_version): Use PKGVERSION.
55197         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55198         (print_version): Use PKGVERSION.
55199         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55200         (print_version): Use PKGVERSION.
55201         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55202         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55203         macro.
55204         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55205         (print_version): Use PKGVERSION.
55206         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55207         (print_version): Use PKGVERSION.
55208         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55209         and PKGVERSION.
55211         * timezone/checktab.awk: Update from tzcode 2012i.
55212         * timezone/ialloc.c: Likewise.
55213         * timezone/private.h: Likewise.
55214         * timezone/scheck.c: Likewise.
55215         * timezone/tzfile.h: Likewise.
55216         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55217         (TZVERSION): Hardcode tzcode version number.
55218         * timezone/zdump.c: Update from tzcode 2012i.
55219         * timezone/zic.c: Likewise.
55220         * timezone/version.h: New file.
55221         * timezone/README: Describe version.h.  Update upstream location.
55223         [BZ #14824]
55224         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55225         (mktemp): Enable declaration.
55226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55227         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55230         Likewise.
55231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55232         Likewise.
55233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55234         Likewise.
55235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55236         Likewise.
55237         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55238         Likewise.
55239         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55240         Likewise.
55242         [BZ #14821]
55243         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55244         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55245         for copies of such integer values.
55246         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55247         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55249 2012-11-09  Andreas Jaeger  <aj@suse.de>
55251         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55252         definitions and declarations that are provided by
55253         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55255 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55257         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55258         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55259         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55260         definition.
55262 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55264         * elf/elf.h: Update comment before AArch64 relocations.
55266 2012-11-07  David S. Miller  <davem@davemloft.net>
55268         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55269         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55270         (__start_context): Declare.
55271         (__makecontext_ret): Delete.
55272         (__makecontext): Hook up __start_context instead of
55273         __makecontext_ret.
55274         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55275         (sysdep_routines): Add __start_context when in stdlib.
55277 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55279         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55280         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55281         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55282         hardcoded "nm".
55283         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55284         (READELF): New variable.  Use it instead of hardcoded "readelf".
55286 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55288         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55289         * sysdeps/x86/Makefile: Here.
55290         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55291         * sysdeps/x86/tst-xmmymm.sh: This.
55293 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55295         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55296         expectations.
55297         [UNIX98] (pthread_barrier_t): Do not expect.
55298         [UNIX98] (pthread_barrierattr_t): Likewise.
55299         [UNIX98] (pthread_spinlock_t): Likewise.
55300         [UNIX98] (pthread_barrier_destroy): Likewise.
55301         [UNIX98] (pthread_barrier_init): Likewise.
55302         [UNIX98] (pthread_barrier_wait): Likewise.
55303         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55304         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55305         [UNIX98] (pthread_barrierattr_init): Likewise.
55306         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55307         [UNIX98] (pthread_getcpuclockid): Likewise.
55308         [UNIX98] (pthread_mutex_timedlock): Likewise.
55309         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55310         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55311         [UNIX98] (pthread_sigmask): Likewise.
55312         [UNIX98] (pthread_spin_destroy): Likewise.
55313         [UNIX98] (pthread_spin_init): Likewise.
55314         [UNIX98] (pthread_spin_lock): Likewise.
55315         [UNIX98] (pthread_spin_trylock): Likewise.
55316         [UNIX98] (pthread_spin_unlock): Likewise.
55317         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55318         Do not expect.
55319         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55320         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55321         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55322         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55323         [XPG3 || XPG4] (pthread_key_t): Likewise.
55324         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55325         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55326         [XPG3 || XPG4] (pthread_once_t): Likewise.
55327         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55328         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55329         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55330         [XPG3 || XPG4] (pthread_t): Likewise.
55332         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55333         not expect.
55334         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55336         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55337         Change function return type to int.
55339         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55340         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55341         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55342         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55343         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55344         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55345         [!POSIX] (posix_madvise): Likewise.
55346         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55347         && !UNIX98].
55348         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55349         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55350         (mode_t): Likewise.
55351         (posix_mem_offset): Likewise.
55352         (posix_typed_mem_get_info): Likewise.
55353         (posix_typed_mem_open): Likewise.
55355         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55356         Change condition to [XOPEN2K8].
55358         * conform/conformtest.pl: Preprocess allow-header data with -x c
55359         instead of from stdin.
55360         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55361         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55362         [C99-based standards] (cerfc): Likewise.
55363         [C99-based standards] (cexp2): Likewise.
55364         [C99-based standards] (cexpm1): Likewise.
55365         [C99-based standards] (clog10): Likewise.
55366         [C99-based standards] (clog1p): Likewise.
55367         [C99-based standards] (clog2): Likewise.
55368         [C99-based standards] (clgamma): Likewise.
55369         [C99-based standards] (ctgamma): Likewise.
55370         [C99-based standards] (cerff): Likewise.
55371         [C99-based standards] (cerfcf): Likewise.
55372         [C99-based standards] (cexp2f): Likewise.
55373         [C99-based standards] (cexpm1f): Likewise.
55374         [C99-based standards] (clog10f): Likewise.
55375         [C99-based standards] (clog1pf): Likewise.
55376         [C99-based standards] (clog2f): Likewise.
55377         [C99-based standards] (clgammaf): Likewise.
55378         [C99-based standards] (ctgammaf): Likewise.
55379         [C99-based standards] (cerfl): Likewise.
55380         [C99-based standards] (cerfcl): Likewise.
55381         [C99-based standards] (cexp2l): Likewise.
55382         [C99-based standards] (cexpm1l): Likewise.
55383         [C99-based standards] (clog10l): Likewise.
55384         [C99-based standards] (clog1pl): Likewise.
55385         [C99-based standards] (clog2l): Likewise.
55386         [C99-based standards] (clgammal): Likewise.
55387         [C99-based standards] (ctgammal): Likewise.
55388         * conform/data/inttypes.h-data [C99-based standards]: Include
55389         stdint.h-data.  Remove all expectations for stdint.h contents.
55390         [C99-based standards] (PRI*): Do not allow.
55391         [C99-based standards] (SCN*): Likewise.
55392         [C99-based standards] (*_t): Likewise.
55393         [C99-based-standards] (PRId8): Expect macro.
55394         [C99-based-standards] (PRIi8): Likewise.
55395         [C99-based-standards] (PRIo8): Likewise.
55396         [C99-based-standards] (PRIu8): Likewise.
55397         [C99-based-standards] (PRIx8): Likewise.
55398         [C99-based-standards] (PRIX8): Likewise.
55399         [C99-based-standards] (SCNd8): Likewise.
55400         [C99-based-standards] (SCNi8): Likewise.
55401         [C99-based-standards] (SCNo8): Likewise.
55402         [C99-based-standards] (SCNu8): Likewise.
55403         [C99-based-standards] (SCNx8): Likewise.
55404         [C99-based-standards] (PRIdLEAST8): Likewise.
55405         [C99-based-standards] (PRIiLEAST8): Likewise.
55406         [C99-based-standards] (PRIoLEAST8): Likewise.
55407         [C99-based-standards] (PRIuLEAST8): Likewise.
55408         [C99-based-standards] (PRIxLEAST8): Likewise.
55409         [C99-based-standards] (PRIXLEAST8): Likewise.
55410         [C99-based-standards] (SCNdLEAST8): Likewise.
55411         [C99-based-standards] (SCNiLEAST8): Likewise.
55412         [C99-based-standards] (SCNoLEAST8): Likewise.
55413         [C99-based-standards] (SCNuLEAST8): Likewise.
55414         [C99-based-standards] (SCNxLEAST8): Likewise.
55415         [C99-based-standards] (PRIdFAST8): Likewise.
55416         [C99-based-standards] (PRIiFAST8): Likewise.
55417         [C99-based-standards] (PRIoFAST8): Likewise.
55418         [C99-based-standards] (PRIuFAST8): Likewise.
55419         [C99-based-standards] (PRIxFAST8): Likewise.
55420         [C99-based-standards] (PRIXFAST8): Likewise.
55421         [C99-based-standards] (SCNdFAST8): Likewise.
55422         [C99-based-standards] (SCNiFAST8): Likewise.
55423         [C99-based-standards] (SCNoFAST8): Likewise.
55424         [C99-based-standards] (SCNuFAST8): Likewise.
55425         [C99-based-standards] (SCNxFAST8): Likewise.
55426         [C99-based-standards] (PRId16): Likewise.
55427         [C99-based-standards] (PRIi16): Likewise.
55428         [C99-based-standards] (PRIo16): Likewise.
55429         [C99-based-standards] (PRIu16): Likewise.
55430         [C99-based-standards] (PRIx16): Likewise.
55431         [C99-based-standards] (PRIX16): Likewise.
55432         [C99-based-standards] (SCNd16): Likewise.
55433         [C99-based-standards] (SCNi16): Likewise.
55434         [C99-based-standards] (SCNo16): Likewise.
55435         [C99-based-standards] (SCNu16): Likewise.
55436         [C99-based-standards] (SCNx16): Likewise.
55437         [C99-based-standards] (PRIdLEAST16): Likewise.
55438         [C99-based-standards] (PRIiLEAST16): Likewise.
55439         [C99-based-standards] (PRIoLEAST16): Likewise.
55440         [C99-based-standards] (PRIuLEAST16): Likewise.
55441         [C99-based-standards] (PRIxLEAST16): Likewise.
55442         [C99-based-standards] (PRIXLEAST16): Likewise.
55443         [C99-based-standards] (SCNdLEAST16): Likewise.
55444         [C99-based-standards] (SCNiLEAST16): Likewise.
55445         [C99-based-standards] (SCNoLEAST16): Likewise.
55446         [C99-based-standards] (SCNuLEAST16): Likewise.
55447         [C99-based-standards] (SCNxLEAST16): Likewise.
55448         [C99-based-standards] (PRIdFAST16): Likewise.
55449         [C99-based-standards] (PRIiFAST16): Likewise.
55450         [C99-based-standards] (PRIoFAST16): Likewise.
55451         [C99-based-standards] (PRIuFAST16): Likewise.
55452         [C99-based-standards] (PRIxFAST16): Likewise.
55453         [C99-based-standards] (PRIXFAST16): Likewise.
55454         [C99-based-standards] (SCNdFAST16): Likewise.
55455         [C99-based-standards] (SCNiFAST16): Likewise.
55456         [C99-based-standards] (SCNoFAST16): Likewise.
55457         [C99-based-standards] (SCNuFAST16): Likewise.
55458         [C99-based-standards] (SCNxFAST16): Likewise.
55459         [C99-based-standards] (PRId32): Likewise.
55460         [C99-based-standards] (PRIi32): Likewise.
55461         [C99-based-standards] (PRIo32): Likewise.
55462         [C99-based-standards] (PRIu32): Likewise.
55463         [C99-based-standards] (PRIx32): Likewise.
55464         [C99-based-standards] (PRIX32): Likewise.
55465         [C99-based-standards] (SCNd32): Likewise.
55466         [C99-based-standards] (SCNi32): Likewise.
55467         [C99-based-standards] (SCNo32): Likewise.
55468         [C99-based-standards] (SCNu32): Likewise.
55469         [C99-based-standards] (SCNx32): Likewise.
55470         [C99-based-standards] (PRIdLEAST32): Likewise.
55471         [C99-based-standards] (PRIiLEAST32): Likewise.
55472         [C99-based-standards] (PRIoLEAST32): Likewise.
55473         [C99-based-standards] (PRIuLEAST32): Likewise.
55474         [C99-based-standards] (PRIxLEAST32): Likewise.
55475         [C99-based-standards] (PRIXLEAST32): Likewise.
55476         [C99-based-standards] (SCNdLEAST32): Likewise.
55477         [C99-based-standards] (SCNiLEAST32): Likewise.
55478         [C99-based-standards] (SCNoLEAST32): Likewise.
55479         [C99-based-standards] (SCNuLEAST32): Likewise.
55480         [C99-based-standards] (SCNxLEAST32): Likewise.
55481         [C99-based-standards] (PRIdFAST32): Likewise.
55482         [C99-based-standards] (PRIiFAST32): Likewise.
55483         [C99-based-standards] (PRIoFAST32): Likewise.
55484         [C99-based-standards] (PRIuFAST32): Likewise.
55485         [C99-based-standards] (PRIxFAST32): Likewise.
55486         [C99-based-standards] (PRIXFAST32): Likewise.
55487         [C99-based-standards] (SCNdFAST32): Likewise.
55488         [C99-based-standards] (SCNiFAST32): Likewise.
55489         [C99-based-standards] (SCNoFAST32): Likewise.
55490         [C99-based-standards] (SCNuFAST32): Likewise.
55491         [C99-based-standards] (SCNxFAST32): Likewise.
55492         [C99-based-standards] (PRId64): Likewise.
55493         [C99-based-standards] (PRIi64): Likewise.
55494         [C99-based-standards] (PRIo64): Likewise.
55495         [C99-based-standards] (PRIu64): Likewise.
55496         [C99-based-standards] (PRIx64): Likewise.
55497         [C99-based-standards] (PRIX64): Likewise.
55498         [C99-based-standards] (SCNd64): Likewise.
55499         [C99-based-standards] (SCNi64): Likewise.
55500         [C99-based-standards] (SCNo64): Likewise.
55501         [C99-based-standards] (SCNu64): Likewise.
55502         [C99-based-standards] (SCNx64): Likewise.
55503         [C99-based-standards] (PRIdLEAST64): Likewise.
55504         [C99-based-standards] (PRIiLEAST64): Likewise.
55505         [C99-based-standards] (PRIoLEAST64): Likewise.
55506         [C99-based-standards] (PRIuLEAST64): Likewise.
55507         [C99-based-standards] (PRIxLEAST64): Likewise.
55508         [C99-based-standards] (PRIXLEAST64): Likewise.
55509         [C99-based-standards] (SCNdLEAST64): Likewise.
55510         [C99-based-standards] (SCNiLEAST64): Likewise.
55511         [C99-based-standards] (SCNoLEAST64): Likewise.
55512         [C99-based-standards] (SCNuLEAST64): Likewise.
55513         [C99-based-standards] (SCNxLEAST64): Likewise.
55514         [C99-based-standards] (PRIdFAST64): Likewise.
55515         [C99-based-standards] (PRIiFAST64): Likewise.
55516         [C99-based-standards] (PRIoFAST64): Likewise.
55517         [C99-based-standards] (PRIuFAST64): Likewise.
55518         [C99-based-standards] (PRIxFAST64): Likewise.
55519         [C99-based-standards] (PRIXFAST64): Likewise.
55520         [C99-based-standards] (SCNdFAST64): Likewise.
55521         [C99-based-standards] (SCNiFAST64): Likewise.
55522         [C99-based-standards] (SCNoFAST64): Likewise.
55523         [C99-based-standards] (SCNuFAST64): Likewise.
55524         [C99-based-standards] (SCNxFAST64): Likewise.
55525         [C99-based-standards] (PRIdMAX): Likewise.
55526         [C99-based-standards] (PRIiMAX): Likewise.
55527         [C99-based-standards] (PRIoMAX): Likewise.
55528         [C99-based-standards] (PRIuMAX): Likewise.
55529         [C99-based-standards] (PRIxMAX): Likewise.
55530         [C99-based-standards] (PRIXMAX): Likewise.
55531         [C99-based-standards] (SCNdMAX): Likewise.
55532         [C99-based-standards] (SCNiMAX): Likewise.
55533         [C99-based-standards] (SCNoMAX): Likewise.
55534         [C99-based-standards] (SCNuMAX): Likewise.
55535         [C99-based-standards] (SCNxMAX): Likewise.
55536         [C99-based-standards] (PRIdPTR): Likewise.
55537         [C99-based-standards] (PRIiPTR): Likewise.
55538         [C99-based-standards] (PRIoPTR): Likewise.
55539         [C99-based-standards] (PRIuPTR): Likewise.
55540         [C99-based-standards] (PRIxPTR): Likewise.
55541         [C99-based-standards] (PRIXPTR): Likewise.
55542         [C99-based-standards] (SCNdPTR): Likewise.
55543         [C99-based-standards] (SCNiPTR): Likewise.
55544         [C99-based-standards] (SCNoPTR): Likewise.
55545         [C99-based-standards] (SCNuPTR): Likewise.
55546         [C99-based-standards] (SCNxPTR): Likewise.
55547         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55548         allow.
55549         * conform/data/stdint.h-data: Update comments to clarify
55550         requirements.
55551         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55552         type.
55553         [C99-based standards] (INT8_MAX): Likewise.
55554         [C99-based standards] (INT16_MIN): Likewise.
55555         [C99-based standards] (INT16_MAX): Likewise.
55556         [C99-based standards] (INT32_MIN): Likewise.
55557         [C99-based standards] (INT32_MAX): Likewise.
55558         [C99-based standards] (INT64_MIN): Likewise.
55559         [C99-based standards] (INT64_MAX): Likewise.
55560         [C99-based standards] (UINT8_MAX): Likewise.
55561         [C99-based standards] (UINT16_MAX): Likewise.
55562         [C99-based standards] (UINT32_MAX): Likewise.
55563         [C99-based standards] (UINT64_MAX): Likewise.
55564         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55565         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55566         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55567         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55568         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55569         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55570         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55571         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55572         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55573         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55574         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55575         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55576         [C99-based standards] (INT_FAST8_MIN): Likewise.
55577         [C99-based standards] (INT_FAST8_MAX): Likewise.
55578         [C99-based standards] (INT_FAST16_MIN): Likewise.
55579         [C99-based standards] (INT_FAST16_MAX): Likewise.
55580         [C99-based standards] (INT_FAST32_MIN): Likewise.
55581         [C99-based standards] (INT_FAST32_MAX): Likewise.
55582         [C99-based standards] (INT_FAST64_MIN): Likewise.
55583         [C99-based standards] (INT_FAST64_MAX): Likewise.
55584         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55585         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55586         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55587         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55588         [C99-based standards] (INTPTR_MIN): Likewise.
55589         [C99-based standards] (INTPTR_MAX): Likewise.
55590         [C99-based standards] (UINTPTR_MAX): Likewise.
55591         [C99-based standards] (INTMAX_MIN): Likewise.
55592         [C99-based standards] (INTMAX_MAX): Likewise.
55593         [C99-based standards] (UINTMAX_MAX): Likewise.
55594         [C99-based standards] (PTRDIFF_MIN): Likewise.
55595         [C99-based standards] (PTRDIFF_MAX): Likewise.
55596         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55597         [C99-based standards] (SIZE_MAX): Likewise.
55598         [C99-based standards] (WCHAR_MAX): Likewise.
55599         [C99-based standards] (WINT_MAX): Likewise.
55600         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55601         constraint on value.
55602         [C99-based standards] (WCHAR_MIN): Likewise.
55603         [C99-based standards] (WINT_MIN): Likewise.
55604         [C99-based standards] (*_t): Allow.
55605         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55606         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55607         Include math.h-data and complex.h-data.  Remove all expectations
55608         of math.h and complex.h contents.
55609         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55610         at end of line.
55611         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55612         (struct tm): Expect tag.
55613         [C99-based-standards] (wcstof): Expect function.
55614         [C99-based-standards] (wcstold): Likewise.
55615         [C99-based-standards] (wcstoll): Likewise.
55616         [C99-based-standards] (wcstoull): Likewise.
55617         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55618         macro-int-constant.  Specify type.
55619         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55620         constraint on value.
55621         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55622         Specify type.
55623         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55624         Specify value.
55625         [ISO C standards]: Do not allow headers.
55626         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55627         wcs[abcdefghijklmnopqrstuvwxyz]*.
55628         [ISO C standards] (*_t): Do not allow.
55629         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55630         Expect function.
55631         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55632         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55633         Specify type.
55634         [ISO C standards]: Do not allow headers.
55635         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55636         is[abcdefghijklmnopqrstuvwxyz]*.
55637         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55638         to[abcdefghijklmnopqrstuvwxyz]*.
55639         [ISO C standards] (*_t): Do not allow.
55640         * conform/data/stdalign.h-data: New file.
55641         * conform/data/stdbool.h-data: Likewise.
55642         * conform/data/stdnoreturn.h-data: Likewise.
55644 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55646         [BZ #14815]
55647         * manual/filesys.texi (Directory Entries): Typo fix.
55648         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55650 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55652         * elf/elf.h (EM_AARCH64): New macro.
55653         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55654         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55655         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55656         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55657         (R_AARCH64_TLSDESC): Likewise.
55658         (NT_ARM_TLS): Likewise.
55659         (NT_ARM_HW_BREAK): Likewise.
55660         (NT_ARM_HW_WATCH): Likewise.
55662 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55664         [BZ #14811]
55665         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55666         (__ieee754_powl): Saturate nonzero exponents with absolute value
55667         below 0x1p-79 to +/- 0x1p-79.
55668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55669         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55670         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55671         nonzero exponents with absolute value below 0x1p-32 to +/-
55672         0x1p-32.
55673         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55674         (__ieee754_powl): Saturate nonzero exponents with absolute value
55675         below 0x1p-79 to +/- 0x1p-79.
55676         * math/libm-test.inc (pow_test): Add more tests.
55678 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55680         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55681         _dl_s390_cap_flags with kernel. Increase string length.
55682         (_dl_s390_platforms): Add z196 and zEC12.
55684 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55686         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55687         Change XOPEN21K to XOPEN2K.
55689 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55691         * string/memmove.c: Use memcpy when possible.
55693 2012-11-06  Andreas Jaeger  <aj@suse.de>
55695         * po/eo.po: Update from translation team.
55697 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55699         [BZ #14793]
55700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55701         exponent and small x and y exponents, scale x or y up.  Increase
55702         by 2 the exponent used in scaling up.
55703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55704         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55705         * math/libm-test.inc (fma_test): Add more tests.
55706         (fma_test_towardzero): Likewise.
55707         (fma_test_downward): Likewise.
55708         (fma_test_upward): Likewise.
55710 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55712         [BZ #14805]
55713         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55714         fenv_t *.
55716         [BZ #14801]
55717         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55718         namespace for names of struct fields.
55719         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55720         fenv_t fields.
55721         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55722         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55724 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55726         [BZ #3665]
55727         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55729 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55731         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55732         PTR_DEMANGLE.
55734         [BZ #5246]
55735         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55736         PTR_DEMANGLE.
55738 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55740         [BZ #14797]
55741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55742         definitely overflow as x * y not x * y + z.
55743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55745         * math/libm-test.inc (fma_test): Add more tests.
55746         (fma_test_towardzero): Likewise.
55747         (fma_test_downward): Likewise.
55748         (fma_test_upward): Likewise.
55750 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55752         [BZ #157]
55754         * include/stub-tag.h: Remove file.
55755         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55756         '#include' of it.
55757         * manual/maint.texi (Porting): Don't reference it.
55758         * Makerules ($(objpfx)stubs): Likewise.
55759         * dirent/closedir.c: Don't include <stub-tag.h>.
55760         * dirent/dirfd.c: Likewise.
55761         * dirent/fdopendir.c: Likewise.
55762         * dirent/getdents.c: Likewise.
55763         * dirent/getdents64.c: Likewise.
55764         * dirent/opendir.c: Likewise.
55765         * dirent/readdir.c: Likewise.
55766         * dirent/readdir64.c: Likewise.
55767         * dirent/readdir64_r.c: Likewise.
55768         * dirent/readdir_r.c: Likewise.
55769         * dirent/rewinddir.c: Likewise.
55770         * dirent/seekdir.c: Likewise.
55771         * dirent/telldir.c: Likewise.
55772         * gmon/profil.c: Likewise.
55773         * grp/setgroups.c: Likewise.
55774         * inet/if_index.c: Likewise.
55775         * io/access.c: Likewise.
55776         * io/chdir.c: Likewise.
55777         * io/chmod.c: Likewise.
55778         * io/chown.c: Likewise.
55779         * io/close.c: Likewise.
55780         * io/dup.c: Likewise.
55781         * io/dup2.c: Likewise.
55782         * io/dup3.c: Likewise.
55783         * io/euidaccess.c: Likewise.
55784         * io/faccessat.c: Likewise.
55785         * io/fchdir.c: Likewise.
55786         * io/fchmod.c: Likewise.
55787         * io/fchmodat.c: Likewise.
55788         * io/fchown.c: Likewise.
55789         * io/fchownat.c: Likewise.
55790         * io/fcntl.c: Likewise.
55791         * io/flock.c: Likewise.
55792         * io/fstatfs.c: Likewise.
55793         * io/fstatfs64.c: Likewise.
55794         * io/fstatvfs.c: Likewise.
55795         * io/fstatvfs64.c: Likewise.
55796         * io/futimens.c: Likewise.
55797         * io/fxstat.c: Likewise.
55798         * io/fxstat64.c: Likewise.
55799         * io/fxstatat.c: Likewise.
55800         * io/fxstatat64.c: Likewise.
55801         * io/getcwd.c: Likewise.
55802         * io/isatty.c: Likewise.
55803         * io/lchmod.c: Likewise.
55804         * io/lchown.c: Likewise.
55805         * io/link.c: Likewise.
55806         * io/linkat.c: Likewise.
55807         * io/lseek.c: Likewise.
55808         * io/lseek64.c: Likewise.
55809         * io/lxstat64.c: Likewise.
55810         * io/mkdir.c: Likewise.
55811         * io/mkdirat.c: Likewise.
55812         * io/mkfifo.c: Likewise.
55813         * io/mkfifoat.c: Likewise.
55814         * io/open.c: Likewise.
55815         * io/open64.c: Likewise.
55816         * io/openat.c: Likewise.
55817         * io/openat64.c: Likewise.
55818         * io/pipe.c: Likewise.
55819         * io/pipe2.c: Likewise.
55820         * io/poll.c: Likewise.
55821         * io/posix_fadvise.c: Likewise.
55822         * io/posix_fadvise64.c: Likewise.
55823         * io/posix_fallocate.c: Likewise.
55824         * io/posix_fallocate64.c: Likewise.
55825         * io/read.c: Likewise.
55826         * io/readlink.c: Likewise.
55827         * io/readlinkat.c: Likewise.
55828         * io/rmdir.c: Likewise.
55829         * io/sendfile.c: Likewise.
55830         * io/sendfile64.c: Likewise.
55831         * io/statfs.c: Likewise.
55832         * io/statfs64.c: Likewise.
55833         * io/statvfs.c: Likewise.
55834         * io/statvfs64.c: Likewise.
55835         * io/symlink.c: Likewise.
55836         * io/symlinkat.c: Likewise.
55837         * io/ttyname.c: Likewise.
55838         * io/ttyname_r.c: Likewise.
55839         * io/umask.c: Likewise.
55840         * io/unlink.c: Likewise.
55841         * io/unlinkat.c: Likewise.
55842         * io/utime.c: Likewise.
55843         * io/utimensat.c: Likewise.
55844         * io/write.c: Likewise.
55845         * io/xmknod.c: Likewise.
55846         * io/xmknodat.c: Likewise.
55847         * io/xstat.c: Likewise.
55848         * io/xstat64.c: Likewise.
55849         * login/getpt.c: Likewise.
55850         * login/grantpt.c: Likewise.
55851         * login/unlockpt.c: Likewise.
55852         * math/e_acoshl.c: Likewise.
55853         * math/e_acosl.c: Likewise.
55854         * math/e_asinl.c: Likewise.
55855         * math/e_atan2l.c: Likewise.
55856         * math/e_atanhl.c: Likewise.
55857         * math/e_coshl.c: Likewise.
55858         * math/e_expl.c: Likewise.
55859         * math/e_fmodl.c: Likewise.
55860         * math/e_gammal_r.c: Likewise.
55861         * math/e_hypotl.c: Likewise.
55862         * math/e_j0l.c: Likewise.
55863         * math/e_j1l.c: Likewise.
55864         * math/e_jnl.c: Likewise.
55865         * math/e_lgammal_r.c: Likewise.
55866         * math/e_log10l.c: Likewise.
55867         * math/e_log2l.c: Likewise.
55868         * math/e_logl.c: Likewise.
55869         * math/e_powl.c: Likewise.
55870         * math/e_rem_pio2l.c: Likewise.
55871         * math/e_sinhl.c: Likewise.
55872         * math/e_sqrtl.c: Likewise.
55873         * math/fclrexcpt.c: Likewise.
55874         * math/fedisblxcpt.c: Likewise.
55875         * math/feenablxcpt.c: Likewise.
55876         * math/fegetenv.c: Likewise.
55877         * math/fegetexcept.c: Likewise.
55878         * math/fegetround.c: Likewise.
55879         * math/feholdexcpt.c: Likewise.
55880         * math/fesetenv.c: Likewise.
55881         * math/fesetround.c: Likewise.
55882         * math/feupdateenv.c: Likewise.
55883         * math/fgetexcptflg.c: Likewise.
55884         * math/fraiseexcpt.c: Likewise.
55885         * math/fsetexcptflg.c: Likewise.
55886         * math/ftestexcept.c: Likewise.
55887         * math/k_cosl.c: Likewise.
55888         * math/k_rem_pio2l.c: Likewise.
55889         * math/k_sinl.c: Likewise.
55890         * math/k_tanl.c: Likewise.
55891         * math/s_asinhl.c: Likewise.
55892         * math/s_atanl.c: Likewise.
55893         * math/s_cbrtl.c: Likewise.
55894         * math/s_erfl.c: Likewise.
55895         * math/s_expm1l.c: Likewise.
55896         * math/s_log1pl.c: Likewise.
55897         * math/s_tanhl.c: Likewise.
55898         * misc/acct.c: Likewise.
55899         * misc/brk.c: Likewise.
55900         * misc/chflags.c: Likewise.
55901         * misc/chroot.c: Likewise.
55902         * misc/fchflags.c: Likewise.
55903         * misc/fgetxattr.c: Likewise.
55904         * misc/flistxattr.c: Likewise.
55905         * misc/fremovexattr.c: Likewise.
55906         * misc/fsetxattr.c: Likewise.
55907         * misc/fsync.c: Likewise.
55908         * misc/ftruncate.c: Likewise.
55909         * misc/futimes.c: Likewise.
55910         * misc/futimesat.c: Likewise.
55911         * misc/getdomain.c: Likewise.
55912         * misc/getdtsz.c: Likewise.
55913         * misc/gethostid.c: Likewise.
55914         * misc/gethostname.c: Likewise.
55915         * misc/getloadavg.c: Likewise.
55916         * misc/getpagesize.c: Likewise.
55917         * misc/getsysstats.c: Likewise.
55918         * misc/getxattr.c: Likewise.
55919         * misc/gtty.c: Likewise.
55920         * misc/ioctl.c: Likewise.
55921         * misc/lgetxattr.c: Likewise.
55922         * misc/listxattr.c: Likewise.
55923         * misc/llistxattr.c: Likewise.
55924         * misc/lremovexattr.c: Likewise.
55925         * misc/lsetxattr.c: Likewise.
55926         * misc/lutimes.c: Likewise.
55927         * misc/madvise.c: Likewise.
55928         * misc/mincore.c: Likewise.
55929         * misc/mlock.c: Likewise.
55930         * misc/mlockall.c: Likewise.
55931         * misc/mmap.c: Likewise.
55932         * misc/mprotect.c: Likewise.
55933         * misc/msync.c: Likewise.
55934         * misc/munlock.c: Likewise.
55935         * misc/munlockall.c: Likewise.
55936         * misc/munmap.c: Likewise.
55937         * misc/preadv.c: Likewise.
55938         * misc/preadv64.c: Likewise.
55939         * misc/ptrace.c: Likewise.
55940         * misc/pwritev.c: Likewise.
55941         * misc/pwritev64.c: Likewise.
55942         * misc/readv.c: Likewise.
55943         * misc/reboot.c: Likewise.
55944         * misc/remap_file_pages.c: Likewise.
55945         * misc/removexattr.c: Likewise.
55946         * misc/revoke.c: Likewise.
55947         * misc/select.c: Likewise.
55948         * misc/setdomain.c: Likewise.
55949         * misc/setegid.c: Likewise.
55950         * misc/seteuid.c: Likewise.
55951         * misc/sethostid.c: Likewise.
55952         * misc/sethostname.c: Likewise.
55953         * misc/setregid.c: Likewise.
55954         * misc/setreuid.c: Likewise.
55955         * misc/setxattr.c: Likewise.
55956         * misc/sstk.c: Likewise.
55957         * misc/stty.c: Likewise.
55958         * misc/swapoff.c: Likewise.
55959         * misc/swapon.c: Likewise.
55960         * misc/sync.c: Likewise.
55961         * misc/syncfs.c: Likewise.
55962         * misc/syscall.c: Likewise.
55963         * misc/truncate.c: Likewise.
55964         * misc/ualarm.c: Likewise.
55965         * misc/usleep.c: Likewise.
55966         * misc/ustat.c: Likewise.
55967         * misc/utimes.c: Likewise.
55968         * misc/vhangup.c: Likewise.
55969         * misc/writev.c: Likewise.
55970         * posix/_exit.c: Likewise.
55971         * posix/alarm.c: Likewise.
55972         * posix/execve.c: Likewise.
55973         * posix/fexecve.c: Likewise.
55974         * posix/fork.c: Likewise.
55975         * posix/fpathconf.c: Likewise.
55976         * posix/getaddrinfo.c: Likewise.
55977         * posix/getegid.c: Likewise.
55978         * posix/geteuid.c: Likewise.
55979         * posix/getgid.c: Likewise.
55980         * posix/getgroups.c: Likewise.
55981         * posix/getlogin.c: Likewise.
55982         * posix/getlogin_r.c: Likewise.
55983         * posix/getpgid.c: Likewise.
55984         * posix/getpid.c: Likewise.
55985         * posix/getppid.c: Likewise.
55986         * posix/getresgid.c: Likewise.
55987         * posix/getresuid.c: Likewise.
55988         * posix/getsid.c: Likewise.
55989         * posix/getuid.c: Likewise.
55990         * posix/glob64.c: Likewise.
55991         * posix/nanosleep.c: Likewise.
55992         * posix/pathconf.c: Likewise.
55993         * posix/pause.c: Likewise.
55994         * posix/posix_madvise.c: Likewise.
55995         * posix/pread.c: Likewise.
55996         * posix/pread64.c: Likewise.
55997         * posix/pwrite.c: Likewise.
55998         * posix/pwrite64.c: Likewise.
55999         * posix/sched_getaffinity.c: Likewise.
56000         * posix/sched_getp.c: Likewise.
56001         * posix/sched_gets.c: Likewise.
56002         * posix/sched_primax.c: Likewise.
56003         * posix/sched_primin.c: Likewise.
56004         * posix/sched_rr_gi.c: Likewise.
56005         * posix/sched_setaffinity.c: Likewise.
56006         * posix/sched_setp.c: Likewise.
56007         * posix/sched_sets.c: Likewise.
56008         * posix/sched_yield.c: Likewise.
56009         * posix/setgid.c: Likewise.
56010         * posix/setlogin.c: Likewise.
56011         * posix/setpgid.c: Likewise.
56012         * posix/setresgid.c: Likewise.
56013         * posix/setresuid.c: Likewise.
56014         * posix/setsid.c: Likewise.
56015         * posix/setuid.c: Likewise.
56016         * posix/sleep.c: Likewise.
56017         * posix/spawni.c: Likewise.
56018         * posix/sysconf.c: Likewise.
56019         * posix/times.c: Likewise.
56020         * posix/wait.c: Likewise.
56021         * posix/wait3.c: Likewise.
56022         * posix/wait4.c: Likewise.
56023         * posix/waitpid.c: Likewise.
56024         * resolv/gai_sigqueue.c: Likewise.
56025         * resource/getpriority.c: Likewise.
56026         * resource/getrlimit.c: Likewise.
56027         * resource/getrusage.c: Likewise.
56028         * resource/nice.c: Likewise.
56029         * resource/setpriority.c: Likewise.
56030         * resource/setrlimit.c: Likewise.
56031         * resource/ulimit.c: Likewise.
56032         * rt/aio_cancel.c: Likewise.
56033         * rt/aio_fsync.c: Likewise.
56034         * rt/aio_read.c: Likewise.
56035         * rt/aio_sigqueue.c: Likewise.
56036         * rt/aio_suspend.c: Likewise.
56037         * rt/aio_write.c: Likewise.
56038         * rt/clock_getres.c: Likewise.
56039         * rt/clock_gettime.c: Likewise.
56040         * rt/clock_nanosleep.c: Likewise.
56041         * rt/clock_settime.c: Likewise.
56042         * rt/lio_listio.c: Likewise.
56043         * rt/mq_close.c: Likewise.
56044         * rt/mq_getattr.c: Likewise.
56045         * rt/mq_notify.c: Likewise.
56046         * rt/mq_open.c: Likewise.
56047         * rt/mq_receive.c: Likewise.
56048         * rt/mq_send.c: Likewise.
56049         * rt/mq_setattr.c: Likewise.
56050         * rt/mq_timedreceive.c: Likewise.
56051         * rt/mq_timedsend.c: Likewise.
56052         * rt/mq_unlink.c: Likewise.
56053         * rt/shm_open.c: Likewise.
56054         * rt/shm_unlink.c: Likewise.
56055         * rt/timer_create.c: Likewise.
56056         * rt/timer_delete.c: Likewise.
56057         * rt/timer_getoverr.c: Likewise.
56058         * rt/timer_gettime.c: Likewise.
56059         * rt/timer_settime.c: Likewise.
56060         * setjmp/__longjmp.c: Likewise.
56061         * setjmp/setjmp.c: Likewise.
56062         * signal/kill.c: Likewise.
56063         * signal/killpg.c: Likewise.
56064         * signal/raise.c: Likewise.
56065         * signal/sigaction.c: Likewise.
56066         * signal/sigaltstack.c: Likewise.
56067         * signal/sigblock.c: Likewise.
56068         * signal/sigignore.c: Likewise.
56069         * signal/sigintr.c: Likewise.
56070         * signal/signal.c: Likewise.
56071         * signal/sigpause.c: Likewise.
56072         * signal/sigpending.c: Likewise.
56073         * signal/sigqueue.c: Likewise.
56074         * signal/sigreturn.c: Likewise.
56075         * signal/sigset.c: Likewise.
56076         * signal/sigsetmask.c: Likewise.
56077         * signal/sigstack.c: Likewise.
56078         * signal/sigsuspend.c: Likewise.
56079         * signal/sigtimedwait.c: Likewise.
56080         * signal/sigvec.c: Likewise.
56081         * signal/sigwait.c: Likewise.
56082         * signal/sigwaitinfo.c: Likewise.
56083         * signal/sysv_signal.c: Likewise.
56084         * socket/accept.c: Likewise.
56085         * socket/accept4.c: Likewise.
56086         * socket/bind.c: Likewise.
56087         * socket/connect.c: Likewise.
56088         * socket/getpeername.c: Likewise.
56089         * socket/getsockname.c: Likewise.
56090         * socket/getsockopt.c: Likewise.
56091         * socket/isfdtype.c: Likewise.
56092         * socket/listen.c: Likewise.
56093         * socket/recv.c: Likewise.
56094         * socket/recvfrom.c: Likewise.
56095         * socket/recvmsg.c: Likewise.
56096         * socket/send.c: Likewise.
56097         * socket/sendmsg.c: Likewise.
56098         * socket/sendto.c: Likewise.
56099         * socket/setsockopt.c: Likewise.
56100         * socket/shutdown.c: Likewise.
56101         * socket/sockatmark.c: Likewise.
56102         * socket/socket.c: Likewise.
56103         * socket/socketpair.c: Likewise.
56104         * stdio-common/ctermid.c: Likewise.
56105         * stdio-common/cuserid.c: Likewise.
56106         * stdio-common/remove.c: Likewise.
56107         * stdio-common/rename.c: Likewise.
56108         * stdio-common/renameat.c: Likewise.
56109         * stdio-common/tempname.c: Likewise.
56110         * stdlib/getcontext.c: Likewise.
56111         * stdlib/makecontext.c: Likewise.
56112         * stdlib/setcontext.c: Likewise.
56113         * stdlib/swapcontext.c: Likewise.
56114         * stdlib/system.c: Likewise.
56115         * streams/fattach.c: Likewise.
56116         * streams/fdetach.c: Likewise.
56117         * streams/getmsg.c: Likewise.
56118         * streams/getpmsg.c: Likewise.
56119         * streams/putmsg.c: Likewise.
56120         * streams/putpmsg.c: Likewise.
56121         * sysdeps/unix/bsd/getpt.c: Likewise.
56122         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56123         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56124         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56126         Likewise.
56127         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56128         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56129         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56130         * sysvipc/msgctl.c: Likewise.
56131         * sysvipc/msgget.c: Likewise.
56132         * sysvipc/msgrcv.c: Likewise.
56133         * sysvipc/msgsnd.c: Likewise.
56134         * sysvipc/semctl.c: Likewise.
56135         * sysvipc/semget.c: Likewise.
56136         * sysvipc/semop.c: Likewise.
56137         * sysvipc/semtimedop.c: Likewise.
56138         * sysvipc/shmat.c: Likewise.
56139         * sysvipc/shmctl.c: Likewise.
56140         * sysvipc/shmdt.c: Likewise.
56141         * sysvipc/shmget.c: Likewise.
56142         * termios/tcdrain.c: Likewise.
56143         * termios/tcflow.c: Likewise.
56144         * termios/tcflush.c: Likewise.
56145         * termios/tcgetattr.c: Likewise.
56146         * termios/tcgetpgrp.c: Likewise.
56147         * termios/tcsendbrk.c: Likewise.
56148         * termios/tcsetattr.c: Likewise.
56149         * termios/tcsetpgrp.c: Likewise.
56150         * time/adjtime.c: Likewise.
56151         * time/clock.c: Likewise.
56152         * time/getitimer.c: Likewise.
56153         * time/gettimeofday.c: Likewise.
56154         * time/setitimer.c: Likewise.
56155         * time/settimeofday.c: Likewise.
56156         * time/stime.c: Likewise.
56157         * time/time.c: Likewise.
56159 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56161         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56162         /usr/old/bin.
56164         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56165         instead of spaces.
56166         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56168 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56170         [BZ #14796]
56171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56172         FE_TONEAREST before applying Dekker multiplication and Knuth
56173         addition.  Clear inexact exceptions and check for exact zero
56174         results afterwards.
56175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56178         * math/libm-test.inc (fma_test): Add more tests.
56179         (fma_test_towardzero): Likewise.
56180         (fma_test_downward): Likewise.
56181         (fma_test_upward): Likewise.
56182         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56183         function.
56184         (libc_fesetround): New macro.
56185         (libc_fesetroundf): Likewise.
56186         (libc_fesetroundl): Likewise.
56187         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56188         function.
56189         (libc_fesetround_387): Likewise.
56190         (libc_fesetroundf): New macro.
56191         (libc_fesetround): Likewise.
56192         (libc_fesetroundl): Likewise.
56193         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56194         function.
56195         (libc_fesetroundf): New macro.
56196         (libc_fesetround): Likewise.
56197         (libc_fesetroundl): Likewise.
56198         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56199         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56200         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56201         libm_hidden_ver.
56202         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56203         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56204         libm_hidden_def.
56205         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56206         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56207         libm_hidden_ver.
56208         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56209         libm_hidden_def.
56211         [BZ #3439]
56212         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56213         integer constant usable in #if and use that to give value to enum
56214         constant.
56215         (FE_DIVBYZERO): Likewise.
56216         (FE_UNDERFLOW): Likewise.
56217         (FE_OVERFLOW): Likewise.
56218         (FE_INVALID): Likewise.
56219         (FE_INVALID_SNAN): Likewise.
56220         (FE_INVALID_ISI): Likewise.
56221         (FE_INVALID_IDI): Likewise.
56222         (FE_INVALID_ZDZ): Likewise.
56223         (FE_INVALID_IMZ): Likewise.
56224         (FE_INVALID_COMPARE): Likewise.
56225         (FE_INVALID_SOFTWARE): Likewise.
56226         (FE_INVALID_SQRT): Likewise.
56227         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56228         (FE_TONEAREST): Likewise.
56229         (FE_TOWARDZERO): Likewise.
56230         (FE_UPWARD): Likewise.
56231         (FE_DOWNWARD): Likewise.
56232         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56233         (FE_DIVBYZERO): Likewise.
56234         (FE_OVERFLOW): Likewise.
56235         (FE_UNDERFLOW): Likewise.
56236         (FE_INEXACT): Likewise.
56237         (FE_TONEAREST): Likewise.
56238         (FE_DOWNWARD): Likewise.
56239         (FE_UPWARD): Likewise.
56240         (FE_TOWARDZERO): Likewise.
56241         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56242         (FE_UNDERFLOW): Likewise.
56243         (FE_OVERFLOW): Likewise.
56244         (FE_DIVBYZERO): Likewise.
56245         (FE_INVALID): Likewise.
56246         (FE_TONEAREST): Likewise.
56247         (FE_TOWARDZERO): Likewise.
56248         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56249         (FE_OVERFLOW): Likewise.
56250         (FE_UNDERFLOW): Likewise.
56251         (FE_DIVBYZERO): Likewise.
56252         (FE_INEXACT): Likewise.
56253         (FE_TONEAREST): Likewise.
56254         (FE_TOWARDZERO): Likewise.
56255         (FE_UPWARD): Likewise.
56256         (FE_DOWNWARD): Likewise.
56257         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56258         (FE_DIVBYZERO): Likewise.
56259         (FE_OVERFLOW): Likewise.
56260         (FE_UNDERFLOW): Likewise.
56261         (FE_INEXACT): Likewise.
56262         (FE_TONEAREST): Likewise.
56263         (FE_DOWNWARD): Likewise.
56264         (FE_UPWARD): Likewise.
56265         (FE_TOWARDZERO): Likewise.
56267 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56269         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56271 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56273         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56274         commands.  Quote $PWD.
56275         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56276         -x" by "export".
56277         (remove_newlines): Remove.
56279 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56281         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56282         * stdlib/stdlib.h (atof): Moved to ...
56283         * include/bits/stdlib-float.h: Here.  New file.
56284         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56285         * stdlib/bits/stdlib-float.h: New file.
56286         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56287         -mno-sse -mno-mmx.
56288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56289         <xmmintrin.h>.
56291 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56293         * conform/conformtest.pl (@headers): Add fenv.h.
56294         * conform/data/fenv.h-data: New file.
56295         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56296         include of <math/fenv.h>.
56298         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56299         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56300         && !UNIX98].  Enables tests for XOPEN2K8.
56301         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56302         POSIX2008]: Likewise.
56304         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56305         (struct rusage): Do not expect type or its members.
56307         [BZ #3439]
56308         * math/math.h (FP_NAN): Define macro to integer constant usable in
56309         #if and use that to give value to enum constant.
56310         (FP_INFINITE): Likewise.
56311         (FP_ZERO): Likewise.
56312         (FP_SUBNORMAL): Likewise.
56313         (FP_NORMAL): Likewise.
56315 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56317         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56318         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56319         arguments.
56321 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56323         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56324         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56325         autoconf-time if not.
56326         * configure.in: Remove AC_PREREQ.
56328 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56330         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56331         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56332         of the internal implementation.
56334 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56336         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56337         except include of <misc/sys/syslog.h>.
56339 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56342         function returns with a NULL context exit with zero.
56344 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56346         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56348 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56350         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56351         (run_program_cmd): This.
56352         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56353         (tst_langinfo): New variable.  Use it.
56355 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56357         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56358         floating point opcodes.
56360 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56362         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56363         variable.
56365         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56367         * sysdeps/mach/hurd/powerpc: Remove directory.
56368         * sysdeps/mach/powerpc: Likewise.
56370 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56372         * scripts/check-local-headers.sh: Ignore c++ headers.
56374 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56376         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56377         __libc_cleanup_region_start argument.
56379 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56381         [BZ #14784]
56382         [BZ #14785]
56383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56384         x * y using scaling, not as x * y + z.
56385         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56386         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56387         * math/libm-test.inc (fma_test): Add more tests.
56388         (fma_test_towardzero): Likewise.
56389         (fma_test_downward): Likewise.
56390         (fma_test_upward): Likewise.
56392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56394         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56396 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56398         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56399         New variable.
56401 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56403         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56405 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56408         Fix sort order.
56409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56410         Likewise.
56412 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56415         Fix the order of the list for glibc 2.17.
56416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56417         Likewise.
56419 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56423 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56425         [BZ #14610]
56426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56427         for low part of x being zero before using __atanl (y).
56428         * math/libm-test.inc (atan2_test): Add another test.
56430         * manual/install.texi (Configuring and compiling): Document
56431         general use of test-wrapper and test-wrapper-env.
56432         * INSTALL: Regenerated.
56434         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56435         (__fma): Do not extract and scale down low bits on after-rounding
56436         systems when result rounded to normal precision would have normal
56437         exponent.
56438         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56439         (__fmal): Do not extract and scale down low bits on after-rounding
56440         systems when result rounded to normal precision would have normal
56441         exponent.
56442         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56443         (__fmal): Do not extract and scale down low bits on after-rounding
56444         systems when result rounded to normal precision would have normal
56445         exponent.
56446         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56447         macro.
56448         (fma_test): Add more tests.
56449         (fma_test_towardzero): Likewise.
56450         (fma_test_downward): Likewise.
56451         (fma_test_upward): Likewise.
56453 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56455         * sysdeps/i386/tininess.h: Renamed to ...
56456         * sysdeps/x86/tininess.h: This.
56457         * sysdeps/x86_64/tininess.h: Removed.
56459 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56461         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56462         input.  Use $(build-program-cmd).
56463         ($(objpfx)tst-array1-static.out): Likewise.
56464         ($(objpfx)tst-array2.out): Likewise.
56465         ($(objpfx)tst-array3.out): Likewise.
56466         ($(objpfx)tst-array4.out): Likewise.
56467         ($(objpfx)tst-array5.out): Likewise.
56468         ($(objpfx)tst-array5-static.out): Likewise.
56470 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56472         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56473         if defined.
56475         * nss/nsswitch.h (nss_interface_function): Provide new
56476         macro for use with NSS functions.
56477         * grp/initgroups.c: Use new macro.
56478         * nss/getXXbyYY.c: Likewise.
56479         * nss/getXXbyYY_r.c: Likewise.
56480         * nss/getXXent.c: Likewise.
56481         * nss/getXXent_r.c: Likewise.
56482         * sysdeps/posix/getaddrinfo.c: Likewise.
56484 2012-10-30  Andreas Jaeger  <aj@suse.de>
56486         * po/ru.po: Update Russion translation from translation project.
56488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56490         [BZ #14152]
56491         [BZ #14783]
56492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56493         result and shift together with sticky bit instead of replicating
56494         round-to-nearest rounding.
56495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56497         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56498         missing underflow exceptions.
56499         (fma_test_towardzero): Add more tests.
56500         (fma_test_downward): Likewise.
56501         (fma_test_upward): Likewise.
56503         [BZ #14047]
56504         * sysdeps/generic/tininess.h: New file.
56505         * sysdeps/i386/tininess.h: Likewise.
56506         * sysdeps/sh/tininess.h: Likewise.
56507         * sysdeps/x86_64/tininess.h: Likewise.
56508         * stdlib/tst-strtod-underflow.c: Likewise.
56509         * stdlib/tst-tininess.c: Likewise.
56510         * stdlib/strtod_l.c: Include <tininess.h>.
56511         (round_and_return): Do not set errno for exact underflow cases.
56512         Force an underflow exception when setting errno for underflow.
56513         Determine underflow based on rounding to normal precision if
56514         TININESS_AFTER_ROUNDING.
56515         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56516         ERANGE for exact underflow cases.
56517         * stdlib/Makefile (tests): Add tst-tininess and
56518         tst-strtod-underflow.
56519         ($(objpfx)tst-tininess): Use $(link-libm).
56520         ($(objpfx)tst-strtod-underflow): Likewise.
56522 2012-10-30  Andreas Jaeger  <aj@suse.de>
56524         [BZ#14767]
56525         * elf/Makefile (tests): Remove conditional for have-initfini-array
56526         since this is now always required and the variable does not exist
56527         anymore.
56528         (tests-static): Likewise.
56529         (modules-names): Likewise.
56531         * po/eo.po: Add Esperanto translation from translation project.
56533         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56534         merged with constructor/destructor.
56535         (init_array): Likewise.
56536         * elf/tst-array2dep.c (fini_array): Likewise.
56537         (init_array): Likewise.
56539 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56541         * manual/message.texi: Delete @cartouche tags.
56543 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56545         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56546         EOPNOTSUPP.
56547         * sysdeps/mach/hurd/fsync.c: Likewise.
56549         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56550         [_POSIX_REALTIME_SIGNALS]: Change condition to
56551         [_POSIX_REALTIME_SIGNALS > 0].
56553 2012-10-27  Andreas Jaeger  <aj@suse.de>
56555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56556         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56558         [__WORDSIZE != 64]: Likewise.
56560 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56562         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56563         *  iconvdata/tst-tables.sh: Likewise.
56565 2012-10-25  David S. Miller  <davem@davemloft.net>
56567         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56568         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56569         of strtoull.
56571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56572         ifunc-impl-list.c
56573         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56574         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56575         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56576         file.
56578 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56581         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56582         __getdirentries.
56584 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56585             Jim Blandy  <jimb@codesourcery.com>
56587         * scripts/cross-test-ssh.sh: New file.
56588         * manual/install.texi (Configuring and compiling): Document use of
56589         cross-test-ssh.sh.
56590         * INSTALL: Regenerated.
56592 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56594         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56595         EOPNOTSUPP.
56597 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56599         * Makeconfig (run-program-prefix): Fix comment.
56601 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56602             Jim Blandy  <jimb@codesourcery.com>
56604         * Makeconfig (test-wrapper): New variable,
56605         (test-wrapper-env): Likewise.
56606         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56607         (run-built-tests): Define to yes.
56608         (run-program-prefix): Use $(test-wrapper).
56609         (built-program-cmd): Likewise.
56610         * Rules (make-test-out): Use $(test-wrapper-env) and
56611         $(host-built-program-cmd).
56612         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56613         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56614         tst-pathopt.sh.
56615         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56616         $(test-wrapper-env) to tst-rtld-load-self.sh.
56617         ($(objpfx)order2.out): Use $(test-wrapper).
56618         ($(objpfx)tst-initorder.out): Likewise.
56619         ($(objpfx)tst-initorder2.out): Likewise.
56620         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56621         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56622         (test_wrapper_env): New variable.  Use it to run ld.so.
56623         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56624         Use it to run ld.so.
56625         (test_wrapper_env): Likewise.
56626         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56627         $(test-wrapper) to run-iconv-test.sh.
56628         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56629         (ICONV): Use $test_wrapper.
56630         * posix/Makefile ($(objpfx)globtest.out): Pass
56631         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56632         globtest.sh, not $(run-program-prefix).
56633         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56634         (test_wrapper): Likewise.
56635         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56636         set together with run_via_rtld_prefix.
56637         (run_program_prefix): Define in terms of test_wrapper and
56638         run_via_rtld_prefix.
56640 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56642         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56643         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56644         Targets removed.
56646         [BZ #14743]
56647         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56648         Declare __clock_getres, __clock_gettime, __clock_settime,
56649         __clock_nanosleep, and __clock_getcpuclockid.
56650         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56651         Remove librt_hidden_def (clock_gettime).
56652         * sysdeps/unix/clock_gettime.c: Likewise.
56653         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56654         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56655         * rt/clock_getres.c: Define __clock_getres as an alias.
56656         * sysdeps/posix/clock_getres.c: Likewise.
56657         * rt/clock_settime.c: Define __clock_settime as an alias.
56658         * sysdeps/unix/clock_settime.c: Likewise.
56659         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56660         * sysdeps/unix/clock_nanosleep.c: Likewise.
56661         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56662         * rt/clock-compat.c: New file.
56663         * rt/Makefile (librt-routines): Add clock-compat and move
56664         $(clock-routines) to ...
56665         (routines): ... here, new variable.
56666         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56667         Don't add get_clockfreq here.
56668         * rt/Versions (libc: GLIBC_2.17): New version set.
56669         Add clock_* symbols here.
56670         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56672         (GLIBC_2.17): Add clock_* symbols.
56673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56677         Likewise.
56678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56679         Likewise.
56680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56684         * NEWS: Mention the move.
56686         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56687         Use __open, __read, __close rather than their public counterparts.
56688         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56689         (__get_clockfreq_via_cpuinfo): Likewise.
56690         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56691         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56693         * config.h.in (HAVE_IFUNC): New #undef.
56694         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56695         was successful.
56696         * configure: Regenerated.
56698 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56700         * configure.in: Move READELF check to start of file.
56701         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56702         libc_cv_asm_gnu_indirect_function in the process.
56703         * configure: Regenerated.
56705 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56707         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56708         send the output to /dev/null.
56709         (libc_cv_cc_with_libunwind): Likewise.
56710         (libc_cv_as_noexecstack): Likewise.
56711         * configure: Regenerate.
56713 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56715         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56717         * posix/globtest.sh (TMPDIR): Do not set.
56718         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56719         (testout): Likewise.
56721 2012-10-24  Andreas Jaeger  <aj@suse.de>
56723         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56724         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56725         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56726         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56727         posix_fadvise64, posix_fallocate64.
56729         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56730         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56731         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56732         Likewise.
56733         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56734         Likewise.
56735         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56737         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56738         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56739         <bits/fcntl-linux.h>.
56740         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56743         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56744         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56745         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56746         [__WORDSIZE != 64]: Likewise.
56748 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56750         * Makeconfig (run-built-tests): New variable.
56751         * Rules [$(cross-compiling) = yes]: Change condition to
56752         [$(run-built-tests) = no].
56753         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56754         to [$(run-built-tests) = yes].
56755         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56756         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56757         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56758         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56759         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56760         * io/Makefile [$(cross-compiling) = no]: Likewise.
56761         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56762         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56763         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56764         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56765         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56766         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56767         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56768         * string/Makefile [$(cross-compiling) = no]: Likewise.
56770         * posix/Makefile ($(objpfx)globtest.out): Pass
56771         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56772         $(rtld-installed-name).
56773         * posix/globtest.sh (elf_objpfx): Remove variable.
56774         (rtld_installed_name): Likewise.
56775         (library_path): Likewise.
56776         (run_program_prefix): New variable.  Use for running globtest
56777         binary.
56779 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56780             Joseph Myers  <joseph@codesourcery.com>
56782         * Makeconfig (host-built-program-cmd): New variable.
56783         * elf/Makefile (tst-stackguard1-ARGS): Use
56784         $(host-built-program-cmd).
56785         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56786         (tst-spawn-ARGS): Likewise.
56787         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56789 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56790             Jim Blandy  <jimb@codesourcery.com>
56792         * Makeconfig (run-via-rtld-prefix): New variable.
56793         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56794         (built-program-cmd): Likewise.
56796 2012-10-22  Andreas Jaeger  <aj@suse.de>
56798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56799         __O_RSYNC if it exists, otherwise to O_SYNC.
56801 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56802             Joseph Myers  <joseph@codesourcery.com>
56804         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56805         /dev/null.
56806         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56807         from /dev/null
56808         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56809         /dev/null.
56811 2012-10-22  Andreas Jaeger  <aj@suse.de>
56813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56814         Define always.
56815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56818         bits/fcntl-linux.h.
56820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56821         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56823         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56824         to __O_LARGEFILE.
56825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56826         to __O_LARGEFILE.
56828 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56829             Joseph Myers  <joseph@codesourcery.com>
56831         * config.make.in (NM): New variable.
56833 2012-10-21  Andreas Jaeger  <aj@suse.de>
56835         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56836         definitions and declarations that are provided by
56837         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56839 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56841         [BZ #14683]
56842         * elf/Makefile (tests-static): Add tst-leaks1-static.
56843         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56844         ($(objpfx)tst-leaks1-static): New rule.
56845         ($(objpfx)tst-leaks1-static-mem): Likewise.
56846         (tst-leaks1-static-ENV): New macro.
56847         * elf/dl-open.c (dl_open_worker): Check the main application
56848         only if SHARED is defined.
56849         * elf/tst-leaks1-static.c: New file.
56851 2012-10-20  Andreas Jaeger  <aj@suse.de>
56853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56854         generic values for Linux.
56855         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56856         and declarations that are provided by <bits/fcntl-linux.h> and
56857         include <bits/fcntl-linux.h>.
56858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56861 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56863         * io/fcntl.h: Move include of <bits/types.h> to the top and
56864         include it unconditionally.
56866 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56868         * wcsmbs/Makefile (tests-ifunc): New variable.
56869         (tests): Add $(tests-ifunc).
56870         * wcsmbs/test-wcschr-ifunc.c: New file.
56871         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56872         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56873         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56874         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56875         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56877         * string/Makefile (tests-ifunc): New variable.
56878         (tests): Add $(tests-ifunc).
56879         * string/test-memccpy.c (TEST_NAME): New macro.
56880         * string/test-memchr.c (TEST_NAME): Likewise.
56881         * string/test-memcmp.c (TEST_NAME): Likewise.
56882         * string/test-memcpy.c (TEST_NAME): Likewise.
56883         * string/test-memmem.c (TEST_NAME): Likewise.
56884         * string/test-memmove.c (TEST_NAME): Likewise.
56885         * string/test-memset.c (TEST_NAME): Likewise.
56886         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56887         * string/test-stpcpy.c (TEST_NAME): Likewise.
56888         * string/test-stpncpy.c (TEST_NAME): Likewise.
56889         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56890         * string/test-strcasestr.c (TEST_NAME): Likewise.
56891         * string/test-strcat.c (TEST_NAME): Likewise.
56892         * string/test-strchr.c (TEST_NAME): Likewise.
56893         * string/test-strcmp.c(TEST_NAME): Likewise.
56894         * string/test-strcpy.c (TEST_NAME): Likewise.
56895         * string/test-strcspn.c (TEST_NAME): Likewise.
56896         * string/test-strlen.c (TEST_NAME): Likewise.
56897         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56898         * string/test-strncmp.c (TEST_NAME): Likewise.
56899         * string/test-strncpy.c (TEST_NAME): Likewise.
56900         * string/test-strnlen.c (TEST_NAME): Likewise.
56901         * string/test-strpbrk.c (TEST_NAME): Likewise.
56902         * string/test-strrchr.c (TEST_NAME): Likewise.
56903         * string/test-strspn.c (TEST_NAME): Likewise.
56904         * string/test-strstr.c (TEST_NAME): Likewise.
56905         * string/test-bcopy-ifunc.c: New file.
56906         * string/test-bzero-ifunc.c: Likewise.
56907         * string/test-memccpy-ifunc.c: Likewise.
56908         * string/test-memchr-ifunc.c: Likewise.
56909         * string/test-memcmp-ifunc.c: Likewise.
56910         * string/test-memcpy-ifunc.c: Likewise.
56911         * string/test-memmem-ifunc.c: Likewise.
56912         * string/test-memmove-ifunc.c: Likewise.
56913         * string/test-mempcpy-ifunc.c: Likewise.
56914         * string/test-memset-ifunc.c: Likewise.
56915         * string/test-rawmemchr-ifunc.c: Likewise.
56916         * string/test-stpcpy-ifunc.c: Likewise.
56917         * string/test-stpncpy-ifunc.c: Likewise.
56918         * string/test-strcasecmp-ifunc.c: Likewise.
56919         * string/test-strcasestr-ifunc.c: Likewise.
56920         * string/test-strcat-ifunc.c: Likewise.
56921         * string/test-strchr-ifunc.c: Likewise.
56922         * string/test-strchrnul-ifunc.c: Likewise.
56923         * string/test-strcmp-ifunc.c: Likewise.
56924         * string/test-strcpy-ifunc.c: Likewise.
56925         * string/test-strcspn-ifunc.c: Likewise.
56926         * string/test-strlen-ifunc.c: Likewise.
56927         * string/test-strncasecmp-ifunc.c: Likewise.
56928         * string/test-strncat-ifunc.c: Likewise.
56929         * string/test-strncmp-ifunc.c: Likewise.
56930         * string/test-strncpy-ifunc.c: Likewise.
56931         * string/test-strnlen-ifunc.c: Likewise.
56932         * string/test-strpbrk-ifunc.c: Likewise.
56933         * string/test-strrchr-ifunc.c: Likewise.
56934         * string/test-strspn-ifunc.c: Likewise.
56935         * string/test-strstr-ifunc.c: Likewise.
56937         * debug/Makefile (tests-ifunc): New variable.
56938         (tests): Add $(tests-ifunc).
56939         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56940         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56941         * debug/test-stpcpy_chk-ifunc.c: New file.
56942         * debug/test-strcpy_chk-ifunc.c: Likewise.
56944 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56946         [BZ #13601]
56947         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56948         header is not read in.
56950 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56952         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56953         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56954         directly.  Pass built executable to script as
56955         $(built-program-cmd).
56956         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56957         $testprogram without using LD_LIBRARY_PATH and $ldso.
56959         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56960         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56961         $(rtld-installed-name).
56962         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56963         (rtld_installed_name): Likewise.
56964         (library_path): Likewise.
56965         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56966         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56967         $(run-program-prefix) to tst-tables.sh.
56968         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56969         it to run tst-table-from and tst-table-to.
56970         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56971         Pass it to tst-table.sh.
56972         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56973         $(run-program-prefix) to tst-gettext.sh.
56974         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56975         tst-translit.sh.
56976         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56977         tst-gettext2.sh.
56978         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56979         to run tst-gettext.
56980         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56981         to run tst-gettext2.
56982         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56983         to run tst-translit.
56984         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56985         $(run-program-prefix) to tst-mtrace.sh.
56986         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56987         to run tst-mtrace.
56988         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56989         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56990         $(rtld-installed-name).
56991         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56992         (rtld_installed_name): Likewise.
56993         (run_program_prefix): New variable.  Use it to run wordexp-test.
56995         * Makeconfig (ARCH): Remove all definitions.
56996         (machine): Likewise.
56997         [ARCH]: Remove conditional code.
56998         [!objdir]: Give error.
56999         [!objdir] (objpfx): Remove.
57000         [!objdir] (common-objpfx): Likewise.
57001         [!objdir] (common-objdir): Likewise.
57002         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57003         AC_CONFIG_FILES call.
57004         * configure: Regenerated.
57006         [BZ #13888]
57007         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57008         or TMPDIR.
57009         (testout): Likewise.
57011         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57012         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57013         $(rtld-installed-name).
57014         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57015         (rtld_installed_name): Likwise.
57016         (runit): Remove function.
57017         (run_getconf): New variable,  Use it for running getconf binary.
57019 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57021         [BZ #14716]
57022         * string/test-memmem.c (check_result): New function.
57023         (do_one_test): Use it.
57024         (check1): New function.
57025         (test_main): Use it.
57027 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57029         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57031 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57033         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57034         (_G_LSEEK64): Likewise.
57035         (_G_MMAP64): Likewise.
57036         (_G_FSTAT64): Likewise.
57037         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57038         (_G_LSEEK64): Likewise.
57039         (_G_MMAP64): Likewise.
57040         (_G_FSTAT64): Likewise.
57041         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57042         unconditional.  Call __mmap64 directly.
57043         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57044         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57045         __lseek64 directly.
57046         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57047         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57048         __mmap64 directly.
57049         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57050         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57051         __lseek64 directly.
57052         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57053         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57054         __lseek64 directly.
57055         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57056         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57057         __lseek64 directly.
57058         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57059         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57060         __fxstat64 directly.
57061         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57062         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57063         unconditional.
57064         (freopen64) [!_G_OPEN64]: Remove conditional code.
57065         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57066         unconditional.
57067         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57068         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57069         unconditional.
57070         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57071         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57072         unconditional.
57073         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57074         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57075         unconditional.
57076         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57077         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57078         unconditional.
57079         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57080         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57081         unconditional.
57082         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57083         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57084         unconditional.
57085         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57087 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57089         [BZ #12140]
57090         * manual/memory.texi (Malloc Tunable Parameters): Add note
57091         about free list pointers overwriting some perturb bytes.
57092         Wording suggested by Roland McGrath.
57094 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57096         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57097         (lgamma_test): Likewise.
57098         (tgamma_test): Likewise.
57100 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57102         [BZ #14700]
57103         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57104         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57106 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57108         * NEWS: Mention BZ #14716.
57109         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57110         when removing AVAILABLE1_USES_J macro.
57112 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57114         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57115         (__bswap_64): __uint64_t for unsigned 64-bit int.
57117 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57119         * include/string.h (memmem): Declare libc hidden alias.
57120         * string/memmem.c (memmem): Define libc hidden alias.
57121         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57122         __read, __close instead of open, read, close.
57124 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57127         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57128         global and hidden.
57129         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57130         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57131         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57132         Likewise.
57133         (__rawmemchr_sse2): Likewise.
57134         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57135         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57136         (__strchr_sse2): Likewise.
57137         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57138         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57139         (__strcasecmp_sse2): Likewise.
57140         (__strncasecmp_sse2): Likewise.
57141         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57142         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57143         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57144         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57145         (__strrchr_sse2): Likewise.
57146         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57147         ifunc-impl-list.c.
57148         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57149         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57150         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57151         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57152         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57154         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57155         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57156         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57157         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57158         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57159         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57160         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57161         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57162         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57163         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57164         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57165         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57166         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57167         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57168         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57169         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57170         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57171         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57172         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57173         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57174         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57175         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57176         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57177         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57179         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57180         global and hidden.
57181         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57182         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57183         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57184         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57185         Likewise.
57186         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57187         Likewise.
57188         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57189         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57190         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57191         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57192         ifunc-impl-list.c.
57193         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57194         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57195         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57196         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57197         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57198         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57199         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57200         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57201         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57202         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57203         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57204         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57205         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57206         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57207         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57208         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57209         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57210         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57211         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57212         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57213         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57214         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57215         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57216         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57217         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57218         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57219         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57220         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57221         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57223         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57224         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57225         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57226         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57227         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57228         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57229         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57230         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57231         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57232         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57233         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57235         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57236         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57237         * include/ifunc-impl-list.h: New file.
57238         * misc/ifunc-impl-list.c: Likewise.
57239         * misc/Makefile (routines): Add ifunc-impl-list.
57240         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57241         * string/test-string.h: Include <ifunc-impl-list.h>.
57242         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57243         TEST_NAME]: New variables.
57244         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57245         are defined.
57246         (test_init): Call __libc_ifunc_impl_list to initialize
57247         func_list if TEST_IFUNC and TEST_NAME are defined.
57249         * string/Makefile (strop-tests): Add bcopy and bzero.
57250         * string/test-bcopy.c: New file.
57251         * string/test-bzero.c: Likewise.
57252         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57253         defined.
57254         * string/test-memset.c: Support bzero test if TEST_BZERO is
57255         defined.
57256         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57257         __libc_memmove.
57258         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57259         __libc_memset.
57260         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57261         of memset.
57263 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57265         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57266         * configure: Regenerated.
57268         * Makeconfig (+link-static-before-libc): Don't include
57269         $(link-static-libc).
57271         * libio/libio.h (_IO_pos_t): Remove.
57273 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57275         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57276         McGrath.
57278 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57280         * crypt/crypt-entry.c: Include fips-private.h.
57281         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57282         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57283         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57284         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57286 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57288         * crypt/crypt-private.h: Include stdbool.h.
57289         (_ufc_setup_salt_r): Return bool.
57290         * crypt/crypt-entry.c: Include errno.h.
57291         (__crypt_r): Return NULL with EINVAL for bad salt.
57292         * crypt/crypt_util.c (bad_for_salt): New.
57293         (_ufc_setup_salt_r): Check that salt is long enough and within
57294         the specified alphabet.
57295         * crypt/badsalttest.c: New file.
57296         * crypt/Makefile (tests): Add it.
57297         ($(objpfx)badsalttest): New.
57299 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57301         * NEWS: Add entry for BZ #14602.
57303 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57305         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57306         type-generic.
57307         * math/libm-test.inc: Update comment listing what functions and
57308         macros are tested.
57309         (isgreater_test): New function.
57310         (isgreaterequal_test): Likewise.
57311         (isless_test): Likewise.
57312         (islessequal_test): Likewise.
57313         (islessgreater_test): Likewise.
57314         (isunordered_test): Likewise.
57315         (main): Call the new functions.
57317 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57319         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57320         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57321         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57322         * sysdeps/i386/configure: Regenerated.
57323         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57324         * sysdeps/mach/configure: Regenerated.
57325         * sysdeps/mach/hurd/configure: Regenerated.
57326         * sysdeps/powerpc/configure: Regenerated.
57327         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57328         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57329         * sysdeps/s390/s390-32/configure: Regenerated.
57330         * sysdeps/s390/s390-64/configure: Regenerated.
57331         * sysdeps/sh/configure: Regenerated.
57332         * sysdeps/sparc/configure: Regenerated.
57333         * sysdeps/unix/sysv/linux/configure: Regenerated.
57334         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57335         * sysdeps/x86_64/configure: Regenerated.
57337         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57338         defined.  Don't check if MAP is NULL.
57340 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57342         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57343         (_G_stat64): Likewise.
57344         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57345         (_G_stat64): Likewise.
57346         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57347         instead of struct _G_stat64.
57348         * libio/fileops.c (mmap_remap_check): Likewise.
57349         (decide_maybe_mmap): Likewise.
57350         (_IO_new_file_seekoff): Likewise.
57351         (_IO_file_stat): Likewise.
57352         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57353         _G_off64_t.
57354         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57355         instead of struct _G_stat64.
57356         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57358 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57360         [BZ #14602]
57361         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57362         Replace with ...
57363         (CHECK_EOL): New macro.
57364         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57365         CHECK_EOL.
57366         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57367         Replace with CHECK_EOL.
57368         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57369         Replace with CHECK_EOL.
57371 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57373         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57374         type-generic.
57375         * math/libm-test.inc: Update comment listing what functions and
57376         macros are tested.
57377         (finite_test): New function.
57378         (isinf_test): Likewise.
57379         (isnan_test): Likewise.
57380         (fpclassify_test): Test subnormal input.
57381         (isfinite_test): Likewise.
57382         (isnormal_test): Likewise.
57383         (main): Call the new functions.
57385 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57387         [BZ #14660]
57388         * Makerules (%.dynsym): Force C locale when running
57389         $(OBJDUMP) --dynamic-syms.
57391 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57393         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57394         <stdint.h>.
57396 2012-10-06  David S. Miller  <davem@davemloft.net>
57398         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57399         upper 32-bits of the length value in %o2 since we use branch-on-register
57400         tests which consider the entire 64-bit register.
57402 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57404         * string/test-strstr.c (check2): Add a test for page boundary.
57406 2012-10-05  David S. Miller  <davem@davemloft.net>
57408         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57409         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57410         file.
57411         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57412         sysdep_routines.
57413         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57414         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57415         and bzero when HWCAP_SPARC_CRYPTO is present.
57417 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57419         [BZ #14602]
57420         * string/test-strstr.c (check2): New function.
57421         (test_main): Call check2.
57423         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57424         and bug-strchr1.
57425         * string/bug-strcasestr1.c (do_test): Moved to ...
57426         * string/test-strcasestr.c (check1): Here.  New function.
57427         (do_one_test): Break out result checking code into ...
57428         (check_result): This.  New function.
57429         (do_one_test): Call check_result.
57430         (test_main): Call check1.
57431         * string/bug-strchr1.c (do_test): Moved to ...
57432         * string/test-strchr.c (check1): Here.  New function.
57433         (do_one_test): Break out result checking code into ...
57434         (check_result): This.  New function.
57435         (do_one_test): Call check_result.
57436         (test_main): Call check1.
57437         * string/bug-strstr1.c (main): Moved to ...
57438         * string/test-strstr.c (check1): Here.  New function.
57439         (do_one_test): Break out result checking code into ...
57440         (check_result): This.  New function.
57441         (do_one_test): Call check_result.
57442         (test_main): Call check1.
57443         * string/bug-strcasestr1.c: Removed.
57444         * string/bug-strchr1.c: Likewise.
57445         * string/bug-strstr1.c: Likewise.
57447         * elf/Makefile (dl-routines): Add hwcaps.
57448         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57449         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57450         (_dl_important_hwcaps): Moved to ...
57451         * elf/dl-hwcaps.c: Here.  New file.
57452         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57454         [BZ #14557]
57455         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57456         if IS_IN_rtld isn't defined.
57458         * elf/dl-support.c (_dl_sysinfo_map): New.
57459         Include "get-dynamic-info.h" and "setup-vdso.h".
57460         (_dl_non_dynamic_init): Call setup_vdso.
57461         * elf/dynamic-link.h: Don't include <assert.h>.
57462         (elf_get_dynamic_info): Moved to ...
57463         * elf/get-dynamic-info.h: Here.  New file.
57464         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57465         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57466         * elf/setup-vdso.h: Here.  New file.
57467         * elf/rtld.c: Include "setup-vdso.h".
57468         (dl_main): Call setup_vdso.
57470 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57472         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57473         creal in comment listing functions tested.  List finite, isinf,
57474         isnan, isless, islessequal, isgreater, isgreaterequal,
57475         islessgreater, isunordered, lgamma_r and pow10 as functions and
57476         macros not tested.  Mention which functions not tested are aliases
57477         for other functions.  Fix typo.  Note that signs of NaNs are not
57478         tested.
57480         * scripts/config.guess: Update from config.git.
57481         * scripts/config.sub: Likewise.
57483 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57485         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57486         * misc/madvise.c (madvise): Renamed to __madvise.
57487         Make madvise a weak alias.
57488         * include/sys/mman.h: Declare __madvise.
57489         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57490         * sysdeps/unix/syscalls.list
57491         (madvise): Make __madvise the strong name, and madvise a weak alias.
57492         * sysdeps/unix/sysv/linux/syscalls.list
57493         (madvise, mmap): Remove redundant entries.
57494         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57495         * malloc/malloc.c (mtrim): Likewise.
57496         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57498 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57500         * sysdeps/mach/hurd/dl-cache.c: File removed.
57501         * config.h.in (USE_LDCONFIG): New #undef.
57502         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57503         * configure: Regenerated.
57504         * elf/Makefile (dl-routines): Add dl-cache only under
57505         [$(use-ldconfig) = yes].
57506         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57507         cache on [USE_LDCONFIG].
57508         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57509         [USE_LDCONFIG].
57510         * elf/rtld.c (dl_main): Likewise.
57512 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57514         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57515         _SC_LEVEL4_CACHE_LINESIZE.
57517 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57519         * sysdeps/unix/bsd/confstr.h: File removed.
57521 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57523         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57524         sys/sdt-config.h.
57526 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57528         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57529         Make 'mapoff' field ElfW(Off) rather than off_t.
57531 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57533         * nscd/Makefile: Remove nscd-cflags and all its users.
57534         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57535         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57537         [BZ #10631]
57538         * malloc.c (malloc_printerr): Clarify error message.
57540 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57542         [BZ #14648]
57543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57544         Set bit_FMA_Usable if FMA is supported.
57545         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57546         macro.
57547         (bit_FMA4_Usable): Updated.
57548         (index_FMA_Usable): New macro.
57549         (CPUID_FMA): Likewise.
57550         (HAS_FMA): Defined with bit_FMA_Usable.
57552 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57554         * bits/types.h (__swblk_t): Type removed.
57555         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57556         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57558         (__SWBLK_T_TYPE): Likewise.
57559         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57560         (__SWBLK_T_TYPE): Likewise.
57561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57562         (__SWBLK_T_TYPE): Likewise.
57563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57564         (__SWBLK_T_TYPE): Likewise.
57566 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57567             Honza Horak <hhorak@redhat.com>
57569         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57570         (xdr_mapname): Use YPMAXMAP as maxsize.
57571         (xdr_peername): Use YPMAXPEER as maxsize.
57572         (xdr_keydat): Use YPAXRECORD as maxsize.
57573         (xdr_valdat): Use YPMAXRECORD as maxsize.
57575 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57577         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57579         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57580         * csu/init-first.c: ... here.
57581         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57582         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57583         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57584         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57585         * sysdeps/i386/init-first.c: File removed.
57586         * sysdeps/sh/init-first.c: File removed.
57588 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57590         [BZ #14645]
57591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57592         if x * y might underflow to zero and z is zero.
57593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57595         * math/libm-test.inc (min_subnorm_value): New variable.
57596         (fma_test): Add more tests.
57597         (fma_test_towardzero): Likewise.
57598         (fma_test_downward): Likewise.
57599         (fma_test_upward): Likewise.
57600         (initialize): Set min_subnorm_value.
57602 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57604         [BZ #14638]
57605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57606         0 + 0.
57607         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57608         mode for addition resulting in exact zero.
57609         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57611         exact 0 + 0.
57612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57614         * math/libm-test.inc (fma_test): Add more tests.
57615         (fma_test_towardzero): New function.
57616         (fma_test_downward): Likewise.
57617         (fma_test_upward): Likewise.
57618         (main): Call the new functions.
57620 2012-09-28  David S. Miller  <davem@davemloft.net>
57622         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57624 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57626         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57627         instead of SIGALRM.
57629         * sysdeps/gnu/_G_config.h: Moved to ...
57630         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57631         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57632         * sysdeps/generic/_G_config.h: ... here.
57634         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57636         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57638         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57639         Conditionalize target on [libnss_test1.so-version].
57641         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57643         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57644         (elfobjdir): Move out of conditionals.
57646         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57647         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57648         (__nss_lookup_function): Conditionalize label remove_from_tree on
57649         [!DO_STATIC_NSS || SHARED], matching its only use.
57651 2012-09-28  David S. Miller  <davem@davemloft.net>
57653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57654         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57655         file.
57656         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57657         sysdep_routines.
57658         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57660         when HWCAP_SPARC_CRYPTO is present.
57662 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57664         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57666 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57668         [BZ #6530]
57669         * stdio-common/vfprintf.c (process_string_arg): Revert
57670         2000-07-22 change.
57672 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57674         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57675         for testcase.
57676         * stdio-common/tst-sprintf.c: Include <locale.h>
57677         (main): Test sprintf's handling of incomplete multibyte
57678         characters.
57680 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57682         * elf/dl-runtime.c (VERSYMIDX): Removed.
57683         * elf/dl-version.c (VERSYMIDX): Likewise.
57684         * elf/do-rel.h (VERSYMIDX): Likewise.
57685         (VALIDX): Likewise.
57686         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57687         * elf/rtld.c (VALIDX): Likewise.
57688         (ADDRIDX): Likewise.
57689         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57690         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57691         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57692         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57693         (VALIDX): Likewise.
57694         (ADDRIDX): Likewise.
57696 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57698         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57700 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57702         [BZ #11438]
57703         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57704         to global scope.
57705         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57706         addresses are in the same scope as 192.0.2/24.
57707         * posix/gai.conf: Document new scope table defaults.
57709 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57711         [BZ #5298]
57712         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57713         for ftell.  Compute offsets from write pointers instead.
57714         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57716 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57718         [BZ #14543]
57719         * libio/Makefile (tests): New test case tst-fseek.
57720         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57721         combination works in wide mode.
57722         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57723         state when the external buffer state changes.
57725 2012-09-27  David S. Miller  <davem@davemloft.net>
57727         [BZ #14376]
57728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57729         pass reloc->r_addend in as the 'high' argument to
57730         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57736         * rt/tst-aio2.c: Include <pthread.h>.
57737         * rt/tst-aio3.c: Likewise.
57739 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57741         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57743 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57745         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57746         contents on [SHARED].
57748 2012-09-26  Marek Polacek  <polacek@redhat.com>
57750         [BZ #14530]
57751         [BZ #13741]
57752         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57753         for C++ and GCC <4.3 as well as for non GCC compilers.
57755 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57759 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57761         * Makefile.in (all, install): Declare with .PHONY.
57762         Reported by Michael Hope <michael.hope@linaro.org>.
57764 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57766         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57767         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57768         system header.
57769         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57770         Likewise.
57771         (sydep_routines): Add the new and the internal functions.
57772         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57773         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57775         (GLIBC_2.17): Add the new function.
57776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57777         (GLIBC_2.17): Likewise.
57778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57779         (GLIBC_2.17): Likewise.
57780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57781         (GLIBC_2.17): Likewise.
57782         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57784 2012-09-25  Alan Modra  <amodra@gmail.com>
57786         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57787         Add release barrier before setting once_control to say
57788         initialisation is done.  Add hints on lwarx.  Use macro in
57789         place of isync.
57790         (clear_once_control): Add release barrier.
57792 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57794         [BZ #13629]
57795         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57796         specially.
57797         * math/s_clog10.c (__clog10): Likewise.
57798         * math/s_clog10f.c (__clog10f): Likewise.
57799         * math/s_clog10l.c (__clog10l): Likewise.
57800         * math/s_clogf.c (__clogf): Likewise.
57801         * math/s_clogl.c (__clogl): Likewise.
57802         * math/Makefile (libm-calls): Add x2y2m1.
57803         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57804         (__x2y2m1): Likewise.
57805         (__x2y2m1l): Likewise.
57806         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57807         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57808         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57809         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57810         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57811         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57812         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57813         * sysdeps/i386/fpu/libm-test-ulps: Update.
57814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57816         [BZ #14621]
57817         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57818         int as type of variable DEPTH.
57819         (glob): Use size_t instead of int as type of variables NEWCOUNT
57820         and OLD_PATHC.
57822 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57824         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57825         Add s_sincosf-sse2.
57826         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57827         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57828         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57829         macros for using routine as __sincosf_ia32.
57830         Use macro for function declaration and weak_alias.
57831         * sysdeps/i386/fpu/libm-test-ulps: Update.
57833         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57836         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57837         subnormal argument.
57838         * math/s_cexpf.c (__cexpf): Likewise.
57839         * math/s_csinf.c (__csinf): Likewise.
57840         * math/s_csinhf.c (__csinhf): Likewise.
57841         * math/s_ctanf.c (__ctanf): Likewise.
57842         * math/s_ctanhf.c (__ctanhf): Likewise.
57843         * math/s_ccosh.c (__ccoshf): Likewise.
57844         * math/s_cexp.c (__cexpl): Likewise.
57845         * math/s_csin.c (__csin): Likewise.
57846         * math/s_csinh.c (__csinh): Likewise.
57847         * math/s_ctan.c (__ctan): Likewise.
57848         * math/s_ctanh.c (ctanh): Likewise.
57849         * math/s_ccoshl.c (__ccoshl): Likewise.
57850         * math/s_cexpl.c (__cexpl): Likewise.
57851         * math/s_csinl.c (__csinl): Likewise.
57852         * math/s_csinhl.c (__csinhl): Likewise.
57853         * math/s_ctanl.c (__ctanl): Likewise.
57854         * math/s_ctanhl.c (__ctanhl): Likewise.
57856 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57858         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57859         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57860         (_IO_off_t): Define to __off_t, not _G_off_t.
57861         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57862         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57863         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57864         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57865         type of __dummy and __dummy2 fields.
57866         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57867         (_G_ssize_t): Likewise.
57868         (_G_off_t): Likewise.
57869         (_G_pid_t): Likewise.
57870         (_G_uid_t): Likewise.
57871         (_G_wchar_t): Likewise.
57872         (_G_wint_t): Likewise.
57873         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57874         (_G_ssize_t): Likewise.
57875         (_G_off_t): Likewise.
57876         (_G_pid_t): Likewise.
57877         (_G_uid_t): Likewise.
57878         (_G_wchar_t): Likewise.
57879         (_G_wint_t): Likewise.
57880         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57881         (_G_ssize_t): Likewise.
57882         (_G_off_t): Likewise.
57883         (_G_pid_t): Likewise.
57884         (_G_uid_t): Likewise.
57885         (_G_wchar_t): Likewise.
57886         (_G_wint_t): Likewise.
57888 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57890         * malloc/arena.c: Include malloc-sysdep.h.
57891         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57892         is sufficient to shrink the heap or an unmap is needed.
57893         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57894         new function check_may_shrink_heap.
57895         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57896         new function check_may_shrink_heap.
57898 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57900         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57901         comments.
57903 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57905         * catgets/test-gencat.sh: Add "set -e".
57906         * elf/tst-pathopt.sh: Likewise.
57907         * grp/tst_fgetgrent.sh: Likewise.
57908         * iconvdata/run-iconv-test.sh: Likewise.
57909         * intl/tst-gettext.sh: Likewise.
57910         * intl/tst-gettext2.sh: Likewise.
57911         * intl/tst-gettext4.sh: Likewise.
57912         * intl/tst-gettext6.sh: Likewise.
57913         * intl/tst-translit.sh: Likewise.
57914         * io/ftwtest-sh: Likewise.
57915         * libio/test-freopen.sh: Likewise.
57916         * malloc/tst-mtrace.sh: Likewise.
57917         * posix/globtest.sh: Likewise.
57918         * posix/tst-getconf.sh: Likewise.
57919         * posix/wordexp-tst.sh: Likewise.
57920         * stdio-common/tst-printf.sh: Likewise.
57921         * stdio-common/tst-unbputc.sh: Likewise.
57922         * stdlib/tst-fmtmsg.sh: Likewise.
57923         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57924         * catgets/Makefile: Do not specify -e option when running
57925         testsuite shell scripts.
57926         * elf/Makefile: Likewise.
57927         * grp/Makefile: Likewise.
57928         * iconvdata/Makefile: Likewise.
57929         * intl/Makefile: Likewise.
57930         * io/Makefile: Likewise.
57931         * libio/Makefile: Likewise.
57932         * malloc/Makefile: Likewise.
57933         * posix/Makefile: Likewise.
57934         * stdio-common/Makefile: Likewise.
57935         * stdlib/Makefile: Likewise.
57936         * sysdeps/x86_64/Makefile: Likewise.
57938         * io/ftwtest-sh: Add copyright header.
57939         * posix/globtest.sh: Likewise.
57940         * posix/tst-getconf.sh: Likewise.
57941         * posix/wordexp-tst.sh: Likewise.
57942         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57944 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57946         [BZ #13679]
57947         * Makeconfig (+link): Defined as $(+link-static) if
57948         $(build-shared) isn't yes.
57949         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57950         isn't yes.
57951         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57953         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57955         [BZ #14562]
57956         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57957         new chunk size with MALLOC_ALIGN_MASK.
57959 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57961         [BZ #5044]
57962         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57963         <rounding-mode.h>.
57964         (__printf_fphex): Determine rounding using get_rounding_mode and
57965         round_away.
57966         * stdio-common/tst-printf-round.c (struct hex_test): New
57967         structure.
57968         (hex_tests): New variable.
57969         (test_hex_in_one_mode): New function.
57970         (do_test): Also run tests for hex float output.
57972 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57974         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57975         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57976         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57977         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57978         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57979         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57980         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57981         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57983 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57985         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57986         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57987         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57988         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57990 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57992         [BZ #14579]
57993         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57994         mode only.
57995         * elf/tst-rtld-load-self.sh: New test.
57996         * elf/Makefile: Run it.
57998 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58000         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58001         (tst-writev-ENV): Remove.
58002         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58004 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58006         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58008 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58010         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58011         unconditional.
58012         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58013         Likewise.
58014         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58015         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58016         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58017         Likewise.
58019 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58021         [BZ #14587]
58022         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58023         * config.make.in (have-cpp-asm-debuginfo): Removed.
58024         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58025         * configure: Regenerated.
58027 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58029         [BZ #5044]
58030         * stdio-common/printf_fp.c: Include <stdbool.h> and
58031         <rounding-mode.h>.
58032         (___printf_fp): Determine rounding using get_rounding_mode and
58033         round_away.
58034         * stdio-common/tst-printf-round.c: New file.
58035         * stdio-common/Makefile (tests): Add tst-printf-round.
58036         (link-libm): New variable.
58037         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58039 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58041         [BZ #14576]
58042         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58043         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58044         Likewise.
58045         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58046         Likewise.
58048 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58050         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58051         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58052         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58055 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58057         [BZ #14518]
58058         * include/rounding-mode.h: New file.
58059         * sysdeps/generic/get-rounding-mode.h: Likewise.
58060         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58061         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58062         (MAX_VALUE): New macro.
58063         (MIN_VALUE): Likewise.
58064         (overflow_value): New function.
58065         (underflow_value): Likewise.
58066         (round_and_return): Use overflow_value and underflow_value to
58067         determine return values in overflow and underflow cases.  Use
58068         round_away to determine rounding depending on rounding mode.
58069         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58070         determine return values in overflow and underflow cases.
58071         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58072         (struct test_results): New structure.
58073         (struct test): Use struct test_results to store expected results
58074         for all rounding modes.
58075         (TEST): Include expected results for all rounding modes.
58076         (test_in_one_mode): New function.
58077         (do_test): Use test_in_one_mode to compute and check results.
58078         Check results for all rounding modes.
58079         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58080         $(link-libm).
58082 2012-12-09  Allan McRae  <allan@archlinux.org>
58084         * sysdeps/i386/fpu/libm-test-ulps: Update
58086 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58088         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58089         (_G_int32_t): Likewise.
58090         (_G_uint16_t): Likewise.
58091         (_G_uint32_t): Likewise.
58092         (_G_HAVE_BOOL): Likewise.
58093         (_G_HAVE_ATEXIT): Likewise.
58094         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58095         (_G_HAVE_IO_FILE_OPEN): Likewise.
58096         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58097         (_G_int32_t): Likewise.
58098         (_G_uint16_t): Likewise.
58099         (_G_uint32_t): Likewise.
58100         (_G_HAVE_BOOL): Likewise.
58101         (_G_HAVE_ATEXIT): Likewise.
58102         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58103         (_G_HAVE_IO_FILE_OPEN): Likewise.
58104         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58105         (_G_int32_t): Likewise.
58106         (_G_uint16_t): Likewise.
58107         (_G_uint32_t): Likewise.
58108         (_G_HAVE_BOOL): Likewise.
58109         (_G_HAVE_ATEXIT): Likewise.
58110         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58111         (_G_HAVE_IO_FILE_OPEN): Likewise.
58113 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58115         * csu/libc-tls.c: Update copyright years.
58117 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58119         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58120         [!_G_USING_THUNKS]: Remove conditional code.
58121         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58122         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58124         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58125         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58126         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58127         (_G_VTABLE_LABEL_PREFIX): Likewise.
58128         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58129         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58130         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58131         (_G_VTABLE_LABEL_PREFIX): Likewise.
58132         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58133         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58134         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58135         (_G_VTABLE_LABEL_PREFIX): Likewise.
58136         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58138 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58140         * libio/Makefile: Include ../Makeconfig before tests.
58141         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58142         only if $(build-shared) is yes.
58144         * iconv/gconv_db.c: Update copyright years.
58146 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58148         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58149         unwind info if defined PIC. Fix special cases description.
58150         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58152         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58153         DP_HI_MASK entry.
58154         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58156 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58158         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58160         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58161         is NULL.
58163         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58164         (LDLIBS-tst-chk4): This.
58165         (LDFLAGS-tst-chk5): Renamed to ...
58166         (LDLIBS-tst-chk5): This.
58167         (LDFLAGS-tst-chk6): Renamed to ...
58168         (LDLIBS-tst-chk6): This.
58169         (LDFLAGS-tst-lfschk4): Renamed to ...
58170         (LDLIBS-tst-lfschk4): This.
58171         (LDFLAGS-tst-lfschk5): Renamed to ...
58172         (LDLIBS-tst-lfschk5): This.
58173         (LDFLAGS-tst-lfschk6): Renamed to ...
58174         (LDLIBS-tst-lfschk6): This.
58176         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58177         on $(common-objpfx)soversions.mk.
58179 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58181         [BZ #10014]
58182         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58183         example host name.
58185 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58187         * malloc/arena.c (arena_get_retry): New function that gets
58188         another arena for the caller to try its request on.
58189         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58190         current arena cannot fulfill the request.
58191         (__libc_memalign): Likewise.
58192         (__libc_memalign): Likewise.
58193         (__libc_pvalloc): Likewise.
58194         (__libc_calloc): Likewise.
58196 2012-09-05  John Tobey  <john.tobey@gmail.com>
58198         [BZ #13542]
58199         * manual/arith.texi (Operations on Complex): Fix description
58200         of carg branch cut.
58202 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58204         [BZ #10014]
58205         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58206         host name.
58208         [BZ #10038]
58209         * manual/memory.texi (Memory): Make order of menu items match
58210         order of sections.
58212 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58214         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58215         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58216         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58218 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58220         * csu/libc-tls.c (static_dtv): Renamed to ...
58221         (_dl_static_dtv): This.  Make it global.
58222         (_dl_initial_dtv): Removed.
58223         (__libc_setup_tls): Updated.
58224         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58225         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58226         DL_INITIAL_DTV.
58228 2012-09-06  Petr Machata  <pmachata@redhat.com>
58230         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58231         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58232         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58233         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58235 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58237         [BZ #14545]
58238         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58239         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58240         freeing dtv[-1].
58242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58244         [BZ #14544]
58245         * Makeconfig (link-static-before-libc): Replace $(+prector)
58246         with $(+prectorT).
58247         (link-static-after-libc): Replace $(+postctor) with
58248         $(+postctorT).
58249         (link-bounded): Replace $(+prector)/$(+postctor) with
58250         $(+prectorT)/$(+postctorT).
58251         (+prectorT): New macro.
58252         (+postctorT): Likewise.
58254 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58256         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58257         (round_str): Handle values above the maximum for IBM long double
58258         as inexact.
58259         * stdlib/tst-strtod-round.c (tests): Regenerated.
58261 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58263         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58264         assembler flag.
58265         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58266         zarch_nohighgprs around the zarch optimized routines.
58267         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58268         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58269         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58270         for zarch.
58272 2012-09-05  David S. Miller  <davem@davemloft.net>
58274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58276         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58277         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58278         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58279         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58280         entries.
58282 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58284         * malloc/arena.c: Fold copyright years.
58285         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58287 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58289         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58291 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58293         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58297         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58298         change internal state upon failure.
58300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58302         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58303         * malloc/memusage.c (mmap): Likewise.
58304         (mmap64, mremap): Likewise.  Adjust name in comment.
58306 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58308         * libio/fileops.c: Fix typos in comments.
58309         * libio/oldfileops.c: Likewise.
58310         * libio/wfileops.c: Likewise.
58312 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58314         [BZ #1349]
58315         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58316         (tst-malloc-usable-ENV): Set environment for test case.
58317         * malloc/hooks.c (malloc_check_get_size): New function to get
58318         requested size.
58319         * malloc/malloc.c (musable): Use malloc_check_get_size.
58320         * malloc/tst-malloc-usable.c: New test case.
58322 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58324         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58326 2012-09-05  Allan McRae  <allan@archlinux.org>
58328         [BZ #13966]
58329         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58330         determine header location.
58331         * configure: Regenerated.
58333 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58335         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58336         float format.
58337         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58338         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58339         format.
58340         (test): Regenerate.
58342 2012-09-04  David S. Miller  <davem@davemloft.net>
58344         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58345         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58346         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58348 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58350         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58351         failures.
58353         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58355 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58357         [BZ #9914]
58358         * libio/iogetdelim.c: Include <limits.h>.
58359         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58360         + len + 1 would overflow.
58362 2012-09-03  Andreas Jaeger  <aj@suse.de>
58364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58365         * sysdeps/i386/fpu/libm-test-ulps: Update.
58367 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58369         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58370         Add s_sinf-sse2, s_conf-sse2.
58372         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58373         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58374         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58375         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58377         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58378         for using routine as __sinf_ia32.
58379         Use macro for function declaration and weak_alias.
58380         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58381         for using routine as __cosf_ia32.
58382         Use macro for function declaration and weak_alias.
58384         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58385         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58387         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58388         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58391         * math/libm-test.inc (cos_test): Add more test cases.
58392         (sin_test): Likewise.
58393         (sincos_test): Likewise.
58395 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58398         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58399         hidden.
58400         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58402 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58404         [BZ #14538]
58405         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58406         first element of the GOT.
58407         (elf_machine_load_address): Return the difference between
58408         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58410 2012-09-01  Allan McRae  <allan@archlinux.org>
58412         [BZ #13412]
58413         * configure.in (AWK): Require gawk version 3.0 or later.
58414         * configure: Regenerated.
58416 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58418         * sysdeps/unix/sysv/linux/kernel-features.h
58419         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58421         [__NR_clock_getres]: Make code unconditional.
58422         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58423         (clock_getcpuclockid): Remove code left unreachable by removal of
58424         conditionals.
58425         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58426         code unconditional.
58427         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58428         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58429         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58430         Make code unconditional.
58431         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58433         * sysdeps/unix/sysv/linux/clock_settime.c
58434         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58435         conditional code.
58436         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58437         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58439 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58441         [BZ #14476]
58442         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58443         scripts/test-installation.pl.
58445         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58446         and $ld_so_version if it is set.
58448 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58450         [BZ #14516]
58451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58452         failure if reading from procfs failed.
58453         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58455 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58457         * sysdeps/unix/sysv/linux/kernel-features.h
58458         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58459         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58460         Remove conditional code.
58461         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58462         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58463         Remove conditional code.
58464         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58465         * sysdeps/unix/sysv/linux/i386/fxstat.c
58466         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58467         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58468         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58469         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58470         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58471         * sysdeps/unix/sysv/linux/i386/lxstat.c
58472         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58473         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58474         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58475         Remove conditional code.
58476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58477         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58478         Remove conditional code.
58479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58480         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58481         <kernel-features.h>.
58482         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58483         Remove.
58484         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58485         Remove conditional code.
58486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58487         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58488         Remove conditional.
58490 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58492         [BZ #5400]
58493         * NEWS: Add fixed bug number.
58495 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58497         [BZ #14519]
58498         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58499         underflowing exponent in case of negative sign.
58500         * stdlib/tst-strtod-round-data: Add more tests.
58501         * stdlib/tst-strtod-round.c (tests): Regenerated.
58503         [BZ #3479]
58504         * stdlib/strtod_l.c (NDIG): Remove.
58505         (HEXNDIG): Likewise.
58506         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58507         smallest representable value.
58508         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58509         lie within an exact representation of 1/2 ulp of the result.
58510         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58511         unconditionally.
58512         (TENS_P9_IDX): Define unconditionally.
58513         (TENS_P9_SIZE): Likewise.
58514         (TENS_P10_IDX): Likewise.
58515         (TENS_P10_SIZE): Likewise.
58516         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58517         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58518         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58519         entries for 10^2^13 and 10^2^14.
58520         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58521         (TENS_P13_IDX): Define.
58522         (TENS_P13_SIZE): Likewise.
58523         (TENS_P14_IDX): Likewise.
58524         (TENS_P14_SIZE): Likewise.
58525         (_fpioconst_pow10): Change array size to
58526         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58527         unconditional.
58528         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58529         1024]: Add entries for 10^2^13 and 10^2^14.
58530         [LAST_POW10 > _LAST_POW10]: Remove #error.
58531         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58532         (_fpioconst_pow10): Change array size to
58533         FPIOCONST_POW10_ARRAY_SIZE.
58534         * stdlib/gen-fpioconst.c: New file.
58535         * stdlib/gen-tst-strtod-round.c: Likewise.
58536         * stdlib/tst-strtod-round-data: Likewise.
58537         * stdlib/tst-strtod-round.c: Likewise.
58538         * stdlib/Makefile (tests): Add tst-strtod-round.
58540         [BZ #14459]
58541         * stdlib/strtod_l.c: Include <stdint.h>.
58542         (NDEBUG): Do not define.
58543         (round_and_return): Change EXPONENT parameter to type intmax_t.
58544         Rearrange calculations to avoid internal overflow possibilities.
58545         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58546         Rearrange calculations to avoid internal overflow possibilities.
58547         Assert that number fits inside MPNSIZE limbs.
58548         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58549         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58550         calculations and add assertions to avoid internal overflow
58551         possibilities.  Add casts to avoid signed/unsigned operations.
58552         * stdlib/tst-strtod-overflow.c: New file.
58553         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58555 2012-08-25  Marek Polacek  <polacek@redhat.com>
58557         * time/time.h: Fix some typos in comments.
58559 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58561         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58562         * posix/tst-rfc3484-2.c: Likewise.
58563         * posix/tst-rfc3484-3.c: Likewise.
58565 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58567         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58568         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58570 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58572         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58573         #include of fxstatat64.c.
58575 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58577         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58578         * shadow/getspent_r.c: Likewise.
58579         * shadow/getspnam.c: Likewise.
58580         * shadow/getspnam_r.c: Likewise.
58581         * gshadow/getsgent.c: Likewise.
58582         * gshadow/getsgent_r.c: Likewise.
58583         * gshadow/getsgnam.c: Likewise.
58584         * gshadow/getsgnam_r.c: Likewise.
58585         * inet/getnetbyad.c: Likewise.
58586         * inet/getnetbyad_r.c: Likewise.
58587         * inet/getnetbynm.c: Likewise.
58588         * inet/getnetbynm_r.c: Likewise.
58589         * inet/getnetent.c: Likewise.
58590         * inet/getnetent_r.c: Likewise.
58591         * inet/getproto.c: Likewise.
58592         * inet/getproto_r.c: Likewise.
58593         * inet/getprtent.c: Likewise.
58594         * inet/getprtent_r.c: Likewise.
58595         * inet/getprtname.c: Likewise.
58596         * inet/getprtname_r.c: Likewise.
58597         * inet/getrpcbyname.c: Likewise.
58598         * inet/getrpcbyname_r.c: Likewise.
58599         * inet/getrpcbynumber.c: Likewise.
58600         * inet/getrpcbynumber_r.c: Likewise.
58601         * inet/getrpcent.c: Likewise.
58602         * inet/getrpcent_r.c: Likewise.
58603         * inet/getaliasent.c: Likewise.
58604         * inet/getaliasent_r.c: Likewise.
58605         * inet/getaliasname.c: Likewise.
58606         * inet/getaliasname_r.c: Likewise.
58607         * nscd/getgrgid_r.c: Likewise.
58608         * nscd/getgrnam_r.c: Likewise.
58609         * nscd/gethstbyad_r.c: Likewise.
58610         * nscd/gethstbynm3_r.c: Likewise.
58611         * nscd/getpwnam_r.c: Likewise.
58612         * nscd/getpwuid_r.c: Likewise.
58613         * nscd/getsrvbynm_r.c: Likewise.
58614         * nscd/getsrvbypt_r.c: Likewise.
58615         * nscd/gai.c: Likewise.
58617         * configure.in (build_nscd): New substituted variable, set
58618         by --disable-build-nscd and defaults to $use_nscd.
58619         * configure: Regenerated.
58620         * config.make.in (build-nscd): New substituted variable.
58621         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58622         Change conditional to require [$(build-nscd) = yes] as well.
58623         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58625         [BZ# 13696]
58626         * configure.in (use_nscd): New substituted variable, set by
58627         --disable-nscd.  If enabled, define USE_NSCD.
58628         * configure: Regenerated.
58629         * config.h.in: Add USE_NSCD.
58630         * config.make.in (use-nscd): New substituted variable.
58631         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58632         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58633         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58634         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58635         (CFLAGS-getgrnam_r.c): Likewise.
58636         (CFLAGS-initgroups.c): Likewise.
58637         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58638         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58639         Variables removed.
58640         * inet/getnetgrent_r.c
58641         (nscd_setnetgrent): New function, broken out of ...
58642         (setnetgrent): ... here.  Call it.
58643         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58644         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58645         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58646         * nscd/Makefile (routines, aux): Move definitions after include of
58647         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58648         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58649         Conditionalize on [USE_NSCD].
58650         (is_nscd, nscd_init_cb): Likewise.
58651         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58652         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58653         * nss/nss_db/db-init.c: Likewise.
58654         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58655         [USE_NSCD].
58656         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58657         (make_request): Use it.
58658         (cache_valid_p): New function.
58659         (__check_pf): Use it.
58660         * NEWS: Add item for --disable-nscd.
58662 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58664         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58665         to support sed >= 4.2.1-20-ga9bf076.
58666         * configure: Regenerated.
58668 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58670         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58671         Conditionalize whole body on [IREL].
58673 2012-08-22  Jeff Law <law@redhat.com>
58675         [BZ #14505]
58676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58677         if the family is PF_UNSPEC.
58679 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58681         * Makerules (lib-version): Rename from V.
58682         (install-lib-nosubdir): Change V to lib-version.
58684 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58686         [BZ #14252]
58687         * powerpc32/power6/wcschr.c: New file.
58688         * powerpc32/power6/wcscpy.c: New file.
58689         * powerpc32/power6/wcsrchr.c: New file.
58690         * powerpc64/power6/wcschr.c: New file.
58691         * powerpc64/power6/wcscpy.c: New file.
58692         * powerpc64/power6/wcsrchr.c: New file.
58694 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58696         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58697         (two_way_short_needle): Use it.
58698         * string/strstr.c (AVAILABLE1_USES_J): Define.
58699         * string/strcasestr.c: Likewise.
58701         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58702         array references.
58703         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58705         [BZ #11607]
58706         * NEWS: Add an entry.
58707         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58708         define their defaults.
58709         (two_way_short_needle): Detect end-of-string on-the-fly.
58710         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58711         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58712         * string/bug-strcasestr1.c: New test.
58713         * string/Makefile: Run it.
58715 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58717         [BZ #11607]
58718         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58719         the first character.
58721 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58723         * csu/elf-init.c (__libc_csu_irel): Function removed.
58724         * csu/libc-start.c (apply_irel): New function.
58725         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58727 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58729         * sysdeps/unix/sysv/linux/kernel-features.h
58730         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58731         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58732         <kernel-features.h>.
58733         [__NR_fadvise64_64]: Make code unconditional.
58734         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58735         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58736         !__NR_fadvise64_64)]: Likewise.
58737         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58738         !__NR_fadvise64_64))]: Likewise.
58739         [__NR_fadvise64]: Make code unconditional.
58740         [!__NR_fadvise64]: Remove conditional code.
58741         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58742         <kernel-features.h>.
58743         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58744         unconditional.
58745         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58746         conditional code.
58747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58748         not include <kernel-features.h>.
58749         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58750         unconditional.
58751         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58752         conditional code.
58753         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58754         include <kernel-features.h>.
58755         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58756         unconditional.
58757         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58758         conditional code.
58760 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58763         slight instruction rearrangements per scrollpipe analysis.
58764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58766 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58768         * manual/syslog.texi (syslog; vsyslog, closelog):
58769         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58770         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58772         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58773         DSOCAPS to match condition on defining it.
58775 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58777         * sysdeps/unix/sysv/linux/kernel-features.h
58778         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58780         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58781         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58783         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58784         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58786         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58787         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58789         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58790         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58792         * sysdeps/unix/sysv/linux/kernel-features.h
58793         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58794         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58795         unconditional.
58796         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58797         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58798         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58799         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58800         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58801         Make code unconditional.
58802         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58803         (__mmap64) [!__NR_mmap2]: Likewise.
58804         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58805         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58806         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58808         [__NR_mmap2]: Make code unconditional.
58809         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58810         (__mmap64) [!__NR_mmap2]: Likewise.
58812 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58814         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58816 2012-08-18  Andreas Jaeger  <aj@suse.de>
58818         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58820 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58822         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58823         * include/unistd.h (__have_sock_cloexec): Likewise.
58824         (__have_pipe2): Likewise.
58825         (__have_dup3): Likewise.
58827 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58829         [BZ #9685]
58830         * include/unistd.h (__have_pipe2): Change define into an extern int.
58831         (__have_dup3): Likewise.
58832         * socket/have_sock_cloexec.c: Include fcntl.h.
58833         (__have_pipe2): New variable.
58834         (__have_dup3): Likewise.
58836 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58838         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58840 2012-08-17  Marek Polacek  <polacek@redhat.com>
58842         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58843         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58845 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58847         * configure.in: Add AC_SUBST for sysheaders.
58848         * configure: Regenerated.
58849         * config.make.in (sysheaders): New substituted variable.
58851         * sysdeps/unix/mkfifo.c: Moved ...
58852         * sysdeps/posix/mkfifo.c: ... here.
58853         * sysdeps/unix/mkfifoat.c: Moved ...
58854         * sysdeps/posix/mkfifoat.c: ... here.
58856         * sysdeps/unix/utime.c: Moved ...
58857         * sysdeps/posix/utime.c: ... here.
58859         * sysdeps/unix/time.c: Moved ...
58860         * sysdeps/posix/time.c: ... here.
58861         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58862         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58864         * sysdeps/unix/nice.c: Moved ...
58865         * sysdeps/posix/nice.c: ... here.
58867         * sysdeps/unix/alarm.c: Moved ...
58868         * sysdeps/posix/alarm.c: ... here.
58870         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58872 2012-08-17  Jeff Law <law@redhat.com>
58874         * intl/Makefile (codeset_mo): New variable.
58875         ($(codeset_mo)): New target.
58876         (tst-codeset.out): Depend on that.  Remove explicit rule.
58877         (tst-gettext3.out, tst-gettext5.out): Likewise.
58878         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58879         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58880         * intl/tst-codeset.sh: Remove.
58881         * intl/tst-gettext3.sh: Likewise.
58882         * intl/tst-gettext5.sh: Likewise.
58884 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58886         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58887         * sysdeps/unix/syscalls.list: ... here.
58889         * sysdeps/posix/getaddrinfo.c
58890         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58891         (gaiconf_init, gaiconf_reload): Use them.
58892         [!_STATBUF_ST_NSEC]
58893         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58894         Define using time_t rather than struct timespec.
58896         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58897         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58898         Macros removed.
58899         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58900         [!NO_THREADS].
58901         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58902         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58903         Likewise.
58905         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58906         __libc_cleanup_push argument.
58908         * bits/param.h: New file.
58909         * misc/sys/param.h: New file.
58910         * include/sys/param.h: New file.
58911         * misc/Makefile (headers): Add bits/param.h.
58912         * sysdeps/generic/sys/param.h: File removed.
58913         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58914         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58915         * sysdeps/mach/hurd/bits/param.h: New file.
58916         * sysdeps/mach/hurd/sys/param.h: File removed.
58918         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58919         last change.
58921         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58922         [_IO_MTSAFE_IO].
58923         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58924         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58925         New macros.
58927         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58928         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58929         rather than -D_IO_MTSAFE_IO conditionally.
58930         * stdio-common/Makefile (CPPFLAGS): Likewise.
58931         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58932         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58933         Use $(libio-mtsafe).
58934         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58935         of -D_IO_MTSAFE_IO.
58936         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58937         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58938         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58939         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58940         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58941         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58942         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58943         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58944         (CFLAGS-fread_u_chk.c): Likewise.
58945         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58946         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58947         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58948         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58949         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58950         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58951         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58952         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58953         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58955         * libio/Makefile: Test [$(libc-reentrant) = yes]
58956         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58958         * Makeconfig
58959         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58960         * sysdeps/pthread/configure: File removed.
58961         * sysdeps/pthread/Makeconfig: New file.
58962         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58963         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58965 2012-08-16  Gary Benson  <gbenson@redhat.com>
58967         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58968         unmapping the first object in a namespace.
58970 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58972         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58973         (__internal_setnetgrent): ... this.  Add internal_function to
58974         definition.  Add libc_hidden_def.
58975         (setnetgrent): Update caller.
58976         (internal_endnetgrent): Renamed to ...
58977         (__internal_endnetgrent): ... this.  Add internal_function to
58978         definition.  Add libc_hidden_def.
58979         (endnetgrent): Update caller.
58980         (internal_getnetgrent_r): Renamed to ...
58981         (__internal_getnetgrent_r): ... this.  Add internal_function to
58982         definition.  Add libc_hidden_def.
58983         (__getnetgrent_r): Update caller.
58984         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58986 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58988         * stdlib/longlong.h: Update from GCC.
58990 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58992         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58993         on _QL, which is set by umul_ppmm but never used.
58994         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58995         variables, which are set by GMP macros but never used.
58996         * stdio-common/_itowa.c (_itowa): Likewise.
58997         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58998         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59000 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59002         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59003         struct La_sh_regs is not constant.
59004         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59005         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59006         and struct La_sparc64_regs are not constant.
59008 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59010         * sysdeps/unix/sysv/linux/kernel-features.h
59011         (__ASSUME_POSIX_TIMERS): Remove.
59012         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59013         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59014         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59015         Make code unconditional.
59016         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59017         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59018         Make code unconditional.
59019         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59020         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59021         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59022         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59023         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59024         Make code unconditional.
59025         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59026         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59027         (__libc_missing_posix_timers): Remove.
59029 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59031         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59032         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59034         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59036         * elf/dl-sym.c: Include <stdlib.h>.
59038         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59039         constants, which avoids warnings in 32-bit builds.
59041         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59042         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59044         * misc/lseek.c: File moved to ...
59045         * io/lseek.c: ... here.
59047         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59049         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59050         shifting LEN more than 31 bits at once.
59052 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59054         [BZ #14195]
59055         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59056         segmentation fault for a case of two empty input strings.
59057         * string/test-strncasecmp.c (check1): Renamed to...
59058         (bz12205): ...this.
59059         (bz14195): Add new testcase for two empty input strings and N > 0.
59060         (test_main): Call new testcase, adapt for renamed function.
59062 2012-08-15  Andreas Jaeger  <aj@suse.de>
59064         [BZ #14090]
59065         * crypt/md5test2.c: New test, based on test supplied by Serge
59066         Belyshev <belyshev@depni.sinp.msu.ru>.
59067         * crypt/Makefile (xtests): Add md5test-giant..
59068         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59070 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59072         [BZ #14090]
59073         * crypt/md5.c (md5_process_block): Don't assume the buffer
59074         length is less than 2**32.
59075         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59076         length is less than 2**64.
59078 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59080         * string/str-two-way.h: Include <sys/param.h>.
59081         (MAX): Macro removed.
59083         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59084         Move #define and #undef of memmove to just before and after
59085         including <string.h>.
59087         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59088         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59089         and after including <string.h>.  Move declarations of
59090         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59091         to before #include "string/memmove.c".
59093         * include/dirent.h: Declare __getdirentries.
59095         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59096         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59098 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59100         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59101         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59102         * sysdeps/i386/configure: Regenerated.
59103         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59104         STABS_CURRENT_FILE, and STABS_FUN.
59105         (END): Remove call to STABS_FUN_END.
59106         (STABS_CURRENT_FILE1): Delete.
59107         (STABS_CURRENT_FILE): Likewise.
59108         (STABS_FUN): Likewise.
59109         (STABS_FUN_END): Likewise.
59110         (STABS_FUN2): Likewise.
59111         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59112         * sysdeps/x86_64/configure: Regenerated.
59114 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59116         * elf/dl-open.c: Include <atomic.h>.
59117         * elf/dl-lookup.c: Likewise.
59119 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59121         * sysdeps/unix/sysv/linux/kernel-features.h
59122         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59123         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59124         unconditionally.
59125         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59126         unconditionally.
59127         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59128         condition on __ASSUME_CLONE_THREAD_FLAGS.
59130 2012-08-14  Andreas Jaeger  <aj@suse.de>
59132         * sysdeps/i386/fpu/libm-test-ulps: Update.
59134 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59136         * include/atomic.h (atomic_exchange_and_add): Split into ...
59137         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59138         New atomic macros.
59140 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59144 2012-08-13  Jeff Law <law@redhat.com>
59146         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59147         null byte in the output string.
59149 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59151         * sysdeps/unix/sysv/linux/kernel-features.h
59152         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59153         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59154         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59155         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59156         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59157         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59158         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59160 2012-08-09  Jeff Law <law@redhat.com>
59162         [BZ #13939]
59163         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59164         When avoid_arena is set, don't retry in the that arena.  Pick the
59165         next one, whatever it might be.
59166         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59167         (arena_lock): Pass in new parameter to arena_get2.
59168         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59169         arena_get2.
59170         (__libc_malloc): Unify retrying after main arena failure with
59171         __libc_memalign version.
59172         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59174 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59176         [BZ #14166]
59177         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59178         to __redirect_strstr.
59179         (__strstr_sse42): Use typeof __redirect_strstr.
59180         (__strstr_ia32): Likewise.
59181         (__libc_strstr): New prototype.
59182         (strstr): Renamed to ...
59183         (__libc_strstr): This.
59184         (strstr): New strong alias of __libc_strstr.
59185         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59186         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59187         __redirect_time.
59188         Include <time.h>.
59189         (__libc_time): New prototype.
59190         (time_ifunc): Replace time with __libc_time.
59191         (time): New strong alias and hidden definition of __libc_time.
59192         (__GI_time): Remove strong alias.
59193         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59194         Include <stddef.h>.
59195         (memmove): Redefined to __redirect_memmove.
59196         (__memmove_sse2): Use typeof __redirect_memmove.
59197         (__memmove_ssse3): Likewise.
59198         (__memmove_ssse3_back): Likewise.
59199         (__libc_memmove): New prototype.
59200         (memmove): Renamed to ...
59201         (__libc_memmove): This.
59202         (memmove): New strong alias of __libc_memmove.
59204 2012-08-08  Mark Salter  <msalter@redhat.com>
59206         * elf/elf.h
59207         (R_MN10300_TLS_GD): Define.
59208         (R_MN10300_TLS_LD): Likewise.
59209         (R_MN10300_TLS_LDO): Likewise.
59210         (R_MN10300_TLS_GOTIE): Likewise.
59211         (R_MN10300_TLS_IE): Likewise.
59212         (R_MN10300_TLS_LE): Likewise.
59213         (R_MN10300_TLS_DTPMOD): Likewise.
59214         (R_MN10300_TLS_DTPOFF): Likewise.
59215         (R_MN10300_TLS_TPOFF): Likewise.
59216         (R_MN10300_SYM_DIFF): Likewise.
59217         (R_MN10300_ALIGN): Likewise.
59218         (R_MN10300_NUM): Update.
59220 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59223         Remove.
59225 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59227         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59229         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59230         sysdeps/unix -> sysdeps/posix move.
59231         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59233 2012-08-07      Allan McRae     <allan@archlinux.org>
59235         [BZ #14303]
59236         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59237         (SUNOS_CPP): Likewise.
59238         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59239         not found.
59240         (open_input): Call CPP using execvp.
59242 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59244         * sysdeps/unix/sysv/linux/kernel-features.h
59245         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59246         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59247         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59248         (__ASSUME_WAITID_SYSCALL): Likewise.
59249         * sysdeps/unix/sysv/linux/dl-execstack.c
59250         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59251         code unconditional.
59252         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59253         conditional code.
59254         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59255         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59256         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59257         code.
59258         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59259         unconditional.
59260         [__ASSUME_WAITID_SYSCALL]: Likewise.
59261         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59263 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59265         * sysdeps/unix/closedir.c: Renamed to ...
59266         * sysdeps/posix/closedir.c: ... here.
59267         * sysdeps/unix/dirfd.c: Renamed to ...
59268         * sysdeps/posix/dirfd.c: ... here.
59269         * sysdeps/unix/dirstream.h: Renamed to ...
59270         * sysdeps/posix/dirstream.h: ... here.
59271         * sysdeps/unix/fdopendir.c: Renamed to ...
59272         * sysdeps/posix/fdopendir.c: ... here.
59273         * sysdeps/unix/opendir.c: Renamed to ...
59274         * sysdeps/posix/opendir.c: ... here.
59275         * sysdeps/unix/readdir.c: Renamed to ...
59276         * sysdeps/posix/readdir.c: ... here.
59277         * sysdeps/unix/readdir_r.c: Renamed to ...
59278         * sysdeps/posix/readdir_r.c: ... here.
59279         * sysdeps/unix/rewinddir.c: Renamed to ...
59280         * sysdeps/posix/rewinddir.c: ... here.
59281         * sysdeps/unix/seekdir.c: Renamed to ...
59282         * sysdeps/posix/seekdir.c: ... here.
59283         * sysdeps/unix/telldir.c: Renamed to ...
59284         * sysdeps/posix/telldir.c: ... here.
59285         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59286         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59287         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59288         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59290         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59291         * bits/fcntl.h: ... here.
59293         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59294         not 0.
59295         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59296         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59297         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59298         (struct flock): Move l_start, l_len to the beginning.
59299         Use __pid_t for l_pid.
59300         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59301         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59302         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59303         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59304         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59305         [__USE_LARGEFILE64] (struct flock64): New type.
59306         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59308         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59309         * bits/dirent.h: ... here.
59311         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59312         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59314 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59317         Change from 2.6.0 to 2.6.16.
59318         * sysdeps/unix/sysv/linux/configure: Regenerated.
59319         * sysdeps/unix/sysv/linux/kernel-features.h
59320         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59321         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59322         version.
59323         (__ASSUME_UTIMES): Likewise.
59324         (__ASSUME_CLONE_STOPPED): Remove.
59325         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59326         architectures, not kernel version.
59327         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59328         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59329         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59330         (__ASSUME_WAITID_SYSCALL): Likewise.
59331         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59332         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59333         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59334         refer to older versions.
59336 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59338         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59339         Define alphasort64 as an alias.
59340         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59341         Define versionsort64 as an alias.
59342         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59343         Define scandir64 as an alias.
59344         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59345         Define scandirat64 as an alias.
59346         * dirent/alphasort64.c (alphasort64):
59347         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59348         * dirent/versionsort64.c: Likewise.
59349         * dirent/scandir64.c: Likewise.
59350         * dirent/scandirat64.c: Likewise.
59351         * sysdeps/wordsize-64/alphasort.c: File removed.
59352         * sysdeps/wordsize-64/alphasort64.c: File removed.
59353         * sysdeps/wordsize-64/scandir.c: File removed.
59354         * sysdeps/wordsize-64/scandir64.c: File removed.
59355         * sysdeps/wordsize-64/scandirat.c: File removed.
59356         * sysdeps/wordsize-64/scandirat64.c: File removed.
59357         * sysdeps/wordsize-64/versionsort.c: File removed.
59358         * sysdeps/wordsize-64/versionsort64.c: File removed.
59359         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59360         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59361         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59362         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59363         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59364         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59365         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59366         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59368         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59370         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59372         [defined __arch64__ || defined __sparcv9]
59373         (__INO_T_MATCHES_INO64_T): New macro.
59374         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59375         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59376         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59377         * sysdeps/unix/sysv/linux/bits/dirent.h
59378         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59379         (_DIRENT_MATCHES_DIRENT64): New macro.
59381         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59382         Define lockf64 as an alias.
59383         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59384         Define fseeko64 as an alias.
59385         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59386         Define ftello64 as an alias.
59387         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59388         Define _IO_fgetpos64 and fgetpos64 as aliases.
59389         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59390         Define _IO_fsetpos64 and fsetpos64 as aliases.
59391         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59392         Conditionalize body on this.
59393         * libio/fseeko64.c: Likewise.
59394         * libio/ftello64.c: Likewise.
59395         * libio/iofgetpos64.c: Likewise.
59396         * libio/iofsetpos64.c: Likewise.
59397         * sysdeps/wordsize-64/lockf.c: File removed.
59398         * sysdeps/wordsize-64/lockf64.c: File removed.
59399         * sysdeps/wordsize-64/fseeko.c: File removed.
59400         * sysdeps/wordsize-64/fseeko64.c: File removed.
59401         * sysdeps/wordsize-64/ftello.c: File removed.
59402         * sysdeps/wordsize-64/ftello64.c: File removed.
59403         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59404         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59405         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59406         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59407         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59408         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59409         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59410         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59411         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59412         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59413         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59414         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59416         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59418         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59419         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59420         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59422         [defined __arch64__ || defined __sparcv9]
59423         (__OFF_T_MATCHES_OFF64_T): New macro.
59424         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59425         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59427         (__OFF_T_MATCHES_OFF64_T): New macro.
59429 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59431         * stdlib/secure-getenv.c (__secure_getenv): Replace
59432         GLIBC_2_16 with GLIBC_2_17.
59434 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59436         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59437         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59439 2012-08-03  David S. Miller  <davem@davemloft.net>
59441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59443 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59445         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59446         Remove.
59447         (__ASSUME_CORRECT_SI_PID): Likewise.
59448         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59449         (__ASSUME_TMPFS_NAME): Likewise.
59450         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59451         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59452         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59453         (HAVE_AUX_SECURE): Make definition unconditional.
59454         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59455         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59457 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59459         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59460         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59461         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59462         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59463         __eloop_threshold instead of SYMLOOP_MAX.
59465         * sysdeps/generic/eloop-threshold.h: New file.
59466         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59467         of MAXSYMLINKS.
59468         * elf/chroot_canon.c (chroot_canon): Likewise.
59470 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59472         [BZ #13717]
59473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59474         Change to 2.6.0 everywhere.
59475         * sysdeps/unix/sysv/linux/configure: Regenerated.
59476         * sysdeps/unix/sysv/linux/kernel-features.h
59477         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59478         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59479         kernel versions.
59480         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59481         (__ASSUME_FUTEX_REQUEUE): Remove.
59482         (__ASSUME_STATFS64): Define unconditionally.
59483         (__ASSUME_AT_SECURE): Likewise.
59484         (__ASSUME_CORRECT_SI_PID): Likewise.
59485         (__ASSUME_TGKILL): Define without depending on kernel version for
59486         i386.
59487         (__ASSUME_UTIMES): Likewise.
59488         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59489         kernel version.
59490         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59491         (__ASSUME_TMPFS_NAME): Likewise.
59492         * README: Update reference to Linux kernel versions.
59494 2012-08-02  Marek Polacek  <polacek@redhat.com>
59496         [BZ# 14150]
59497         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59498         libc_cv_asm_type_prefix with %.
59499         * configure: Regenerated.
59500         * include/libc-symbols.h: Remove comment about
59501         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59502         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59503         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59504         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59505         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59506         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59507         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59508         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59509         * elf/tst-unique2mod1.c: Likewise.
59510         * elf/tst-unique1mod2.c: Likewise.
59511         * elf/tst-unique1mod1.c: Likewise.
59512         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59513         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59514         Replace ASM_TYPE_DIRECTIVE with .type.
59515         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59516         * sysdeps/i386/sysdep.h: Likewise.
59517         * sysdeps/x86_64/sysdep.h: Likewise.
59518         * sysdeps/sh/sysdep.h: Likewise.
59519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59520         Do not define ASM_TYPE_DIRECTIVE.
59521         * sysdeps/powerpc/sysdep.h: Likewise.
59522         * sysdeps/powerpc/powerpc32/sysdep.h:
59523         Replace ASM_TYPE_DIRECTIVE with .type.
59524         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59525         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59526         * sysdeps/i386/fpu/e_powf.S: Likewise.
59527         * sysdeps/i386/fpu/e_expl.S: Likewise.
59528         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59530         * sysdeps/i386/fpu/e_pow.S: Likewise.
59531         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59532         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59533         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59534         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59535         * sysdeps/i386/fpu/e_log2.S: Likewise.
59536         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59537         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59538         * sysdeps/i386/fpu/e_powl.S: Likewise.
59539         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59540         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59541         * sysdeps/i386/fpu/e_logl.S: Likewise.
59542         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59543         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59544         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59545         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59546         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59547         * sysdeps/i386/fpu/e_log.S: Likewise.
59548         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59549         * sysdeps/i386/fpu/e_logf.S: Likewise.
59550         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59551         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59552         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59553         * sysdeps/i386/fpu/e_log10.S: Likewise.
59554         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59555         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59556         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59557         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59558         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59559         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59560         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59561         * sysdeps/i386/i686/strtok.S: Likewise.
59562         * sysdeps/i386/i386-mcount.S: Likewise.
59563         * sysdeps/i386/strtok.S: Likewise.
59564         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59565         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59566         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59567         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59568         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59569         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59570         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59571         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59572         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59573         * sysdeps/x86_64/_mcount.S: Likewise.
59574         * sysdeps/x86_64/strtok.S: Likewise.
59575         * sysdeps/sh/_mcount.S: Likewise.
59577 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59579         * libio/iofopen.c: Include <fcntl.h>.
59580         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59581         (_IO_fopen64, fopen64): Define as aliases.
59582         * libio/iofopen64.c: Include <fcntl.h>.
59583         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59584         Conditionalize body on this.
59585         * sysdeps/wordsize-64/iofopen.c: File removed.
59586         * sysdeps/wordsize-64/iofopen64.c: File removed.
59588 2012-08-01  Marek Polacek  <polacek@redhat.com>
59590         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59591         Use dlfcn directly instead of a variable.
59592         (binfmt-subdir): Do not define.
59593         (dlfcn): Likewise.
59595 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59598         Remove all definitions.
59599         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59600         <kernel-features.h>.
59601         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59602         (miss_F_GETOWN_EX): Remove all definitions.
59603         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59604         macro definition.
59605         [!__ASSUME_FCNTL64]: Remove conditional code.
59606         [__ASSUME_FCNTL64]: Make code unconditional.
59607         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59608         <kernel-features.h>.
59609         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59610         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59611         (lockf64) [__NR_fcntl64]: Make code unconditional.
59612         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59614         * sysdeps/unix/sysv/linux/kernel-features.h
59615         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59616         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59617         Make code unconditional.
59618         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59619         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59621         [__NR_vfork]: Make code unconditional.
59622         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59623         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59625         [__NR_vfork]: Make code unconditional.
59626         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59627         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59629 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59631         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59632         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59634         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59635         Define mkstemp64 as an alias.
59636         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59637         Define mkstemps64 as an alias.
59638         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59639         Define mkostemp64 as an alias.
59640         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59641         Define mkostemps64 as an alias.
59642         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59643         Conditionalize body on this.
59644         * misc/mkostemp64.c: Likewise.
59645         * misc/mkostemps64.c: Likewise.
59646         * misc/mkstemps64.c: Likewise.
59647         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59648         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59649         * sysdeps/wordsize-64/mkostemp.c: File removed.
59650         * sysdeps/wordsize-64/mkstemp.c: File removed.
59651         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59653         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59656         [BZ #14138]
59657         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59658         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59659         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59660         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59662         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59663         compat_symbol macros from <shlib-compat.h> rather than the underlying
59664         default_symbol_version and symbol_version macros, so that DEFAULT
59665         lines in shlib-versions are respected.
59666         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59668 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59670         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59671         Declare with warn_unused_result.
59672         (setgid, setregid, setegid, setresgid): Likewise.
59673         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59674         Likewise.
59675         * WUR-REPORT: Remove set*id functions.
59677 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59679         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59681 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59683         [BZ #10191]
59684         * include/sys/socket.h (__libc_accept, __libc_accept4):
59685         Add attribute_hidden.
59686         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59688         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59689         use of PTR_MANGLE.
59690         * inet/getnetgrent_r.c (setup): Likewise.
59692         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59694 2012-07-31  David S. Miller  <davem@davemloft.net>
59696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59698 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59700         [BZ #13629]
59701         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59702         value between 1.0 and 2.0 and smaller part has absolute value less
59703         than 1.0.
59704         * math/s_clog10.c (__clog10): Likewise.
59705         * math/s_clog10f.c (__clog10f): Likewise.
59706         * math/s_clog10l.c (__clog10l): Likewise.
59707         * math/s_clogf.c (__clogf): Likewise.
59708         * math/s_clogl.c (__clogl): Likewise.
59709         * math/libm-test.inc (clog_test): Add more tests.
59710         (clog10_test): Likewise.
59711         * sysdeps/i386/fpu/libm-test-ulps: Update.
59712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59714 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59716         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59717         Exit with zero in case no suitable GID is found, and write a
59718         message to standard error.
59720 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59722         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59723         rather than to 1.
59724         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59725         (MAXPATHLEN): Removed.
59726         (NOGROUP, NODEV): New macros.
59727         (setbit, clrbit, isset, isclr): New macros.
59728         (howmany, roundup, powerof2): New macros.
59729         (DEV_BSIZE): New macro.
59731         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59732         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59734         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59735         definition on [!__NO_LONG_DOUBLE_MATH].
59737         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59738         PTR_MANGLE and PTR_DEMANGLE.
59740         * socket/accept4.c (accept4): Rename to __libc_accept4.
59741         Define accept4 as a weak alias.
59743         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59744         on [_DIRENT_HAVE_D_TYPE].
59745         * io/ftw.c (ftw_dir): Likewise.
59747         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59749         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59751         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59752         Use the BSD numbers rather than the arbitrary ones we had.
59753         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59754         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59755         (SIGXCPU, SIGXFSZ): New macros.
59756         (_NSIG): Now 32.
59758         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59759         initializer on [_LIBC_REENTRANT].
59761         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59762         definitions inside [_POSIX_MAPPED_FILES].
59764         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59766         * dirent/opendir.c: Include <fcntl.h>.
59768         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59769         (__libc_getspecific): Likewise.
59770         (__libc_key_create): Likewise.
59772         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59773         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59774         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59775         (tmpfile64): Define as alias.
59776         * sysdeps/wordsize-64/tmpfile.c: File removed.
59777         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59778         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59779         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59781         * stdio-common/vfscanf.c: Include <stdbool.h>.
59782         * nss/makedb.c: Likewise.
59783         * stdio-common/_i18n_number.h: Likewise.
59784         * argp/argp-help.c: Likewise.
59785         * posix/wordexp.c: Likewise.
59786         * sysdeps/posix/spawni.c: Likewise.
59787         * nss/nss_files/files-initgroups.c: Likewise.
59788         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59789         * nss/nss_files/files-initgroups.c: Likewise.
59790         * nss/nss_db/db-netgrp.c: Likewise.
59791         * nss/nss_db/db-initgroups.c: Likewise.
59792         * io/fchmodat.c: Include <sys/stat.h>.
59794         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59795         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59797         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59798         [HAVE_MMAP].
59800         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59801         Add multiple inclusion protection.
59803 2012-07-27  David S. Miller  <davem@davemloft.net>
59805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59807 2012-07-27  Gary Benson  <gbenson@redhat.com>
59809         [BZ #14298]
59810         * elf/rtld.c: Include <stap-probe.h>.
59811         (dl_main): Added static probes "init_start" and "init_complete".
59812         * elf/dl-load.c: Include <stap-probe.h>.
59813         (lose): Take new parameter "nsid".
59814         Added static probe "map_failed".
59815         (_dl_map_object_from_fd): Pass namespace id to lose.
59816         Added static probe "map_start".
59817         (open_verify): Pass namespace id to lose.
59818         * elf/dl-open.c: Include <stap-probe.h>.
59819         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59820         and "reloc_complete".
59821         * elf/dl-close.c: Include <stap-probe.h>.
59822         (_dl_close_worker): Added static probes "unmap_start" and
59823         "unmap_complete".
59824         * elf/rtld-debugger-interface.txt: New file documenting the above.
59826 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59828         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59829         rather than a string variable.
59830         * sunrpc/rpc_main.c (h_output): Likewise.
59831         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59833 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59835         * inet/check_native.c: New file.
59837 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59839         [BZ #13629]
59840         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59841         if larger part has absolute value 1.0.
59842         * math/s_clog10.c (__clog10): Likewise.
59843         * math/s_clog10f.c (__clog10f): Likewise.
59844         * math/s_clog10l.c (__clog10l): Likewise.
59845         * math/s_clogf.c (__clogf): Likewise.
59846         * math/s_clogl.c (__clogl): Likewise.
59847         * math/libm-test.inc (clog_test): Add more tests.
59848         (clog10_test): Likewise.
59849         * sysdeps/i386/fpu/libm-test-ulps: Update.
59850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59852         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59853         (pltexit): Likewise.
59854         (La_regs): Likewise.
59855         (La_retval): Likewise.
59856         (int_retval): Likewise.
59857         Update #error for removed macros to refer only to definitions in
59858         tst-audit.h.
59859         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59860         macro.
59861         (pltexit): Likewise.
59862         (La_regs): Likewise.
59863         (La_retval): Likewise.
59864         (int_retval): Likewise.
59865         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59866         macro.
59867         (pltexit): Likewise.
59868         (La_regs): Likewise.
59869         (La_retval): Likewise.
59870         (int_retval): Likewise.
59871         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59872         macro.
59873         (pltexit): Likewise.
59874         (La_regs): Likewise.
59875         (La_retval): Likewise.
59876         (int_retval): Likewise.
59877         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59878         macro.
59879         (pltexit): Likewise.
59880         (La_regs): Likewise.
59881         (La_retval): Likewise.
59882         (int_retval): Likewise.
59883         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59884         macro.
59885         (pltexit): Likewise.
59886         (La_regs): Likewise.
59887         (La_retval): Likewise.
59888         (int_retval): Likewise.
59889         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59890         macro.
59891         (pltexit): Likewise.
59892         (La_regs): Likewise.
59893         (La_retval): Likewise.
59894         (int_retval): Likewise.
59895         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59896         macro definitions in tst-audit.h.
59897         * sysdeps/i386/tst-audit.h: New file.
59898         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59899         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59900         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59901         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59902         * sysdeps/sh/tst-audit.h: Likewise.
59903         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59904         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59905         * sysdeps/x86_64/tst-audit.h: Likewise.
59907 2012-07-26  Andreas Jaeger  <aj@suse.de>
59909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59910         ptrace.
59912         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59913         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59914         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59915         PTRACE_O_MASK.
59916         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59917         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59918         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59920         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59921         value.
59923         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59924         _sigsys.
59925         (si_call_addr, si_syscall, si_arch): Define new macro.
59926         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59927         _sigsys.
59928         (si_call_addr, si_syscall, si_arch): Define new marcro.
59929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59930         _sigsys.
59931         (si_call_addr, si_syscall, si_arch): Define new macro.
59932         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59933         _sigsys.
59934         (si_call_addr, si_syscall, si_arch): Define new macro.
59936 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59938         [BZ #13717]
59939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59940         Change to 2.4.21 where previously 2.4.1.
59941         * sysdeps/unix/sysv/linux/configure: Regenerated.
59942         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59943         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59944         Linux kernel version.
59945         (__ASSUME_STD_AUXV): Remove.
59946         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59947         kernel version.
59948         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59949         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59950         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59951         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59952         (__ASSUME_NETLINK_SUPPORT): Likewise.
59953         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59954         (__no_netlink_support): Remove conditional definition.
59955         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59956         Remove.
59957         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59958         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59959         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59960         (if_nameindex_ioctl): Remove.
59961         (if_nameindex_netlink): Do not handle __no_netlink_support.
59962         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59963         code.
59964         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59965         Remove conditional code.
59966         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59967         code.
59968         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59969         unconditional.
59970         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59971         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59972         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59973         Remove.
59974         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59975         [!__ASSUME_STD_AUXV]: Remove conditional code.
59976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59977         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59978         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59980         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59981         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59982         code.
59983         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59985         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59986         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59987         conditional code.
59988         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59990         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59991         code.
59992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59993         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59994         conditional code.
59995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59996         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59997         code unconditional.
59998         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59999         conditional code.
60000         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60001         unconditional.
60002         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60003         conditional code.
60004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60005         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60006         unconditional.
60007         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60008         conditional code.
60009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60010         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60011         code unconditional.
60012         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60013         conditional code.
60014         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60015         unconditional.
60016         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60017         conditional code.
60018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60019         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60020         code unconditional.
60021         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60022         conditional code.
60023         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60024         unconditional.
60025         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60026         conditional code.
60028 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60030         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60031         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60032         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60033         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60034         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60035         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60036         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60037         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60038         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60039         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60040         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60041         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60042         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60043         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60044         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60045         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60046         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60047         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60048         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60050         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60051         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60054 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60056         * Versions.def: Add GLIBC_2.17.
60057         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60058         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60059         Introduce __libc_secure_getenv.
60060         * stdlib/Versions (2.17): Add secure_getenv
60061         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60062         * stdlib/secure-getenv.c: Rename __secure_getenv to
60063         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60064         symbol __secure_getenv for GLIBC_2.0.
60065         * stdlib/tst-secure-getenv.c: New.
60066         * stdlib/Makefile (tests): Add testcase.
60067         * manual/startup.texi (Environment Access): Document
60068         secure_getenv.
60069         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60070         __libc_secure_getenv.
60071         * inet/ruserpass.c (ruserpass): Likewise.
60072         * malloc/mtrace.c (mtrace): Likewise.
60073         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60074         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60075         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60076         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60077         HAVE_SECURE_GETENV.
60078         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60079         __secure_getenv to __libc_secure_getenv.
60080         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60082         Likewise.
60083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60084         Likewise.
60085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60093 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60095         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60096         (struct La_i86_retval): Likewise.
60097         (struct La_x86_64_regs): Likewise.
60098         (struct La_x86_64_retval): Likewise.
60099         (struct La_x32_regs): Likewise.
60100         (struct La_x32_retval): Likewise.
60101         (struct La_ppc32_regs): Likewise.
60102         (struct La_ppc32_retval): Likewise.
60103         (struct La_ppc64_regs): Likewise.
60104         (struct La_ppc64_retval): Likewise.
60105         (struct La_sh_regs): Likewise.
60106         (struct La_sh_retval): Likewise.
60107         (struct La_s390_32_regs): Likewise.
60108         (struct La_s390_32_retval): Likewise.
60109         (struct La_s390_64_regs): Likewise.
60110         (struct La_s390_64_retval): Likewise.
60111         (struct La_sparc32_regs): Likewise.
60112         (struct La_sparc32_retval): Likewise.
60113         (struct La_sparc64_regs): Likewise.
60114         (struct La_sparc64_retval): Likewise.
60115         (struct audit_ifaces): Remove architecture-specific pltenter and
60116         pltexit members.
60117         * sysdeps/i386/ldsodefs.h: New file.
60118         * sysdeps/powerpc/ldsodefs.h: Likewise.
60119         * sysdeps/s390/ldsodefs.h: Likewise.
60120         * sysdeps/sh/ldsodefs.h: Likewise.
60121         * sysdeps/sparc/ldsodefs.h: Likewise.
60122         * sysdeps/x86_64/ldsodefs.h: Likewise.
60124 2012-07-25  Marek Polacek  <polacek@redhat.com>
60126         [BZ #6808]
60127         * math/libm-test.inc (yn_test): Add another test.
60128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60129         to ERANGE when the result is +-Inf.
60130         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60131         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60132         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60133         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60135 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60137         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60138         equal to 0.
60139         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60140         clock_t.
60141         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60143 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60145         * configure.in <sysdeps resolving>: Correct printing
60146         Implies_before.
60147         * configure: Regenerate.
60149 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60151         * math/w_ilogb.c: Include <limits.h>.
60152         * math/w_ilogbl.c: Likewise.
60154 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60156         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60157         va_copy.  Document allowing for unavailable va_copy only as
60158         pre-C99 compatibility.
60159         * manual/string.texi (Copying and Concatenation): Use va_copy
60160         instead of __va_copy in concat example.
60162 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60164         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60165         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60166         it if not null.
60168         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60169         with O_NOLINK passed to __file_name_lookup.
60171         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60172         with O_NOLINK passed to __file_name_lookup.
60174         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60175         negative N or less than NGIDS.
60177         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60178         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60179         enough.  Use memcpy instead of strncpy.
60181 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60183         * elf/Makefile (check-data): Remove.
60184         (localplt.data): New vpath directive.
60185         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60186         instead of $(check-data).
60187         * scripts/data/localplt-generic.data: Move to ...
60188         * sysdeps/generic/localplt.data: ... here.
60189         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60190         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60191         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60193         ... here.
60194         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60196         ... here.
60197         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60199         ... here.
60200         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60202         ... here.
60203         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60205         ... here.
60206         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60208         ... here.
60210 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60212         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60213         PPC32 and PPC64 files.
60214         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60215         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60217 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60219         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60220         __makecontext_ret to ...
60221         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60222         ... here and call exit if uc_link is NULL.  New file.
60223         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60224         __makecontext_ret.S.
60225         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60226         __makecontext_ret to ...
60227         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60228         ... here and call exit if uc_link is NULL.  New file.
60229         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60230         __makecontext_ret.S.
60232 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60234         * elf/elf.h (R_390_IRELATIVE): New definition.
60235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60236         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60237         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60238         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60239         (elf_machine_lazy_rel): Likewise.
60240         * sysdeps/s390/dl-irel.h: New file.
60241         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60242         * sysdeps/s390/s390-64/memset.S: New asm code.
60243         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60244         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60245         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60246         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60247         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60248         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60249         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60250         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60251         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60252         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60253         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60254         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60255         * sysdeps/s390/s390-32/memset.S: New asm code.
60256         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60258 2012-07-17  Marek Polacek  <polacek@redhat.com>
60260         [BZ #14349]
60261         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60262         * sysdeps/s390/s390-64/configure.in: Likewise.
60263         * sysdeps/sparc/configure.in: Likewise.
60264         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60265         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60266         * sysdeps/i386/configure.in: Likewise.
60267         * sysdeps/x86_64/configure.in: Likewise.
60268         * sysdeps/sh/configure.in: Likewise.
60269         * sysdeps/s390/s390-32/configure: Regenerated.
60270         * sysdeps/s390/s390-64/configure: Likewise.
60271         * sysdeps/x86_64/configure: Likewise.
60272         * sysdeps/sh/configure: Likewise.
60273         * sysdeps/powerpc/powerpc64/configure: Likewise.
60274         * sysdeps/powerpc/powerpc32/configure: Likewise.
60275         * sysdeps/sparc/configure: Likwise.
60276         * sysdeps/i386/configure: Likewise.
60278         * elf/dl-open.c: Comment fixes.
60280 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60282         * Makefile [CXX] (check-data): Remove.
60283         [CXX] (c++-types.data): New vpath directive.
60284         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60285         vpath.  Do not allow for C++ type data being missing.
60286         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60287         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60288         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60289         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60290         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60291         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60292         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60294         ... here.
60295         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60297         ... here.
60298         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60300         ... here.
60301         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60303         ... here.
60304         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60306         ... here.
60307         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60309         ... here.
60310         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60312         ... here.
60313         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60316         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60317         definitions to architecture-specific files.
60318         (TLS_IE): Likewise.
60319         (TLS_LD): Likewise.
60320         (TLS_GD): Likewise.
60321         * sysdeps/i386/tls-macros.h: New file.
60322         * sysdeps/powerpc/tls-macros.h: Likewise.
60323         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60324         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60325         * sysdeps/sh/tls-macros.h: Likewise.
60326         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60327         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60328         * sysdeps/x86_64/tls-macros.h: Likewise.
60330 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60332         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60333         zero value for regular exit case.
60335         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60336         (__start_context): Preserve zero value for regular exit case.
60338 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60339             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60341         * manual/setjmp.texi (setcontext): Clarify normal process
60342         termination when uc_link is the null pointer.
60343         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60344         exit call.
60346 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60348         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60349         preprocessor.  Test for each exception mask separately.
60351 2012-07-16  Andreas Jaeger  <aj@suse.de>
60353         * po/ru.po: Update from translation team.
60355 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60357         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60358         equal to 0.
60359         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60360         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60361         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60362         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60363         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60365 2012-07-13  Andreas Jaeger  <aj@suse.de>
60367         * po/fr.po: Update from translation team.
60369 2012-07-12  Marek Polacek  <polacek@redhat.com>
60371         [BZ #14173]
60372         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60373         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60374         loop condition.
60376 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60378         [BZ #13717]
60379         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60380         Change to 2.4.1 where previously 2.4.0.
60381         * sysdeps/unix/sysv/linux/configure: Regenerated.
60382         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60383         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60384         version.
60385         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60386         (__ASSUME_AT_CLKTCK): Remove.
60387         (__ASSUME_AT_PAGESIZE): Likewise.
60388         (__ASSUME_AT_XID): Likewise.
60389         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60390         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60391         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60392         unconditionally.
60393         (HAVE_AUX_PAGESIZE): Likewise.
60394         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60395         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60396         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60398 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60400         [BZ #14307]
60401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60402         the temporary buffer used to invoke __gethostbyname2_r,
60403         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60404         host_data / struct gaih_addrtuple.
60405         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60406         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60407         header file nss/nsswitch.h.
60408         * nss/nsswitch.h (global scope): Add definition of implementation
60409         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60410         resolv/nss_dns/dns-host.c).
60412 2012-07-11  Andreas Jaeger  <aj@suse.de>
60414         * po/fr.po: Update from translation team.
60416         * po/sv.po: Update from translation team
60417         * po/fr.po: Another update from translation team.
60419 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60422         for subnormals or multiply small sinh result by itself.
60423         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60426 2012-07-11  David S. Miller  <davem@davemloft.net>
60428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60430 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60432         [BZ #14347]
60433         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60434         (INTERNAL_MARK): Shift it here.
60436 2012-07-10  Marek Polacek  <polacek@redhat.com>
60438         [BZ #14151]
60439         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60440         libc_cv_asm_global_directive with .globl.
60441         * configure: Regenerated.
60442         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60443         with .globl.
60444         * sysdeps/i386/configure: Regenerated.
60445         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60446         with .globl.
60447         * sysdeps/x86_64/configure: Regenerated.
60448         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60449         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60450         * elf/tst-unique2mod2.c: Likewise.
60451         * elf/tst-unique2mod1.c: Likewise.
60452         * elf/tst-unique1mod2.c: Likewise.
60453         * elf/tst-unique1mod1.c: Likewise.
60454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60455         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60456         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60457         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60458         * sysdeps/mach/sysdep.h: Likewise.
60459         * sysdeps/i386/sysdep.h: Likewise.
60460         * sysdeps/i386/i386-mcount.S: Likewise.
60461         * sysdeps/x86_64/_mcount.S: Likewise.
60462         * sysdeps/x86_64/sysdep.h: Likewise.
60463         * sysdeps/sh/_mcount.S: Likewise.
60464         * sysdeps/sh/sysdep.h: Likewise.
60465         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60466         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60467         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60468         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60469         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60470         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60471         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60472         * locale/localeinfo.h: Likewise.
60473         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60474         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60476 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60478         [BZ #14336]
60479         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60480         system".
60481         * manual/message.texi (The Uniforum approach): Likewise.
60482         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60483         (glibc iconv Implementation): Likewise.
60485 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60487         [BZ #14337]
60488         * math/s_clog.c (__clog): Avoid scaling a value down where that
60489         could result in underflow.
60490         * math/s_clog10.c (__clog10): Likewise.
60491         * math/s_clog10f.c (__clog10f): Likewise.
60492         * math/s_clog10l.c (__clog10l): Likewise.
60493         * math/s_clogf.c (__clogf): Likewise.
60494         * math/s_clogl.c (__clogl): Likewise.
60495         * math/libm-test.inc (clog_test): Add more tests.
60496         (clog10_test): Likewise.
60497         * sysdeps/i386/fpu/libm-test-ulps: Update.
60498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60500 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60502         [BZ #14283]
60503         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60504         by 7 not 8 to examine high bit of fractional part.
60506         [BZ #14042]
60507         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60508         for call to __mcount_internal.
60509         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60510         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60511         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60513 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60515         [BZ #14154]
60516         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60517         approximation for values within 0x1p-13f of an odd multiple of
60518         pi/4.
60519         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60520         exception.  Add more tests.
60521         * sysdeps/i386/fpu/libm-test-ulps: Update.
60523         [BZ #6778]
60524         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60525         inputs and return -1 for them.  Do not check for +Inf in case not
60526         reachable for +Inf.
60527         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60528         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60529         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60530         and return -1 for them.  Do not check for +Inf in case not
60531         reachable for +Inf.
60532         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60533         define.
60534         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60535         and return -1 for them.  Do not check for +Inf in case not
60536         reachable for +Inf.
60537         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60538         spurious underflow.
60539         * sysdeps/i386/fpu/libm-test-ulps: Update.
60540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60542 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60544         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60546 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60548         [BZ #14157]
60549         [BZ #14331]
60550         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60551         could result in spurious underflow.  Scale down values above
60552         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60553         * math/s_csqrtf.c (__csqrtf): Likewise.
60554         * math/s_csqrtl.c (__csqrtl): Likewise.
60555         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60556         spurious underflow.
60557         * sysdeps/i386/fpu/libm-test-ulps: Update.
60558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60560 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60562         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60563         xopen-msg.sed.
60564         * catgets/xopen-msg.awk: New file.
60565         * catgets/xopen-msg.sed: Removed.
60567         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60568         po2text.sed.
60569         * intl/po2test.awk: New file.
60570         * intl/po2test.sed: Removed.
60572 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60574         [BZ #14328]
60575         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60576         or multiply small sinh result by itself.
60577         * math/s_ctanf.c (__ctanf): Likewise.
60578         * math/s_ctanh.c (__ctanh): Likewise.
60579         * math/s_ctanhf.c (__ctanhf): Likewise.
60580         * math/s_ctanhl.c (__ctanhl): Likewise.
60581         * math/s_ctanl.c (__ctanl): Likewise.
60582         * math/libm-test.inc (ctan_test_tonearest): New function.
60583         (ctan_test_towardzero): Likewise.
60584         (ctan_test_downward): Likewise.
60585         (ctan_test_upward): Likewise.
60586         (ctanh_test_tonearest): Likewise.
60587         (ctanh_test_towardzero): Likewise.
60588         (ctanh_test_downward): Likewise.
60589         (ctanh_test_upward): Likewise.
60590         (main): Call these new functions.
60591         * sysdeps/i386/fpu/libm-test-ulps: Update.
60592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60594 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60596         * .gitignore: Delete /ports entry.
60598 2012-07-03  Andreas Jaeger  <aj@suse.de>
60600         * po/bg.po: Update from translation team.
60601         * po/cs.po: Likewise.
60602         * po/de.po: Likewise.
60603         * po/hr.po: Likewise.
60604         * po/nl.pl: Likewise.
60605         * po/pl.po: Likewise.
60606         * po/vi.po: Likewise.
60608 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60610         * Makeconfig [!+link] (+link-before-libc): New variable.
60611         [!+link] (+link-after-libc): Likewise.
60612         [!+link] (+link-tests): Likewise.
60613         [!+link] (+link): Define in terms of $(+link-before-libc) and
60614         $(+link-after-libc).
60615         [!+link-static] (+link-static-before-libc): New variable.
60616         [!+link-static] (+link-static-after-libc): Likewise.
60617         [!+link-static] (+link-static-tests): Likewise.
60618         [!+link-static] (+link-static): Define in terms of
60619         $(+link-static-before-libc) and $(+link-static-after-libc).
60620         [build-shared] (link-libc-before-gnulib): New variable.
60621         [build-shared] (link-libc-tests): Likewise.
60622         [build-shared] (link-libc): Define in terms of
60623         $(link-libc-before-gnulib).
60624         [!build-shared] (link-libc-tests): New variable.
60625         (link-libc-static-tests): New variable.
60626         [!gnulib] (gnulib-arch): New variable.
60627         [!gnulib] (gnulib-tests): Likewise.
60628         [!gnulib] (static-gnulib-arch): Likewise.
60629         [!gnulib] (static-gnulib-tests): Likewise.
60630         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60631         Define with "=" instead of ":=".
60632         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60633         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60634         * Rules (binaries-all-notests): New variable.
60635         (binaries-all-tests): Likewise.
60636         (binaries-static-notests): Likewise.
60637         (binaries-static-tests): Likewise.
60638         (binaries-all): Define using $(binaries-all-notests) and
60639         $(binaries-all-tests).
60640         (binaries-static): Define using $(binaries-static-notests) and
60641         $(binaries-static-tests).
60642         (binaries-shared-tests): New variable.
60643         (binaries-shared-notests): Likewise.
60644         (binaries-shared): Remove variable.
60645         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60646         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60647         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60648         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60649         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60650         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60651         * elf/Makefile (sln-modules): New variable.
60652         (extra-objs): Add $(sln-modules:=.o).
60653         (ldconfig-modules): Add static-stubs.
60654         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60655         * elf/static-stubs.c: New file.
60657         [BZ #14283]
60658         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60659         by 7 not 8 to examine high bit of fractional part.  Use volatile
60660         variables when splitting into final array of floats if
60661         __FLT_EVAL_METHOD__ != 0.
60662         * math/libm-test.inc (cos_test): Add another test.
60663         (sin_test): Likewise.
60664         * sysdeps/i386/fpu/libm-test-ulps: Update.
60666         [BZ #14273]
60667         * math/libm-test.inc (cosh_test): Add more tests.
60669         * version.h (RELEASE): Set to "development".
60670         (VERSION): Set to "2.16.90".
60672 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60674         * NEWS: Update copyright. Remove last-updated date.
60675         Mention math library bug fixes and timezone data changes.
60676         * README: Mention GNU/Hurd, x32, and HPPA support status.
60678 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60680         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60682 2012-06-27  Andreas Jaeger  <aj@suse.de>
60684         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60686 2012-06-25  Andreas Jaeger  <aj@suse.de>
60688         * sysdeps/s390/fpu/libm-test-ulps: Update.
60690 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60691             Thomas Schwinge  <thomas@codesourcery.com>
60693         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60694         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60695         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60696         fanotify_mark.
60698 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60700         * sysdeps/mach/start.c: Remove file.
60701         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60702         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60703         * sysdeps/sh/init-first.c: Likewise.
60705         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60706         registers for frame unwinding purposes, add CFI directives.
60707         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60708         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60709         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60710         Likewise.
60712         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60713         __fortify_fail returning.
60714         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60716         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60717         sysdeps/sh/____longjmp_chk.S.
60718         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60719         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60720         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60721         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60723         * sysdeps/sh/abort-instr.h: New file.
60724         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60725         process in case exit returns.
60727         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60728         initialize the GOT register before use.
60730         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60731         calculation of ARGC > 4.
60733         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60734         meaningful names to some local labels.
60736 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60737             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60739         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60740         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60741         (__arch_compare_and_exchange_val_16_acq): Likewise.
60742         (__arch_compare_and_exchange_val_32_acq): Likewise.
60743         (atomic_exchange_and_add): Fix gUSA sequence.
60744         (atomic_add): Likewise.
60745         (atomic_add_negative): Likewise.
60746         (atomic_add_zero): Likewise.
60747         (atomic_bit_test_set): Likewise.
60749 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60751         [BZ #13579]
60752         * include/link.h (struct link_map): Add l_free_initfini.
60753         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60754         l_initfini.
60755         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60756         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60757         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60758         set.
60760 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60762         * configure.in: Use AC_LANG_SOURCE.
60763         * configure: Regenerate.
60765 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60767         * configure.in (libc_cv_localstatedir): New substituted variable.
60768         * configure: Regenerated.
60769         * config.make.in (localstatedir): New variable, substituted from
60770         libc_cv_localstatedir.
60771         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60772         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60773         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60774         * sysdeps/gnu/configure: Regenerated.
60776 2012-06-21  Jeff Law  <law@redhat.com>
60778         [BZ #14277]
60779         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60780         free.  Simplify list management for _LIBC case.
60782 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60784         [BZ #14273]
60785         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60786         Clear sign bit of 64-bit integer value before comparing against
60787         overflow value.
60789         * sysdeps/mach/configure: Regenerated.
60791 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60793         [BZ #14278]
60794         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60796 2012-06-21  Jeff Law  <law@redhat.com>
60798         [BZ #13882]
60799         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60800         uint16_t for elements in the "seen" array to avoid char overflows.
60801         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60802         * elf/dl-open.c (dl_open_worker): Likewise.
60804 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60806         * scripts/list-sources.sh: Scan PORTS for translations.
60807         * po/libc.pot: Regenerated.
60809 2012-06-21  Andreas Jaeger  <aj@suse.de>
60811         [BZ #12194]
60812         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60813         warning.
60814         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60815         * bits/byteswap-16.h (__bswap_16): Likewise.
60816         * bits/byteswap.h (__bswap_constant_16): Likewise.
60818 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60820         [BZ #14117]
60821         * sysdeps/i386/fpu_control.h: Removed.
60822         * sysdeps/x86_64/fpu_control.h: Moved to ...
60823         * sysdeps/x86/fpu_control.h: Here.
60825         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60826         (_FPU_SETCW): Likewise.
60828 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60830         [BZ #14117]
60831         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60832         * sysdeps/x86/fpu/bits/mathinline.h: This.
60833         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60835         [BZ #14050]
60836         [BZ #14117]
60837         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60838         functions if __x86_64__ is defined.
60840 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60842         * string/endian.h: Add !__ASSEMBLER__ condition for including
60843         conversion interfaces.
60845 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60847         [BZ #14241]
60848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60849         of ABS(x) in calculating zero to negative powers other than odd
60850         integers.
60851         * math/libm-test.inc (pow_test): Add more tests.
60853 2012-06-15  Andreas Jaeger  <aj@suse.de>
60855         * manual/contrib.texi (Contributors): Update entry of Liubov
60856         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60857         Machado Filho.
60859 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60861         * string/string.h: Add __wur to GNU version of strerror_r.
60863 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60865         [BZ #14229]
60866         * string/Makefile (tests): Add tst-strtok_r.
60867         * string/tst-strtok_r.c: New file.
60868         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60869         RAX_LP/RDX_LP on SAVE_PTR.
60871 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60873         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60875 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60877         * libm_test.inc (csqrt_test): Allow more spurious underflow
60878         exceptions.
60879         (j0_test): Likewise.
60880         (j1_test): Likewise.
60881         (y0_test): Likewise.
60882         (y1_test): Likewise.
60884 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60886         * po/Makefile (libc.pot): Use UTF-8 charset.
60888 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60890         [BZ #14210]
60891         Suppress sign-conversion warning from FD_SET.
60892         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60893         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60894         not unsigned long int.
60895         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60897 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60899         [BZ #14050]
60900         [BZ #14117]
60901         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60902         __extern_always_inline instead of __extern_inline.
60903         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60904         (__signbit): Likewise.
60905         (__signbitl): Support C++ namespace.
60906         (lrintf): New inline function.
60907         (lrint): Likewise.
60908         (llrintf): Likewise.
60909         (llrint): Likewise.
60910         (fmaxf): Likewise.
60911         (fmax): Likewise.
60912         (fminf): Likewise.
60913         (fmin): Likewise.
60914         (rint): Likewise.
60915         (rintf): Likewise.
60916         (ceil): Likewise.
60917         (ceilf): Likewise.
60918         (floor): Likewise.
60919         (floorf): Likewise.
60920         (nearbyint): Likewise.
60921         (nearbyintf): Likewise.
60923 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60926         non-default versions.
60928 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60930         [BZ #14218]
60931         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60933 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60935         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60936         (FE_UPWARD, FE_DOWNWARD): Don't define.
60937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60938         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60940         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60941         reading it.
60942         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60943         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60945 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60947         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60949         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60952 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60954         [BZ #14117]
60955         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60956         * sysdeps/i386/fpu/Implies: New file.
60957         * sysdeps/x86_64/fpu/Implies: Likewise.
60958         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60959         * sysdeps/x86/fpu/bits/fenv.h: This.
60961         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60962         __SSE_MATH__.
60964 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60966         [BZ #14134]
60967         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60968         character 0xffff that matches the last element of the
60969         conversion table.
60971 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60973         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60974         fmodl commit.
60976 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60979         values higher than 25.6283.
60981 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60983         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60984         subnormal exponent extraction and add some __builtin_expect.
60985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60986         Fix for subnormal mantissa calculation.
60988 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60990         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60991         cpu2 is -1 and errno is not ENOSYS.
60993 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60995         [BZ #14117]
60996         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60997         * sysdeps/x86/bits/string.h: This.
60998         * sysdeps/x86_64/bits/string.h: Removed.
61000         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61001         if not compiling for x86-64, but compiling for >= i486.
61003         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61004         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61006         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61007         New macro from Linux kernel 3.4.0.
61008         (FP_XSTATE_MAGIC2): Likewise.
61009         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61010         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61011         (struct _fpx_sw_bytes): New struct.
61012         (struct _xsave_hdr): Likewise.
61013         (struct _ymmh_state): Likewise.
61014         (struct _xstate): Likewise.
61016         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61017         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61018         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61019         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61020         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61021         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61023         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61024         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61025         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61026         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61027         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61028         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61030 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61032         [BZ #13743]
61033         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61034         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61035         (sysdep_headers): Include sys/platform/ppc.h.
61036         * sysdeps/powerpc/test-gettimebase.c: Test for
61037         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61038         * manual/Makefile (appendices): Include platform.texi.
61039         * manual/contrib.texi (Contributors): Update @node pointers.
61040         * manual/maint.texi (Maintenance): Likewise.
61041         (Platform): New node.
61042         * manual/platform.texi: New file.  Document the new features.
61044 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61045             Jakub Jelinek  <jakub@redhat.com>
61047         [BZ #14188]
61048         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61049         where __builtin_expect is unavailable.
61051 2012-06-03  David S. Miller  <davem@davemloft.net>
61053         * stdlib/longlong.h: Updated from GCC.
61055 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61057         [BZ #14042]
61058         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61059         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61060         __mcount_internal.
61061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61062         (GLIBC_2.16): Likewise.
61064 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61066         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61068 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61071         (default-abi): New variable.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61073         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61074         variable.
61075         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61076         Likewise.
61077         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61078         Likewise.
61079         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61080         Likewise.
61082         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61083         definition.  Document in comment.
61085 2012-06-01  David S. Miller  <davem@davemloft.net>
61087         * stdlib/longlong.h: Updated from GCC.
61089 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61091         [BZ #14117]
61092         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61093         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61094         sys/debugreg.h sys/io.h here.
61095         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61096         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61097         sys/io.h.
61098         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61099         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61100         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61101         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61102         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61103         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61105         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61106         Define only if __x86_64__ is defined.
61108 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61110         [BZ #14048]
61111         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61112         Use int64_t for variable i.
61113         * math/libm-test.inc (fmod_test): Add more tests.
61115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61116         z computation is not scheduled after fetestexcept.
61117         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61118         Use math_force_eval instead of asm to ensure calculation scheduled
61119         before exception test.
61120         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61121         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61123 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61126         computation is not scheduled after fetestexcept.
61128 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61130         [BZ #14117]
61131         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61132         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61134 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61136         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61137         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61139 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61141         [BZ #14117]
61142         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61143         <bits/wordsize.h>.
61144         (__WCHAR_MIN): Support __WORDSIZE == 64.
61145         (__WCHAR_MAX): Likewise.
61147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61150         [BZ #14183]
61151         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61152         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61154         [BZ #14117]
61155         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61156         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61158         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61159         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61161         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61162         Defined to 1 if __x86_64__ isn't defined.
61163         (_STAT_VER_LINUX_OLD): New.
61164         (st_atime): Remove duplicate.
61165         (st_mtime): Likewise.
61166         (st_ctime): Likewise.
61168 2012-05-31  David S. Miller  <davem@davemloft.net>
61170         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61171         entries.
61173 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61175         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61176         gen-libm-test.pl.
61178         [BZ #14132]
61179         * elf/dl-reloc.c: Include <_itoa.h>.
61180         (_dl_reloc_bad_type): Remove use of INTUSE.
61181         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61182         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61183         * stdio-common/psiginfo.c (psiginfo): Likewise.
61184         * stdio-common/psignal.c (psignal): Likewise.
61185         * string/strsignal.c (strsignal): Likewise.
61186         * include/signal.h (_sys_siglist): Declare hidden proto.
61187         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61188         INTVARDEF with libc_hidden_data_def.
61189         * stdio-common/itoa-udigits.c: Likewise.
61190         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61191         (_itoa_lower_digits_internal): Remove declaration.
61192         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61193         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61194         (_sys_sigabbrev_internal): Remove aliases.
61195         (_sys_siglist): Define hidden alias.
61197 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61200         bits/sysctl.h.
61202 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61204         [BZ #14117]
61205         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61206         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61208         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61210         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61211         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61212         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61213         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61215         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61216         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61217         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61219         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61220         with __addr.
61221         (insw): Likewise.
61222         (insl): Likewise.
61223         (outsb): Likewise.
61224         (outsw): Likewise.
61225         (outsl): Likewise.
61227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61229         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61231         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61232         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61234         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61235         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61236         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61238         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61239         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61241         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61242         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61245         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61246         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61248         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61249         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61250         to ...
61251         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61253         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61254         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61255         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61257         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61258         for x86-64.
61259         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61261 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61263         * math/math.h (M_El): Use two more decimal places.
61264         (M_LOG2El): Likewise.
61265         (M_LOG10El): Likewise.
61266         (M_LN2l): Likewise.
61267         (M_LN10l): Likewise.
61268         (M_PIl): Likewise.
61269         (M_PI_2l): Likewise.
61270         (M_PI_4l): Likewise.
61271         (M_1_PIl): Likewise.
61272         (M_2_PIl): Likewise.
61273         (M_2_SQRTPIl): Likewise.
61274         (M_SQRT2l): Likewise.
61275         (M_SQRT1_2l): Likewise.
61277 2012-05-31  David S. Miller  <davem@davemloft.net>
61279         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61280         values between float registers.
61281         * sysdeps/sparc/sparc64/memset.S: Likewise.
61282         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61284 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61286         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61287         -D_FORTIFY_SOURCE=1.
61288         (CPPFLAGS-tst-longjmp_chk.c): Define.
61289         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61290         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61291         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61292         CFLAGS-tst-wchar-h.c.
61294 2012-05-31  Marek Polacek  <polacek@redhat.com>
61296         [BZ #14132]
61297         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61298         __endmntent_internal): Remove declaration.
61299         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61300         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61301         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61303 2012-05-30  David S. Miller  <davem@davemloft.net>
61305         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61306         (___Q_simulate_exceptions): Use real FP ops rather than writing
61307         into the %fsr.
61308         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61309         Likewise.
61311 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61313         [BZ #14117]
61314         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61315         * sysdeps/x86/bits/xtitypes.h: This.
61317         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61318         * sysdeps/x86/bits/wordsize.h: This.
61320         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61321         * sysdeps/x86/bits/huge_vall.h: This.
61323         * sysdeps/i386/bits/select.h: Removed.
61324         * sysdeps/x86_64/bits/select.h: Renamed to ...
61325         * sysdeps/x86/bits/select.h: This.
61327         * sysdeps/i386/bits/setjmp.h: Removed.
61328         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61329         * sysdeps/x86/bits/setjmp.h: This.
61331         * sysdeps/i386/bits/mathdef.h: Removed.
61332         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61333         * sysdeps/x86/bits/mathdef.h: This.
61335 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61337         [BZ #14132]
61338         * include/sys/socket.h (__connect_internal)
61339         (__libc_sa_len_internal): Remove declaration.
61340         (__connect, __libc_sa_len): Declare hidden_proto.
61341         (SA_LEN): Remove use of INTUSE.
61342         * socket/connect.c: Add libc_hidden_def.
61343         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61344         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61345         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61346         alias.
61347         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61349         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61350         of adding _internal alias.
61352 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61354         [BZ #14117]
61355         * sysdeps/i386/bits/link.h: Removed.
61356         * sysdeps/i386/bits/linkmap.h: Likewise.
61357         * sysdeps/x86_64/bits/link.h: Renamed to ...
61358         * sysdeps/x86/bits/link.h: This.
61359         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61360         * sysdeps/x86/bits/linkmap.h: This.
61362         * sysdeps/i386/bits/endian.h: Removed.
61363         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61364         * sysdeps/x86/bits/endian.h: This.
61366         * sysdeps/i386/bits/byteswap.h: Removed.
61367         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61368         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61369         * sysdeps/x86/bits/byteswap.h: This.
61370         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61371         * sysdeps/x86/bits/byteswap-16.h: This.
61372         * sysdeps/i386/Implies: Add x86.
61373         * sysdeps/x86_64/Implies: Likewise.
61375 2012-05-30  David S. Miller  <davem@davemloft.net>
61377         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61378         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61379         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61380         (FP_TRAPPING_EXCEPTIONS): Define.
61381         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61382         (FP_TRAPPING_EXCEPTIONS): Define.
61383         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61384         subnormals only when inexact has been signalled or underflow
61385         exceptions are enabled.
61386         (_FP_PACK_CANONICAL): Likewise.
61388 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61390         [BZ #14183]
61391         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61392         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61394 2012-05-30  Richard Henderson  <rth@twiddle.net>
61396         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61397         with #ifndef NOT_IN_libc.
61399         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61400         marked to avoid plt entry.
61402 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61404         [BZ #14112]
61405         * Makeconfig (default-abi): New macro.
61406         (abi-includes): Likewise.
61407         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61408         $(abi-$(default-abi)-lib-soname) for soname if defined.
61409         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61410         abi-variants.
61411         * Makefile (installed-stubs): Likewise.
61412         * include/stubs-biarch.h: Removed.
61413         * scripts/lib-names.awk: Only handle one library at a time.
61414         * scripts/soversions.awk: Remove WORDSIZE support.
61415         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61416         entries.
61417         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61418         Removed.
61419         (syscall-list-default-condition): Likewise.
61420         (syscall-list-default-condition): Likewise.
61421         (syscall-list-includes): Likewise.
61422         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61423         syscall-list-* with abi-*.  Handle undefined abi-variants.
61424         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61425         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61426         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61427         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61428         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61429         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61430         Removed.
61431         (syscall-list-32-options): Likewise.
61432         (syscall-list-32-condition): Likewise.
61433         (syscall-list-64-options): Likewise.
61434         (syscall-list-64-condition): Likewise.
61435         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61436         macro.
61437         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61438         Renamed to ...
61439         (abi-*): This.
61440         (abi-64-ld-soname): New macro.
61441         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61442         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61443         Renamed to ...
61444         (abi-*): This.
61445         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61446         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61448 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61450         * sysdeps/unix/sysv/linux/kernel-features.h
61451         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61452         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61453         include <kernel-features.h>.
61454         [!__NR_ftruncate64]: Remove conditional code.
61455         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61456         [__NR_ftruncate64]: Make code unconditional.
61457         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61458         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61459         include <kernel-features.h>.
61460         [!__NR_ftruncate64]: Remove conditional code.
61461         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61462         [__NR_ftruncate64]: Make code unconditional.
61463         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61465         include <kernel-features.h>.
61466         [!__NR_ftruncate64]: Remove conditional code.
61467         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61468         [__NR_ftruncate64]: Make code unconditional.
61469         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61471         include <kernel-features.h>.
61472         [!__NR_ftruncate64]: Remove conditional code.
61473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61474         [__NR_ftruncate64]: Make code unconditional.
61475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61477         * configure.in (libc_cv_fpie): Weaken to a compile test using
61478         LIBC_TRY_CC_OPTION.
61479         * configure: Regenerated.
61481 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61487         Refreshed.
61488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61494         Refreshed.
61496 2012-05-27  David S. Miller  <davem@davemloft.net>
61498         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61499         (___Q_zero): New.
61500         (__Q_simulate_exceptions): Return void.  Change to simulate
61501         exceptions by writing into the %fsr.
61502         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61503         (__Qp_handle_exceptions): Likewise.
61504         (numbers): Delete.
61505         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61506         __Qp_handle_exceptions.
61507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61508         __Qp_handle_exceptions.
61509         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61510         as unused and give dummy FP_RND_NEAREST initializer.
61511         (FP_INHIBIT_RESULTS): Define.
61512         (___Q_simulate_exceptions): Update declaration.
61513         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61514         formatting.
61515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61516         as unused and give dummy FP_RND_NEAREST initializer.
61517         (__Qp_handle_exceptions): Update declaration.
61518         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61519         formatting.
61521 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61523         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61524         the temporary FPU control word.
61525         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61526         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61527         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61528         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61529         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61530         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61531         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61532         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61533         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61534         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61535         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61537 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61539         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61540         fields.
61542 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61544         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61545         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61546         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61547         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61548         Likewise.
61549         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61550         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61551         Likewise.
61553 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61555         * po/h.po: Update from translation team.
61557 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61559         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61561         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61562         handling of denormals.
61563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61564         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61565         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61566         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61570         Likewise.
61572 2012-05-26  Marek Polacek  <polacek@redhat.com>
61574         [BZ #14152]
61575         * math/libm-test.inc (fma_test): Don't always expect underflow
61576         exception.
61578 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61580         [BZ #12416]
61581         * elf/tst-execstack.c: Include stackinfo.h.
61582         (do_test): Adjust test case to ensure that pthread_getattr_np
61583         behaviour remains the same after marking stack executable.
61585 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61587         * sysdeps/unix/sysv/linux/kernel-features.h
61588         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61589         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61590         kernel-features.h.
61591         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61592         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61593         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61594         kernel-features.h.
61595         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61596         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61598 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61600         * configure.in: Define the default includes to being none.
61601         * configure: Regenerated.
61603 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61605         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61606         * sysdeps/x86_64/setjmp.S: Likewise.
61607         * sysdeps/i386/bsd-setjmp.S: Likewise.
61608         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61609         * sysdeps/i386/setjmp.S: Likewise.
61610         * sysdeps/i386/__longjmp.S: Likewise.
61611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61612         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61614         * include/stap-probe.h: New file.
61615         * configure.in: Handle --enable-systemtap.
61616         * configure: Regenerated.
61617         * config.h.in (USE_STAP_PROBE): New #undef.
61618         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61619         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61620         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61622 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61624         [BZ #13717]
61625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61626         to 2.4.0 where earlier.
61627         * sysdeps/unix/sysv/linux/configure: Regenerated.
61628         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61629         <kernel-features.h>.
61630         [__ASSUME_32BITUIDS]: Make code unconditional.
61631         [!__ASSUME_32BITUIDS]: Remove conditional code.
61632         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61633         <kernel-features.h>.
61634         [__ASSUME_32BITUIDS]: Make code unconditional.
61635         [!__ASSUME_32BITUIDS]: Remove conditional code.
61636         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61637         [__ASSUME_32BITUIDS]: Make code unconditional.
61638         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61639         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61640         <kernel-features.h>.
61641         [__ASSUME_32BITUIDS]: Make code unconditional.
61642         [!__ASSUME_32BITUIDS]: Remove conditional code.
61643         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61644         <kernel-features.h>.
61645         [__ASSUME_32BITUIDS]: Make code unconditional.
61646         [!__ASSUME_32BITUIDS]: Remove conditional code.
61647         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61648         <kernel-features.h>.
61649         [__ASSUME_32BITUIDS]: Make code unconditional.
61650         [!__ASSUME_32BITUIDS]: Remove conditional code.
61651         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61652         <kernel-features.h>.
61653         [__ASSUME_32BITUIDS]: Make code unconditional.
61654         [!__ASSUME_32BITUIDS]: Remove conditional code.
61655         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61656         <kernel-features.h>.
61657         [__ASSUME_32BITUIDS]: Make code unconditional.
61658         [!__ASSUME_32BITUIDS]: Remove conditional code.
61659         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61660         <kernel-features.h>.
61661         [__ASSUME_32BITUIDS]: Make code unconditional.
61662         [!__ASSUME_32BITUIDS]: Remove conditional code.
61663         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61664         <kernel-features.h>.
61665         [__ASSUME_32BITUIDS]: Make code unconditional.
61666         [!__ASSUME_32BITUIDS]: Remove conditional code.
61667         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61668         <kernel-features.h>.
61669         [__ASSUME_32BITUIDS]: Make code unconditional.
61670         [!__ASSUME_32BITUIDS]: Remove conditional code.
61671         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61672         <kernel-features.h>.
61673         [__ASSUME_32BITUIDS]: Make code unconditional.
61674         [!__ASSUME_32BITUIDS]: Remove conditional code.
61675         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61676         <kernel-features.h>.
61677         [__ASSUME_32BITUIDS]: Make code unconditional.
61678         [!__ASSUME_32BITUIDS]: Remove conditional code.
61679         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61680         <kernel-features.h>.
61681         [__NR_setresgid] (__setresgid): Do not declare.
61682         [__ASSUME_32BITUIDS]: Make code unconditional.
61683         [!__ASSUME_32BITUIDS]: Remove conditional code.
61684         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61685         <kernel-features.h>.
61686         [__NR_setresuid] (__setresuid): Do not declare.
61687         [__ASSUME_32BITUIDS]: Make code unconditional.
61688         [!__ASSUME_32BITUIDS]: Remove conditional code.
61689         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
61730         (__ASSUME_SETRESUID_SYSCALL): Remove.
61731         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61732         (__ASSUME_32BITUIDS): Likewise.
61733         (__ASSUME_LDT_WORKS): Likewise.
61734         (__ASSUME_O_DIRECTORY): Likewise.
61735         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61736         architecture but not kernel version.
61737         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61738         (__ASSUME_MMAP2_SYSCALL): Likewise.
61739         (__ASSUME_STAT64_SYSCALL): Likewise.
61740         (__ASSUME_IPC64): Likewise.
61741         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61742         <kernel-features.h>.
61743         [__ASSUME_32BITUIDS]: Make code unconditional.
61744         [!__ASSUME_32BITUIDS]: Remove conditional code.
61745         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61746         <kernel-features.h>.
61747         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61748         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61749         132096]: Remove conditional code.
61750         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61751         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
61760         <kernel-features.h>.
61761         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61762         unconditional.
61763         (__setresgid): Do not declare.
61764         [__ASSUME_32BITUIDS]: Make code unconditional.
61765         [!__ASSUME_32BITUIDS]: Remove conditional code.
61766         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61767         <kernel-features.h>.
61768         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61769         unconditional.
61770         (__setresuid): Do not declare.
61771         [__ASSUME_32BITUIDS]: Make code unconditional.
61772         [!__ASSUME_32BITUIDS]: Remove conditional code.
61773         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61774         <kernel-features.h>.
61775         [__ASSUME_32BITUIDS]: Make code unconditional.
61776         [!__ASSUME_32BITUIDS]: Remove conditional code.
61777         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61778         <kernel-features.h>.
61779         [__ASSUME_32BITUIDS]: Make code unconditional.
61780         [!__ASSUME_32BITUIDS]: Remove conditional code.
61782 2012-05-25  Richard Henderson  <rth@twiddle.net>
61784         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61785         dl_hwcap to ifunc resolver.
61786         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61787         elf_ifunc_invoke.
61788         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61789         dl_hwcap to ifunc resolver.
61790         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61792 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61794         [BZ #14153]
61795         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61796         for |x| <= 2**-26, not 2**-57.
61797         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61798         exception.
61800 2012-05-24  Jeff Law  <law@redhat.com>
61802         * stdio-common/Makefile (tests): Add bug25.
61803         * stdio-common/bug25.c: New test.
61805 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61807         [BZ #13576]
61808         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61809         multiple of MALLOC_ALIGNMENT in size.
61810         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61812 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61814         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61815         Require >= 256.
61816         (FILENAME_MAX): Use macro-int-constant.
61817         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61818         (_IOFBF): Use macro-int-constant.
61819         (_IOLBF): Likewise.
61820         (_IONBF): Likewise.
61821         (SEEK_CUR): Likewise.
61822         (SEEK_END): Likewise.
61823         (SEEK_SET): Likewise.
61824         (TMP_MAX): Likewise.
61825         (EOF): Use macro-int-constant.  Require < 0.
61826         (NULL): Use macro-constant.  Require == 0.
61827         (stdin): Require type to be FILE *.
61828         (stdout): Likewise.
61829         (stderr): Likewise.
61830         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61831         macro-int-constant.
61832         (EXIT_SUCCESS): Likewise.
61833         (NULL): Use macro-constant.  Require == 0.
61834         (RAND_MAX): Use macro-int-constant.
61835         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61836         [C99-based standards] (strtof): Require function.
61837         [C99-based standards] (strtold): Likewise.
61838         [C99-based standards] (strtoll): Likewise.
61839         [C99-based standards] (strtoull): Likewise.
61840         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61841         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61842         [ISO || ISO99 || ISO11] (math.h): Likewise.
61843         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61844         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61847 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61849         [BZ #14132]
61850         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61851         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61852         * intl/dgettext.c (DCGETTEXT): Likewise.
61853         * intl/gettext.c (DCGETTEXT): Likewise.
61854         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61855         * posix/regex_internal.h (gettext): Likewise.
61856         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61857         Remove declaration.
61858         * include/argz.h (__argz_count_internal)
61859         (__argz_stringify_internal): Remove declaration.
61860         (__argz_count, __argz_stringify): Declare hidden proto.
61861         * intl/dcgettext.c: Remove use of INTDEF.
61862         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61863         * string/argz-stringify.c: Likewise.
61864         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61865         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61866         Declare hidden proto.
61867         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61868         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61869         Declare hidden proto.
61870         * include/stdio.h (__asprintf_internal): Don't declare.
61871         (__asprintf): Don't define as macro.  Declare hidden proto.
61872         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61873         (__fsetlocking): Declare hidden proto.
61874         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61875         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61876         hidden proto.
61877         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61878         (_IO_setlinebuf): Remove use of INTUSE.
61879         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61880         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61881         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61882         Remove declaration.
61883         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61884         (_IO_do_flush): Remove use of INTUSE.
61885         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61886         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61887         (_IO_adjust_column, _IO_least_wmarker)
61888         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61889         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61890         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61891         (_IO_default_doallocate, _IO_wdefault_doallocate)
61892         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61893         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61894         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61895         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61896         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61897         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61898         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61899         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61900         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61901         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61902         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61903         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61904         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61905         proto.
61906         (_IO_flush_all_internal, _IO_adjust_column_internal)
61907         (_IO_default_uflow_internal, _IO_default_finish_internal)
61908         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61909         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61910         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61911         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61912         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61913         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61914         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61915         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61916         (_IO_file_close_internal, _IO_file_close_it_internal)
61917         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61918         (_IO_file_init_internal, _IO_file_attach_internal)
61919         (_IO_file_fopen_internal, _IO_file_read_internal)
61920         (_IO_file_sync_internal, _IO_file_seek_internal)
61921         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61922         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61923         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61924         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61925         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61926         (_IO_list_all_internal, _IO_link_in_internal)
61927         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61928         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61929         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61930         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61931         (_IO_do_write_internal, _IO_padn_internal)
61932         (_IO_getline_info_internal, _IO_getline_internal)
61933         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61934         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61935         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61936         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61937         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61938         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61939         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61940         with libc_hidden_ver, remove use of INTUSE.
61941         * libio/genops.c: Likewise.
61942         * libio/freopen.c: Likewise.
61943         * libio/freopen64.c: Likewise.
61944         * libio/iofclose.c: Likewise.
61945         * libio/iofdopen.c: Likewise.
61946         * libio/iofflush.c: Likewise.
61947         * libio/iofflush_u.c: Likewise.
61948         * libio/iofgets.c: Likewise.
61949         * libio/iofgets_u.c: Likewise.
61950         * libio/iofopen.c: Likewise.
61951         * libio/iofopncook.c: Likewise.
61952         * libio/iofread.c: Likewise.
61953         * libio/iofread_u.c: Likewise.
61954         * libio/ioftell.c: Likewise.
61955         * libio/iofwrite.c: Likewise.
61956         * libio/iogetline.c: Likewise.
61957         * libio/iogets.c: Likewise.
61958         * libio/iogetwline.c: Likewise.
61959         * libio/iopadn.c: Likewise.
61960         * libio/iopopen.c: Likewise.
61961         * libio/ioseekoff.c: Likewise.
61962         * libio/ioseekpos.c: Likewise.
61963         * libio/iosetbuffer.c: Likewise.
61964         * libio/iosetvbuf.c: Likewise.
61965         * libio/ioungetc.c: Likewise.
61966         * libio/ioungetwc.c: Likewise.
61967         * libio/iovdprintf.c: Likewise.
61968         * libio/iovsprintf.c: Likewise.
61969         * libio/iovsscanf.c: Likewise.
61970         * libio/memstream.c: Likewise.
61971         * libio/obprintf.c: Likewise.
61972         * libio/oldfileops.c: Likewise.
61973         * libio/oldiofclose.c: Likewise.
61974         * libio/oldiofdopen.c: Likewise.
61975         * libio/oldiofopen.c: Likewise.
61976         * libio/oldiopopen.c: Likewise.
61977         * libio/oldstdfiles.c: Likewise.
61978         * libio/putc.c: Likewise.
61979         * libio/setbuf.c: Likewise.
61980         * libio/setlinebuf.c: Likewise.
61981         * libio/stdfiles.c: Likewise.
61982         * libio/strops.c: Likewise.
61983         * libio/vasprintf.c: Likewise.
61984         * libio/vscanf.c: Likewise.
61985         * libio/vsnprintf.c: Likewise.
61986         * libio/vswprintf.c: Likewise.
61987         * libio/wfiledoalloc.c: Likewise.
61988         * libio/wfileops.c: Likewise.
61989         * libio/wgenops.c: Likewise.
61990         * libio/wmemstream.c: Likewise.
61991         * libio/wstrops.c: Likewise.
61992         * libio/__fpurge.c: Likewise.
61993         * libio/__fsetlocking.c: Likewise.
61994         * assert/assert.c: Likewise.
61995         * debug/fgets_chk.c: Likewise.
61996         * debug/fgets_u_chk.c: Likewise.
61997         * debug/fread_chk.c: Likewise.
61998         * debug/fread_u_chk.c: Likewise.
61999         * debug/gets_chk.c: Likewise.
62000         * debug/obprintf_chk.c: Likewise.
62001         * debug/vasprintf_chk.c: Likewise.
62002         * debug/vdprintf_chk.c: Likewise.
62003         * debug/vsnprintf_chk.c: Likewise.
62004         * debug/vsprintf_chk.c: Likewise.
62005         * malloc/mtrace.c: Likewise.
62006         * misc/error.c: Likewise.
62007         * misc/syslog.c: Likewise.
62008         * stdio-common/asprintf.c: Likewise.
62009         * stdio-common/fxprintf.c: Likewise.
62010         * stdio-common/getw.c: Likewise.
62011         * stdio-common/isoc99_fscanf.c: Likewise.
62012         * stdio-common/isoc99_scanf.c: Likewise.
62013         * stdio-common/isoc99_vfscanf.c: Likewise.
62014         * stdio-common/isoc99_vscanf.c: Likewise.
62015         * stdio-common/isoc99_vsscanf.c: Likewise.
62016         * stdio-common/printf-prs.c: Likewise.
62017         * stdio-common/printf_fp.c: Likewise.
62018         * stdio-common/printf_fphex.c: Likewise.
62019         * stdio-common/printf_size.c: Likewise.
62020         * stdio-common/putw.c: Likewise.
62021         * stdio-common/scanf.c: Likewise.
62022         * stdio-common/sprintf.c: Likewise.
62023         * stdio-common/tmpfile.c: Likewise.
62024         * stdio-common/vfprintf.c: Likewise.
62025         * stdio-common/vfscanf.c: Likewise.
62026         * stdlib/strfmon_l.c: Likewise.
62027         * sunrpc/openchild.c: Likewise.
62028         * sunrpc/xdr_stdio.c: Likewise.
62029         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62030         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62032 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62034         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62036         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62037         in the third column, to generate for the shared library an IFUNC
62038         that uses _dl_vdso_vsym.
62039         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62040         * Makeconfig (object-suffixes-noshared): New variable.
62042         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62043         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62044         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62045         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62047         [BZ #14132]
62048         * include/sys/time.h (__gettimeofday): Remove macro.
62049         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62050         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62051         Remove INTDEF.
62052         (__gettimeofday): Add libc_hidden_def.
62053         (gettimeofday): Add libc_hidden_weak.
62054         * sysdeps/mach/gettimeofday.c: Likewise.
62055         * sysdeps/posix/gettimeofday.c: Likewise.
62056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62057         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62059         (__gettimeofday_internal): Remove strong_alias.
62060         (__gettimeofday): Add libc_hidden_def.
62061         (gettimeofday): Add libc_hidden_weak.
62062         * sysdeps/unix/syscalls.list (gettimeofday):
62063         Remove __gettimeofday_internal alias.
62065 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62066             H.J. Lu  <hongjiu.lu@intel.com>
62068         [BZ #12495]
62069         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62070         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62071         (largebin_index_32_big): New.
62072         (largebin_index): Use it for 16-byte alignment.
62073         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62074         correction with front_misalign.
62076 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62080         Likewise.
62081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62082         Likewise.
62083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62084         Likewise.
62085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62086         Likewise.
62087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62088         Likewise.
62089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62090         Likewise.
62091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62092         Likewise.
62093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62094         Likewise.
62095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62096         Likewise.
62097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62098         Likewise.
62099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62100         Likewise.
62101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62102         Likewise.
62104         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62105         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62107 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62109         [BZ #10846]
62110         [BZ #14036]
62111         * math/libm-test.inc (exp_test): Add test from bug 14036.
62112         (pow_test): Add test from bug 10846.
62114         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62115         and other flags.
62116         (special_function): Do not include flags in test name.
62117         (parse_args): Likewise.
62118         * sysdeps/i386/fpu/libm-test-ulps: Update.
62119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62121         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62124         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62125         exceptions.
62126         * math/libm-test.inc ("Philosophy"): Update comment about
62127         exception testing.
62128         (UNDERFLOW_EXCEPTION): New macro.
62129         (UNDERFLOW_EXCEPTION_OK): Likewise.
62130         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62131         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62132         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62133         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62134         (INVALID_EXCEPTION_OK): Update value.
62135         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62136         (OVERFLOW_EXCEPTION_OK): Likewise.
62137         (IGNORE_ZERO_INF_SIGN): Likewise.
62138         (test_exceptions): Handle underflow exceptions.
62139         (acos_test): Update for underflow exception expectations.
62140         (cexp_test): Likewise.
62141         (clog_test): Likewise.
62142         (clog10_test): Likewise.
62143         (csqrt_test): Likewise.
62144         (ctan_test): Likewise.
62145         (ctanh_test): Likewise.
62146         (exp_test): Likewise.
62147         (exp10_test): Likewise.
62148         (exp2_test): Likewise.
62149         (expm1_test): Likewise.
62150         (fma_test): Likewise.
62151         (j0_test): Likewise.
62152         (jn_test): Likewise.
62153         (nexttoward_test): Likewise.
62154         (pow_test): Likewise.
62155         (scalbn_test): Likewise.
62156         (scalbln_test): Likewise.
62157         (tan_test): Likewise.
62158         (y1_test): Likewise.
62159         * sysdeps/i386/fpu/libm-test-ulps: Update.
62160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62162 2012-05-23  David S. Miller  <davem@davemloft.net>
62164         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62165         (__libc_sigaction): Remove unused local variables.
62167 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62169         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62171 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62173         mktime: avoid signed integer overflow
62174         * time/mktime.c (__mktime_internal): Do not mishandle the case
62175         where diff == INT_MIN.
62177         mktime: simplify computation of average
62178         * time/mktime.c (ranged_convert): Use new time_t_avg function
62179         instead of rolling our own (probably-slower) code.
62181         mktime: do not assume signed right shift propagates sign bit
62182         * time/mktime.c (isdst_differ): New static function.
62183         (__mktime_internal): No need to normalize tm_isdst now.
62184         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62185         tm_isdst values.
62187         mktime: merge another wrapv change from gnulib
62188         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62189         from some compilers.
62191         mktime: remove incorrect attempt at unusual arithmetics
62192         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62193         The code didn't really work on such machines anyway.
62194         (TYPE_MINIMUM): Assume two's complement.
62195         (twos_complement_arithmetic): Verify that long_int and time_t
62196         are two's complement (or unsigned, in the latter case).
62198         mktime: check signed shifts on long_int and time_t, too
62199         * time/mktime.c (SHR): Check that shifts work as desired
62200         on the types long_int and time_t too, as SHR is used on
62201         such types.
62203         mktime: do not assume 'long' is wide enough
62204         * time/mktime.c (verify): Move decl up.
62205         (long_int): New type.
62206         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62207         to remove assumption in the code that 'long' is wide enough to
62208         store year values.  This assumption is not true on x32 and on
62209         some non-glibc platforms.
62211         mktime: merge wrapv change from gnulib
62212         * time/mktime.c (WRAPV): New macro.
62213         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62214         (guess_time_tm, __mktime_internal): Do not assume that signed
62215         integer overflow wraps around; modern compilers generate code
62216         where this assumption is no longer valid.
62218 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62220         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62221         Replace "jmp L(pseudo_end)" with "ret".
62222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62223         Likewise.
62225 2012-05-23  Andreas Jaeger  <aj@suse.de>
62227         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62228         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62230 2012-05-23  Andreas Jaeger  <aj@suse.de>
62231             Maximilian Attems  <max@stro.at>
62233         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62234         New macros.
62236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62239         code so that pseudo_end is just ret and the stack pointer is
62240         correct also for static library in error case.
62242 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62244         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62245         move to syscalls.list.
62246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62251         * manual/install.texi (Running make install): Do not mention Linux
62252         kernel version for which pt_chown is not needed.
62253         (Linux): Do not mention problems with nscd with 2.0 kernels.
62254         * INSTALL: Regenerated.
62256 2012-05-23  Andreas Jaeger  <aj@suse.de>
62258         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62259         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62260         macro.
62261         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62262         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62263         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62264         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62265         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62266         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62268         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62269         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62270         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62271         * sysdeps/unix/sysv/linux/bits/in.h
62272         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62274 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62276         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62277         (PREPARE_VERSION): Just use assert instead, it will be elided
62278         under [NDEBUG] anyway.
62280 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62282         * sysdeps/unix/sysv/linux/Makefile: Include
62283         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62284         (sysdep_routines): Remove sysctl.
62285         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62286         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62288         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62289         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62291 2012-05-22  Andreas Jaeger  <aj@suse.de>
62293         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62294         that pseudo_end is just ret and the stack pointer is correct also
62295         for static library in error case.
62297 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62299         [BZ #14122]
62300         * nss/nsswitch.c (defconfig_entries): New variable.
62301         (__nss_database_lookup): Don't leak defconfig entries.
62302         (nss_parse_service_list): Don't leak on error paths.
62303         (free_database_entries): New function.
62304         (free_defconfig): New function.
62305         (free_mem): Move common code to free_database_entries.
62307 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62309         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62310         Add arch_prctl.
62311         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62313         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62314         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62316         New macro.
62317         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62318         (INTERNAL_SYSCALL_TYPES): Likewise.
62319         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62320         (LOAD_REGS_TYPES_[1-6]): Likewise.
62321         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62322         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62324 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62326         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62327         copysignl for GLIBC_2_0.
62328         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62329         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62331         logbl for GLIBC_2_0.
62332         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62333         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62335 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62338         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62340         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62341         Use "neg %eax".
62343         * time/mktime.c: Update copyright years.
62345 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62347         mktime: merge comment-quoting-style change from gnulib
62348         * time/mktime.c: Quote 'like this' in comments.
62349         The GNU coding standards suggest that we no longer quote `like this',
62350         as "`" and "'" are typically rendered asymmetrically nowadays.
62351         The typical gnulib style is to quote 'like this' when quoting
62352         code, and "like this" when quoting English.
62354         * time/mktime.c (compile-command): Add "-I.".
62356         mktime: merge mktime-internal.h change from gnulib
62357         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62359         mktime: merge time_r change from gnulib
62360         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62362         mktime: merge DEBUG change from gnulib
62363         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62364         case system <time.h> has a #define.
62366         mktime: merge <sys/types.h> change from gnulib
62367         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62368         since <time.t> is now guaranteed to define time_t.
62370         mktime: merge HAVE_CONFIG_H change from gnulib
62371         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62376         Use "neg %eax".
62378         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62379         __rlim_t cast.
62380         (struct rusage): Use anonymous union to pad each field to
62381         __syscall_slong_t.
62383 2012-05-21  David S. Miller  <davem@davemloft.net>
62385         * Makefules (o-iterator): Remove .s cases.
62386         (compile-command.s): Delete.
62387         (COMPILE.s): Delete.
62388         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62390 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62392         * configure.in (libc_cv_predef_stack_protector): Only consider
62393         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62394         * configure: Regenerated.
62396 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62399         New macro.  Use R*LP on int and pointer.
62400         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62401         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62402         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62403         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62405         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62406         [__WORDSIZE_TIME64_COMPAT32] instead of
62407         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62408         (struct utmp): Likewise.
62409         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62410         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62411         Renamed to ...
62412         (__WORDSIZE_TIME64_COMPAT32): This.
62413         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62414         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62415         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62416         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62417         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62418         (__WORDSIZE_TIME64_COMPAT32): New macro.
62420 2012-05-21  Andreas Jaeger  <aj@suse.de>
62422         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62423         only if [SHARED]. Add prototype for __wcschr_ia32.
62425 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62427         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62428         of %rbp unmolested in the jmp_buf while mangling the low bits.
62429         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62430         unmolested high bits of %rbp while demangling the low bits.
62431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62433 2012-05-21  Andreas Jaeger  <aj@suse.de>
62435         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62436         * sunrpc/svc_simple.c: Use it for registerrpc.
62437         * sunrpc/xcrypt.c: Use it for passwd2des.
62439         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62441 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62443         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62444         Don't define if [__SYSCALL_WORDSIZE != 32].
62445         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62446         New macro.
62448 2012-05-21  Bruno Haible  <bruno@clisp.org>
62449             Andreas Jaeger  <aj@suse.de>
62451         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62452         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62453         inptr and inend for must_buffer_ch.
62454         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62455         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62456         * stdio-common/Makefile (tests): Remove bug15.
62457         (bug15-ENV): Remove macro.
62458         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62459         anymore.
62461 2012-05-19  Andreas Jaeger  <aj@suse.de>
62462             Roland McGrath  <roland@hack.frob.com>
62464         * manual/contrib.texi: Completely rewritten. It contains now an
62465         alphabetical list of contributors and their contributions.
62467 2012-05-21  Richard Henderson  <rth@twiddle.net>
62469         * misc/getauxval.c (__getauxval): Use unsigned long int.
62470         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62471         (getauxval): Use unsigned long int.
62473 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62475         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62477 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62479         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62480         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62481         __alignof__ (long double).
62483 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62487 2012-05-20  Richard Henderson  <rth@twiddle.net>
62489         * misc/getauxval.c: New file.
62490         * misc/sys/auxv.h: New file.
62491         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62492         (routines): Add getauxval.
62493         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62494         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62495         * elf/dl-sysdep.c (_dl_auxv): Remove.
62496         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62497         * elf/dl-support.c (_dl_auxv): New variable.
62498         (_dl_aux_init): Initialize it.
62499         * manual/startup.texi (Auxiliary Vector): New node.
62500         * sysdeps/generic/bits/hwcap.h: New file.
62501         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62502         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62503         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62504         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62505         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62506         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62508         Update.
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62512         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62518 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62522 2012-05-19  David S. Miller  <davem@davemloft.net>
62524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62526 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62528         [BZ #14123]
62529         * math/s_ccosh.c: Include <float.h>
62530         (__ccosh): Avoid internal overflow calculating sinh and cosh
62531         values before multiplying by sin and cos values.
62532         * math/s_ccoshf.c: Likewise.
62533         * math/s_ccoshl.c: Likewise.
62534         * math/s_csin.c: Likewise.
62535         * math/s_csinf.c: Likewise.
62536         * math/s_csinl.c: Likewise.
62537         * math/s_csinh.c: Likewise.
62538         * math/s_csinhf.c: Likewise.
62539         * math/s_csinhl.c: Likewise.
62540         * math/libm-test.inc (ccos_test): Add more tests.
62541         (ccosh_test): Likewise.
62542         (csin_test): Likewise.
62543         (csinh_test): Likewise.
62544         * sysdeps/i386/fpu/libm-test-ulps: Update.
62545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62547 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62549         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62550         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62552         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62554 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62556         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62557         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62558         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62559         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62560         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62561         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62562         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62563         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62564         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62565         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62566         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62567         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62568         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62569         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62570         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62571         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62572         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62573         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62574         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62575         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62576         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62577         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62578         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62579         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62580         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62581         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62582         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62583         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62584         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62585         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62586         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62588 2012-05-18  Andreas Jaeger  <aj@suse.de>
62590         * csu/.gitignore: Delete.
62592 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62594         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62595         (timex): Use __syscall_slong_t.
62597 2012-05-18  Andreas Jaeger  <aj@suse.de>
62598             Carlos O'Donell  <carlos_odonell@mentor.com>
62600         * manual/install.texi (Configuring and compiling): Update
62601         description about files modified in the source directory.
62602         * INSTALL: Regenerated.
62604 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62606         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62607         value.  Use "or" to set return value to -1.
62608         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62609         negate return value.
62611 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62613         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62614         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62615         failure if the compiler has Graphite support disabled.
62616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62617         Likewise.
62618         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62619         (CFLAGS-memmove.c): Likewise.
62620         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62621         Likewise.
62623 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62625         * sysdeps/x86_64/x32/_itoa.h: New file.
62627         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62628         getdents system call only if kernel and user dirents have the
62629         same d_ino and d_off.
62631         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62632         LLONG_MAX != LONG_MAX.
62633         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62634         (_fitoa_word): Likewise.
62636         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62637         years.
62638         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62640         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62642         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62643         include <bits/wordsize.h>.  Check __x86_64__ instead of
62644         __WORDSIZE.
62645         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62646         if __x86_64__ is defined.  Use anonymous union on fpstate.
62648         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62649         anonymous union.
62651 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62653         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62654         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62655         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62656         Refer to _rtld_local_ro instead of _rtld_global_ro.
62657         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62658         Likewise.
62659         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62660         Likewise.
62661         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62662         Likewise.
62663         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62664         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62665         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62667         [BZ #10882]
62668         * sysdeps/powerpc/powerpc32/dl-machine.c
62669         (__elf_machine_runtime_setup) [PROF]: Don't reference
62670         _dl_prof_resolve.
62672 2012-05-18  Andreas Jaeger  <aj@suse.de>
62674         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62675         function only available for GCCs before 3.4 since GCC 3.4
62676         introduced a builtin.
62677         (lrint): Likewise.
62678         (llrintf): Likewise.
62679         (llrint): Likewise.
62680         (fmaxf): Likewise.
62681         (fmax): Likewise.
62682         (fminf): Likewise.
62683         (fmin): Likewise.
62684         (rint): Likewise.
62685         (rintf): Likewise.
62686         (nearbyint): Likewise.
62687         (nearbyintf): Likewise.
62688         (ceil): Likewise.
62689         (ceilf): Likewise.
62690         (floor): Likewise.
62691         (floorf): Likewise.
62693 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62695         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62696         on both fields and cast pointer to __syscall_ulong_t.
62698         * bits/types.h (__fsword_t): New type.
62699         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62700         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62702         (__FSWORD_T_TYPE): Likewise.
62703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62704         (__FSWORD_T_TYPE): Likewise.
62705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62706         (__FSWORD_T_TYPE): Likewise.
62707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62708         (__FSWORD_T_TYPE): Likewise.
62709         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62710         __SWORD_TYPE with __fsword_t.
62711         (statfs64): Likewise.
62713 2012-05-17  David S. Miller  <davem@davemloft.net>
62715         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62717 2012-05-17  Andreas Jaeger  <aj@suse.de>
62719         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62720         warning.
62722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62724         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62726 2012-05-17  Andreas Jaeger  <aj@suse.de>
62728         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62729         when it is used.
62731 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62733         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62735 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62737         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62738         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62740 2012-05-17  Andreas Jaeger  <aj@suse.de>
62741             Carlos O'Donell  <carlos_odonell@mentor.com>
62743         [BZ #14059]
62744         * sysdeps/x86_64/multiarch/init-arch.h
62745         (bit_YMM_Usable): Rename to...
62746         (bit_AVX_Usable): ... this.
62747         (bit_FMA4_Usable): New macro.
62748         (bit_XMM_state): New macro.
62749         (bit_YMM_state): New macro.
62750         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62751         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62752         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62753         (CPUID_OSXSAVE): New macro.
62754         (CPUID_AVX): New macro.
62755         (CPUID_FMA4): New macro.
62756         (index_YMM_Usable): Rename to...
62757         (index_AVX_Usable): ... this.
62758         (HAS_AVX): Use HAS_ARCH_FEATURE.
62759         (HAS_FMA4): Likewise.
62760         (HAS_YMM_USABLE): Remove.
62761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62762         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62763         are present.
62764         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62765         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62766         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62767         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62768         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62770 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62772         * math/libm-test.c: Support platforms without multiple rounding modes.
62773         * math/bug-nextafter.c: Support platforms without FP exceptions.
62774         * math/bug-nexttoward.c: Likewise.
62775         * math/test-fenv.c: Likewise.
62776         * math/test-misc.c: Likewise.
62777         * stdlib/bug-getcontext.c: Likewise.
62779 2012-05-17  Andreas Jaeger  <aj@suse.de>
62781         * manual/examples/search.c (critter_cmp): Change signature to
62782         avoid warnings.
62783         * manual/string.texi (Collation Functions): Likewise.
62785 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62787         * bits/types.h: Fold copyright years.
62788         * bits/typesizes.h: Likewise.
62789         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62791         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62793         * time/time.h: Likewise.
62795 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62797         [BZ #208]
62798         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62799         in instead of returning them.  Return void.
62800         (__libc_mallinfo): Accumulate over all arenas.
62801         (__malloc_stats): Adjust for change in int_mallinfo interface.
62803 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62805         [BZ #10375]
62806         * configure.in (NM): Add AC_CHECK_TOOL for it.
62807         (libc_extra_cflags): New substituted variable.
62808         Check for -fstack-protector being used implicitly.
62809         * configure: Regenerated.
62810         * config.make.in (config-extra-cflags): New variable,
62811         gets @libc_extra_cflags@.
62812         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62814         [BZ #10375]
62815         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62816         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62817         * configure: Regenerated.
62818         * config.make.in (CPPUNDEFS): New substituted variable.
62819         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62820         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62821         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62825         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62826         (mq_attr): Use __syscall_slong_t.
62828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62830         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62831         Check __x86_64__ instead of __WORDSIZE.
62832         (_STAT_VER_LINUX): Likewise.
62833         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62834         __syscall_ulong_t and __syscall_slong_t.
62835         (stat64): Likewise.
62837 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62839         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62843         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62847         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62848         __syscall_ulong_t.
62850         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62851         include <bits/wordsize.h>.  Check __x86_64__ instead of
62852         __WORDSIZE.
62853         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62854         defined.
62855         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62857         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62858         include <bits/wordsize.h>.  Check __x86_64__ instead of
62859         __WORDSIZE.
62860         (user_regs_struct): Use "__extension__ unsigned long long"
62861         instead of "unsigned long" if __x86_64__ is defined.
62862         (user): Likewise.  Pad after pointer field if __ILP32__ is
62863         defined.
62865 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62867         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62868         versions 5 to 9.
62869         * configure: Regenerated.
62870         * manual/install.texi (texinfo): Increase version requirement to
62871         4.5 or later.
62872         * INSTALL: Regenerated.
62874         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62878         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62880         * sysdeps/x86_64/x32/ffs.c: New file.
62882         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62883         __syscall_ulong_t.
62884         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62885         defined.  Use __syscall_ulong_t.
62886         (shminfo): Use __syscall_ulong_t.
62887         (shm_info): Likewise.
62889         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62890         __syscall_ulong_t.
62892         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62893         <bits/wordsize.h>.
62894         (msgqnum_t): Use __syscall_ulong_t.
62895         (msglen_t): Likewise.
62896         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62897         __syscall_ulong_t.
62899         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62900         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62902         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62904         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62905         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62907         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62908         __syscall_slong_t.
62910         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62911         include <bits/wordsize.h>.  Check __x86_64__ instead of
62912         __WORDSIZE.
62914         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62915         "unsigned long long int" if __x86_64__ is defined.
62916         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62918         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62919         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62920         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62922         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62923         <stdint.h>.
62924         (GET_PC): Cast to uintptr_t first.
62925         (GET_FRAME): Likewise.
62926         (GET_STACK): Likewise.
62928         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62929         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62930         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62931         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62932         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62933         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62934         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62935         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62936         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62937         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62938         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62939         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62940         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62941         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62942         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62943         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62944         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62945         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62946         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62947         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62948         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62950         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62952         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62953         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62956         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62958 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62960         * Makerules (+depfiles): Also collect depfiles from .oS in
62961         $(extra-objs).
62962         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62963         .oS, $(libnldbl-routines)).
62965         * Makerules (native-compile-mkdep-flags): Define.
62966         * sunrpc/Makefile (extra-objs): Add $(addprefix
62967         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62968         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62969         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62970         calling $(make-target-directory).
62972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62974         * bits/types.h (__snseconds_t): Removed.
62975         * time/time.h (struct timespec): Replace __snseconds_t with
62976         __syscall_slong_t.
62977         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62978         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62979         Likewise.
62980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62981         (__SNSECONDS_T_TYPE): Likewise.
62982         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62983         (__SNSECONDS_T_TYPE): Likewise.
62984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62985         (__SNSECONDS_T_TYPE): Likewise.
62987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62989         * sysdeps/mach/hurd/bits/typesizes.h
62990         (__SYSCALL_SLONG_TYPE): New macro.
62991         (__SYSCALL_ULONG_TYPE): Likewise.
62993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62995         * bits/types.h (__syscall_slong_t): New type.
62996         (__syscall_ulong_t): Likewise.
62998         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62999         (__SYSCALL_ULONG_TYPE): Likewise.
63000         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63001         (__SYSCALL_SLONG_TYPE): Likewise.
63002         (__SYSCALL_ULONG_TYPE): Likewise.
63003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63004         (__SYSCALL_SLONG_TYPE): Likewise.
63005         (__SYSCALL_ULONG_TYPE): Likewise.
63006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63007         (__SYSCALL_SLONG_TYPE): Likewise.
63008         (__SYSCALL_ULONG_TYPE): Likewise.
63010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63012         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63013         Add sigaltstack-offsets.sym.
63014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63015         <sigaltstack-offsets.h>.
63016         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63017         longjmp_msg pointer.
63018         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63019         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63020         signal stack.
63021         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63023 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63025         * elf/stackguard-macros.h: Remove file.
63026         * sysdeps/generic/stackguard-macros.h: New file.
63027         * sysdeps/i386/stackguard-macros.h: Likewise.
63028         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63029         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63030         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63031         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63032         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63033         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63034         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63035         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63036         <elf/stackguard-macros.h>.
63038         [BZ #14109]
63039         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63040         __aligned__ in attribute.
63041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63042         (gregset_t): Likewise.
63044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63046         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63047         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63048         * sysdeps/x86_64/x32/Implies-after: New file.
63050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63052         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63053         and access return value for _dl_profile_fixup.  Use R10_LP to
63054         load frame size.
63056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63058         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63062         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63063         * sysdeps/x86_64/x32/sysdep.h: New file.
63065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63067         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63068         * sysdeps/x86_64/setjmp.S: Likewise.
63070 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63072         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63073         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63074         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63075         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63076         remove unused global constant.
63078 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63080         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63081         include of <not-cancel.h>.
63083 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63085         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63087 2012-05-15  Jeff Law  <law@redhat.com>
63088             Andreas Jaeger  <aj@suse.de>
63090         [BZ #13594]
63091         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63092         out from...
63093         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63094         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63095         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63096         code changing __hst_map_handle.map.
63098 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63100         * configure.in (sysnames): Look for Implies-before and Implies-after
63101         files.
63102         * configure: Regenerated.
63104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63106         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63107         8-byte data alignment with LP_SIZE alignment.
63109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63111         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63112         into R10_LP.
63114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63116         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63120         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63121         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63123         Likewise.
63124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63128         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63129         (stackinfo_sub_sp): Likewise.
63131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63133         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63134         RAX_LP.
63136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63139         into R*_LP.
63141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63143         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63144         sizes into R*_LP.
63146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63148         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63152         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63153         into R11_LP and load __x86_64_shared_cache_size_half into
63154         R8_LP.
63156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63159         R8_LP.
63161 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63164         logb for POWER7.
63165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63166         logbf for POWER7.
63167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63168         logbl for POWER7.
63169         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63170         powerpc32/power7/fpu/s_logb.c via #include.
63171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63172         powerpc32/power7/fpu/s_logbf.c via #include.
63173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63174         powerpc32/power7/fpu/s_logbl.c via #include.
63176 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63178         * README.libm: Remove file.
63180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63182         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63183         count for x32.  Use R*_LP and omit operand-size suffix.
63185 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63187         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63188         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63189         * sysdeps/x86_64/x32/shlib-versions: New file.
63191 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63193         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63194         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63195         Use _dl_fatal_printf instead.
63197 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63199         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63200         set if not set by the user.  Do not allow for being unset.
63201         * sysdeps/unix/sysv/linux/configure: Regenerated.
63203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63205         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63206         the `q' suffix from lea and replace .quad with ASM_ADDR.
63208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63211         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63212         instead of $17.
63213         (PTR_DEMANGLE): Likewise.
63215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63217         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63218         (LP_OP): Likewise.
63219         (ASM_ADDR): Likewise.
63220         (RAX_LP): Likewise.
63221         (RBP_LP): Likewise.
63222         (RBX_LP): Likewise.
63223         (RCX_LP): Likewise.
63224         (RDI_LP): Likewise.
63225         (RSI_LP): Likewise.
63226         (RSP_LP): Likewise.
63227         (R8_LP): Likewise.
63228         (R9_LP): Likewise.
63229         (R10_LP): Likewise.
63230         (R10_LP): Likewise.
63231         (R11_LP): Likewise.
63232         (R12_LP): Likewise.
63233         (R13_LP): Likewise.
63234         (R14_LP): Likewise.
63235         (R15_LP): Likewise.
63237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63239         * sysdeps/x86_64/x32/dl-machine.h: New file.
63241 2012-05-14  Andreas Jaeger  <aj@suse.de>
63243         * manual/Makefile (subdir): Remove export of subdir.
63244         (all): Remove target.
63245         (.PHONY): Remove all from list.
63246         (mkinstalldirs): Remove.
63247         (.PHONY): Remove installdirs from list.
63248         ($(inst_infodir)/libc.info): Use make-target-directory.
63249         (installdirs): Remove.
63250         (subdir_%): Remove.
63251         (glibc-targets): Remove.
63252         (lib): Remove.
63253         (stubs): Remove.
63254         ($(objpfx)stubs ../po/manual.pot): Remove.
63255         ($(objpfx)stamp%): Remove.
63256         (make-target-directory): Remove.
63257         (subdir_install): Remove.
63258         (routines): Remove.
63259         (aux): Remove.
63260         (sources): Remove.
63261         (objects): Remove.
63262         (headers): Remove.
63264         [BZ #13750]
63265         * manual/.gitignore: Remove, it's not needed anymore.
63266         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63267         all files in it.
63268         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63269         directory.
63270         (texis): Renamed to $(objpfx)texis.
63271         (texis-path): New, contains path to generated files.
63272         (chapters.%): Use texis-path for complete path, add extra argument
63273         libc-texinfo.sh.
63274         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63275         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63276         (summary,texi, stamp-summary): Use complete path of
63277         files. Generate files in build dir.
63278         (dir-add.texi): Build in build dir.
63279         (libm-err.texi,stamp-libm-err): Likewise.
63280         (version.texi, stamp-version): Likewise.
63281         (.%c.texi): Likewise.
63282         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63283         (mostlyclean): Remove target.
63284         (realclean): Remove target.
63285         (generated): Add new variable with contents from mostlyclean and
63286         realclean, remove entries duplicated in common-mostlyclean, add
63287         stamp-libm-err and stamp-version.
63288         (generated-dirs): Add libc directory.
63289         ($(inst_infodir)/libc.info): Install files from build dir.
63291         * manual/install.texi (Configuring and compiling): Adjust since
63292         the info files are not part of the tar ball anymore.
63294 2012-05-14  Andreas Jaeger  <aj@suse.de>
63296         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63297         variable.
63299 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63301         [BZ #13717]
63302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63303         to 2.2.0 where earlier.
63304         * sysdeps/unix/sysv/linux/configure: Regenerated.
63305         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63306         Remove conditional code.
63307         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63308         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63309         Remove conditional code.
63310         [!__NR_lchown]: Likewise.
63311         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63312         [__NR_lchown]: Likewise.
63313         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63314         comment referencing __ASSUME_LCHOWN_SYSCALL.
63315         * sysdeps/unix/sysv/linux/i386/sigaction.c
63316         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63317         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63318         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63319         Remove conditional code.
63320         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63321         (__protocol_available): Remove #if 0 code.
63322         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63323         conditional code.
63324         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63325         * sysdeps/unix/sysv/linux/kernel-features.h
63326         (__ASSUME_GETCWD_SYSCALL): Don't define.
63327         (__ASSUME_REALTIME_SIGNALS): Likewise.
63328         (__ASSUME_PREAD_SYSCALL): Likewise.
63329         (__ASSUME_PWRITE_SYSCALL): Likewise.
63330         (__ASSUME_POLL_SYSCALL): Likewise.
63331         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63332         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63333         non-SPARC.
63334         (__ASSUME_SIOCGIFNAME): Don't define.
63335         (__ASSUME_MSG_NOSIGNAL): Likewise.
63336         (__ASSUME_SENDFILE): Define unconditionally.
63337         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63338         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63339         conditional code.
63340         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63341         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63342         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63343         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63344         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63345         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63346         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63348         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63349         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63354         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63360         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63363         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63366         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63369         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63371         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63372         Remove conditional code.
63373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63374         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63375         Remove conditional code.
63376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63377         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63378         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63379         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63380         Remove conditional code.
63381         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63382         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63383         Remove conditional code.
63384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63385         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63386         Remove conditional code.
63387         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63388         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63389         Remove conditional code.
63390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63391         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63392         Remove conditional code.
63393         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63394         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63397         * sysdeps/unix/sysv/linux/sigaction.c
63398         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63399         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63400         * sysdeps/unix/sysv/linux/sigpending.c
63401         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63402         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63403         * sysdeps/unix/sysv/linux/sigprocmask.c
63404         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63405         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63406         * sysdeps/unix/sysv/linux/sigsuspend.c
63407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63409         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63410         (__libc_missing_rt_sigs): Remove.
63411         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63412         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63413         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63414         Remove conditional code.
63415         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63416         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63417         return 1.
63418         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63419         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63420         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63421         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63423 2012-05-14  Andreas Jaeger  <aj@suse.de>
63425         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63426         it's not used in glibc.
63427         (__coshm1): Likewise.
63428         (__acosh1p): Likewise.
63429         (__sgn): Likewise.
63431         * manual/string.texi (Copying and Concatenation): Add missing
63432         variable in concat example.
63433         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63437         [BZ #14103]
63438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63439         __builtin_clzl with __builtin_clzll.
63441 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63443         [BZ #14104]
63444         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63445         libc_freeres_ptr.
63447 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63449         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63450         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63451         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63452         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63454 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63456         * NEWS: Update ia64 info.
63458 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63460         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63461         used as bcopy.
63463 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63465         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63466         * sysdeps/unix/syscalls.list (dup3): Likewise.
63467         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63468         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63470 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63472         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63473         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63475 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63477         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63478         thread pointer.
63479         (TLS_IE): Use mov/add instead of movq/addq to load thread
63480         pointer.
63481         (TLS_GD_PREFIX): New.
63482         (TLS_GD): Use it.
63484 2012-05-11  David S. Miller  <davem@davemloft.net>
63486         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63487         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63488         (_FPU_SETCW): Likewise.
63490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63492         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63493         is 32-byte aligned.
63495 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63497         [BZ #11837]
63498         * iconvdata/gb18030.c: Update tables.
63499         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63500         characters specially.
63501         (BODY for TO_LOOP): Add encoding of missing ranges.
63503 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63505         [BZ #13673]
63506         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63507         * sysdeps/mach/hurd/dup3.c: Likewise.
63508         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63509         * sysdeps/powerpc/memmove.c:: Likewise.
63511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63514         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63516 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63518         * elf/elf.h (R_X86_64_RELATIVE64): New.
63519         (R_X86_64_NUM): Updated.
63520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63521         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63522         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63523         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63524         tst-quad1pie tst-quad2pie
63525         (modules-names): Add tst-quadmod1 tst-quadmod2.
63526         ($(objpfx)tst-quad1): New dependency.
63527         ($(objpfx)tst-quad2): Likewise.
63528         ($(objpfx)tst-quad1pie): Likewise.
63529         ($(objpfx)tst-quad2pie): Likewise.
63530         * sysdeps/x86_64/tst-quad1.c: New file.
63531         * sysdeps/x86_64/tst-quad1pie.c: New file.
63532         * sysdeps/x86_64/tst-quad2.c: Likewise.
63533         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63534         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63535         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63536         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63537         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63541         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63542         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63543         * streams/stropts.h (t_scalar_t): Define type.
63545         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63546         (_PATH_PRESERVE): Set to "/var/lib".
63547         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63549         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63550         instead of int.
63552         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63553         if __dir_mkfile succeeded.
63555         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63556         checking for _hurd_dtablesize.  Unlock it right after having
63557         finished _hurd_dtable allocation.
63559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63561         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63562         * sysdeps/mach/hurd/configure: Regenerated.
63563         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63564         special-casing to...
63565         * sysdeps/gnu/configure.in: ... this new file.
63566         * sysdeps/unix/sysv/linux/configure: Regenerated.
63567         * sysdeps/gnu/configure: New generated file.
63569         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63570         for Linux: use nsec instead of usec, as well as:
63571         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63572         members of type struct timespec.
63573         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63574         New macros.
63575         (struct stat64): Likewise.
63576         (_STATBUF_ST_NSEC): New macro.
63577         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63579         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63580         __strtoul_internal rather than strtoul.
63582 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63584         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63585         and reject them.
63587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63589         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63590         which preserves existing values.
63591         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63593 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63595         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63596         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63597         greater than FD_SETSIZE.
63599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63601         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63602         allocated, call __vm_protect to finish enabling the existing space, and
63603         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63604         allocate the remainder.
63606 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63608         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63609         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63613         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63614         sysdeps/mach/hurd/readlink.c.
63616         * posix/tst-sysconf.c (posix_options): Only use
63617         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63618         _POSIX_SYNCHRONIZED_IO when they are defined
63619         * sysdeps/mach/hurd/bits/posix_opt.h:
63620         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63621         (_XOPEN_REALTIME): Undefine macro.
63622         (_XOPEN_REALTIME_THREADS): Undefine macro.
63623         (_XOPEN_SHM): Undefine macro.
63624         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63625         macro to -1.
63626         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63627         macro to -1.
63628         (_POSIX_ASYNC_IO): Undefine macro.
63629         (_POSIX_PRIORITIZED_IO): Undefine macro.
63630         (_POSIX_SPIN_LOCKS): Define macro to -1.
63632         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63633         SA_NODEFER, SA_RESETHAND.
63634         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63635         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63636         F_DUPFD_CLOEXEC.
63638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63640         * elf/Makefile (pldd-modules): Define unconditionally.
63642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63644         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63648         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63649         Return ENOENT when name is empty.
63650         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63654         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63656         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63660         Fix mlock in all cases except non-readable pages.
63661         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63662         instead of VM_PROT_ALL as parameter to __vm_wire function.
63664         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63665         (__mkdir): When path is `/', just fail with EEXIST.
63666         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63670         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63671         <sys/uio.h> (for writev).
63672         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63673         and <sys/param.h> (for MIN).
63675 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63677         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63678         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63679         if interrupted.
63681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63683         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63684         Depend on against $(link-rpcuserlibs).
63686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63688         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63689         (__libc_stack_end): Do not use attribute_relro.
63690         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63691         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63692         to libthread-provided value.
63693         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63694         attribute_relro.
63696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63698         [BZ #3748]
63699         * bits/libc-lock.h (__libc_once_get): New macro.
63700         * sysdeps/mach/bits/libc-lock.h: Likewise.
63701         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63702         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63703         instead of using implementation details.
63705         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63706         * libio/freopen.c: Likewise.
63707         * libio/freopen64.c: Likewise.
63708         * misc/syslog.c: Likewise.
63709         * nscd/connections.c: Likewise.
63710         * nscd/netgroupcache.c: Likewise.
63711         * sysdeps/posix/getcwd.c: Likewise.
63713 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63715         * math/w_ilogbf.c: Add #include <limits.h>.
63717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63719         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63720         path instead of returning without unlocking.
63722         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63723         immediate-write ioctls.
63724         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63728         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63729         __builtin_frame_address instead of making assumptions about the
63730         location of the return address relative to DATA.  Force early load of
63731         the return address.
63732         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63733         __builtin_frame_address.
63735         dup3 for GNU Hurd.
63736         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63737         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63738         implement dup3 and do some further code clean-ups.
63739         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63740         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63744         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63746         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63747         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63748         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63749         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63750         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63751         d->port.lock.
63753         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63754         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63755         when handler == SIG_ERR, not when handler != SIG_ERR.
63757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63759         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63760         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63761         definitions.
63763         accept4 for GNU Hurd.
63764         * include/sys/socket.h (__libc_accept4): New prototype.
63765         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63766         to implement __libc_accept4.
63767         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63768         __libc_accept4.
63769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63771         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63772         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63773         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63774         signal-defines.sym.
63776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63778         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63780 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63782         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63783         assertion on O_CLOEXEC flag.
63784         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63785         * hurd/intern-fd.c: Likewise.
63786         * hurd/port2fd.c: Likewise.
63788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63790         [BZ #3906]
63791         * bits/in.h (IPV6_PKTINFO): Define new macro.
63792         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63794 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63796         [BZ #13954]
63797         [BZ #13955]
63798         [BZ #13956]
63799         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63800         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63801         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63802         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63804         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63805         * math/libm-test.inc (logb_test) : Additional logb tests.
63807 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63808             Andreas Jaeger  <aj@suse.de>
63810         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63811         * configure: Regenerated.
63812         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63813         * config.make.in (link-obsolete-rpc): New substituted variable.
63814         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63815         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63816         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63817         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63818         so that libc.a contains the symbols.
63819         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63820         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63821         * sunrpc/auth_none.c: Likewise.
63822         * sunrpc/auth_unix.c: Likewise.
63823         * sunrpc/authdes_prot.c: Likewise.
63824         * sunrpc/authuxprot.c: Likewise.
63825         * sunrpc/clnt_gen.c: Likewise.
63826         * sunrpc/clnt_perr.c: Likewise.
63827         * sunrpc/clnt_raw.c: Likewise.
63828         * sunrpc/clnt_simp.c: Likewise.
63829         * sunrpc/clnt_tcp.c: Likewise.
63830         * sunrpc/clnt_udp.c: Likewise.
63831         * sunrpc/clnt_unix.c: Likewise.
63832         * sunrpc/des_crypt.c: Likewise.
63833         * sunrpc/des_soft.c: Likewise.
63834         * sunrpc/get_myaddr.c: Likewise.
63835         * sunrpc/key_call.c: Likewise.
63836         * sunrpc/key_prot.c: Likewise.
63837         * sunrpc/netname.c: Likewise.
63838         * sunrpc/pm_getmaps.c: Likewise.
63839         * sunrpc/pm_getport.c: Likewise.
63840         * sunrpc/pmap_clnt.c: Likewise.
63841         * sunrpc/pmap_prot.c: Likewise.
63842         * sunrpc/pmap_prot2.c: Likewise.
63843         * sunrpc/pmap_rmt.c: Likewise.
63844         * sunrpc/publickey.c: Likewise.
63845         * sunrpc/rpc_cmsg.c: Likewise.
63846         * sunrpc/rpc_common.c: Likewise.
63847         * sunrpc/rpc_dtable.c: Likewise.
63848         * sunrpc/rpc_prot.c: Likewise.
63849         * sunrpc/rpc_thread.c: Likewise.
63850         * sunrpc/rtime.c: Likewise.
63851         * sunrpc/svc.c: Likewise.
63852         * sunrpc/svc_auth.c: Likewise.
63853         * sunrpc/svc_raw.c: Likewise.
63854         * sunrpc/svc_run.c: Likewise.
63855         * sunrpc/svc_tcp.c: Likewise.
63856         * sunrpc/svc_udp.c: Likewise.
63857         * sunrpc/svc_unix.c: Likewise.
63858         * sunrpc/svcauth_des.c: Likewise.
63859         * sunrpc/xcrypt.c: Likewise.
63860         * sunrpc/xdr.c: Likewise.
63861         * sunrpc/xdr_array.c: Likewise.
63862         * sunrpc/xdr_float.c: Likewise.
63863         * sunrpc/xdr_intXX_t.c: Likewise.
63864         * sunrpc/xdr_mem.c: Likewise.
63865         * sunrpc/xdr_rec.c: Likewise.
63866         * sunrpc/xdr_ref.c: Likewise.
63867         * sunrpc/xdr_sizeof.c: Likewise.
63868         * sunrpc/xdr_stdio.c: Likewise.
63870 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63873         change.  Update copyright years.
63875 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63877         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63879 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63880             Joseph Myers  <joseph@codesourcery.com>
63881             Paul Pluzhnikov  <ppluzhnikov@google.com>
63883         [BZ #14012]
63884         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63885         requiring rpcgen.
63886         [cross-compiling] (extra-libs): Likewise.
63887         [cross-compiling] (extra-libs-others): Likewise.
63888         [cross-compiling] (librpcsvc-routines): Likewise.
63889         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63890         [cross-compiling] (omit-deps): Likewise.
63891         (sunrpc-CPPFLAGS): New variable.
63892         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63893         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63894         (cross-rpcgen-objs): New variable.
63895         (extra-objs): Append $(cross-rpcgen-objs).
63896         ($(cross-rpcgen-objs)): New rule.
63897         ($(objpfx)cross-rpcgen): Likewise.
63898         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63899         comment.
63900         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63901         ($(objpfx)x%.stmp): Likewise.
63902         * sunrpc/proto.h [IS_IN_build] (_): Define.
63903         [IS_IN_build] (_libc_intl_domainname): Likewise.
63905 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63908         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63909         and R_X86_64_TPOFF64.
63911 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63913         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63914         sysdeps/unix/sysv/syscalls.list.
63915         (stime): Likewise.
63916         (utime): Likewise.
63917         * sysdeps/unix/sysv/syscalls.list: Remove file.
63919 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63921         [BZ #3440]
63922         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63923         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63924         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63925         (__LC_IDENTIFICATION): Make these macros useful in #if
63926         expressions, as required by C99.
63928 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63930         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63931         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63932         after this.
63934 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63936         * stdlib/longlong.h: Updated from GCC.
63938 2012-05-09  Andreas Jaeger  <aj@suse.de>
63940         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63941         default is first entry.
63942         (run_mode): Set type.
63943         (main): Remove informal message about syslog.
63944         (options): Fix typo.
63946         [BZ #14053]
63947         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63948         to asm.
63949         (lrint): Likewise.
63950         (llrintf): Likewise.
63951         (llrint): Likewise.
63952         (rint): Likewise.
63953         (rintf): Likewise.
63954         (nearbyint): Likewise.
63955         (nearbyintf): Likewise.
63957 2012-05-09  Andreas Jaeger  <aj@suse.de>
63958             Pedro Alves  <palves@redhat.com>
63960         * nscd/nscd.c (run_mode): Use enum.
63961         (main): Cleanup coding style issue.
63963 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63964             Andreas Jaeger  <aj@suse.de>
63966         * nscd/nscd.c (go_background): Replaced with...
63967         (run_mode): ... this.
63968         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63969         (options): Add -F --foreground.
63970         (main): Implement it.
63971         (parse_opt): Parse it.
63973 2012-05-09  Andreas Jaeger  <aj@suse.de>
63975         [BZ #14083]
63976         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63977         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63978         -Wconversion warning.
63979         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63980         Likewise.
63982 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63984         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63985         == 0.
63986         (LC_ALL): Use macro-int-constant.
63987         (LC_COLLATE): Likewise.
63988         (LC_CTYPE): Likewise.
63989         (LC_MESSAGES): Likewise.
63990         (LC_MONETARY): Likewise.
63991         (LC_NUMERIC): Likewise.
63992         (LC_TIME): Likewise.
63993         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63994         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63995         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63996         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63997         Specify type.
63998         [C99-based standards] (float_t): Expect type.
63999         [C99-based standards] (double_t): Expect type.
64000         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64001         type.
64002         [C99-based standards] (HUGE_VALL): Likewise.
64003         [C99-based standards] (INFINITY): Likewise.
64004         [C99-based standards] (NAN): Likewise.
64005         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64006         [C99-based standards] (FP_NAN): Likewise.
64007         [C99-based standards] (FP_NORMAL): Likewise.
64008         [C99-based standards] (FP_SUBNORMAL): Likewise.
64009         [C99-based standards] (FP_ZERO): Likewise.
64010         [C99-based standards] (FP_FAST_FMA): Use
64011         optional-macro-int-constant.  Specify type.  Require == 1.
64012         [C99-based standards] (FP_FAST_FMAF): Likewise.
64013         [C99-based standards] (FP_FAST_FMAL): Likewise.
64014         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64015         [C99-based standards] (FP_ILOGBNAN): Likewise.
64016         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64017         Specify type.
64018         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64019         [C99-based standards] (math_errhandling): Specify type.
64020         [ISO99 || ISO11] (signgam): Do not allow.
64021         [non-C99-based standards] (copysignf): Do not allow.
64022         [non-C99-based standards] (exp2f): Likewise.
64023         [non-C99-based standards] (log2f): Likewise.
64024         [non-C99-based standards] (modff): Allow.
64025         [non-C99-based standards] (erff): Do not allow.
64026         [non-C99-based standards] (erfcf): Likewise.
64027         [non-C99-based standards] (gammaf): Likewise.
64028         [non-C99-based standards] (hypotf): Likewise.
64029         [non-C99-based standards] (j0f): Likewise.
64030         [non-C99-based standards] (j1f): Likewise.
64031         [non-C99-based standards] (jnf): Likewise.
64032         [non-C99-based standards] (lgammaf): Likewise.
64033         [non-C99-based standards] (tgammaf): Likewise.
64034         [non-C99-based standards] (y0f): Likewise.
64035         [non-C99-based standards] (y1f): Likewise.
64036         [non-C99-based standards] (ynf): Likewise.
64037         [non-C99-based standards] (isnanf): Likewise.
64038         [non-C99-based standards] (acoshf): Likewise.
64039         [non-C99-based standards] (asinhf): Likewise.
64040         [non-C99-based standards] (atanhf): Likewise.
64041         [non-C99-based standards] (cbrtf): Likewise.
64042         [non-C99-based standards] (expm1f): Likewise.
64043         [non-C99-based standards] (ilogbf): Likewise.
64044         [non-C99-based standards] (log1pf): Likewise.
64045         [non-C99-based standards] (logbf): Likewise.
64046         [non-C99-based standards] (nextafterf): Likewise.
64047         [non-C99-based standards] (remainderf): Likewise.
64048         [non-C99-based standards] (rintf): Likewise.
64049         [non-C99-based standards] (scalbf): Likewise.
64050         [non-C99-based standards] (copysignl): Likewise.
64051         [non-C99-based standards] (exp2l): Likewise.
64052         [non-C99-based standards] (log2l): Likewise.
64053         [non-C99-based standards] (modfl): Allow.
64054         [non-C99-based standards] (erfl): Do not allow.
64055         [non-C99-based standards] (erfcl): Likewise.
64056         [non-C99-based standards] (gammal): Likewise.
64057         [non-C99-based standards] (hypotl): Likewise.
64058         [non-C99-based standards] (j0l): Likewise.
64059         [non-C99-based standards] (j1l): Likewise.
64060         [non-C99-based standards] (jnl): Likewise.
64061         [non-C99-based standards] (lgammal): Likewise.
64062         [non-C99-based standards] (tgammal): Likewise.
64063         [non-C99-based standards] (y0l): Likewise.
64064         [non-C99-based standards] (y1l): Likewise.
64065         [non-C99-based standards] (ynl): Likewise.
64066         [non-C99-based standards] (isnanl): Likewise.
64067         [non-C99-based standards] (acoshl): Likewise.
64068         [non-C99-based standards] (asinhl): Likewise.
64069         [non-C99-based standards] (atanhl): Likewise.
64070         [non-C99-based standards] (cbrtl): Likewise.
64071         [non-C99-based standards] (expm1l): Likewise.
64072         [non-C99-based standards] (ilogbl): Likewise.
64073         [non-C99-based standards] (log1pl): Likewise.
64074         [non-C99-based standards] (logbl): Likewise.
64075         [non-C99-based standards] (nextafterl): Likewise.
64076         [non-C99-based standards] (remainderl): Likewise.
64077         [non-C99-based standards] (rintl): Likewise.
64078         [non-C99-based standards] (scalbl): Likewise.
64079         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64080         [non-C99-based standards] (FP_*): Do not allow.
64081         [C99-based standards] (FP_*): Change to
64082         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64083         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64084         allow.
64085         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64086         (SIG_ERR): Likewise.
64087         [X/Open-based standards] (SIG_HOLD): Likewise.
64088         (SIG_IGN): Likewise.
64089         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64090         positive value.
64091         (SIGFPE): Likewise.
64092         (SIGILL): Likewise.
64093         (SIGINT): Likewise.
64094         (SIGSEGV): Likewise.
64095         (SIGTER): Likewise.
64096         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64097         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64098         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64099         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64100         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64101         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64102         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64103         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64104         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64105         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64106         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64107         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64108         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64109         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64110         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64111         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64112         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64113         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64114         [X/Open-based standards] (SIGTRAP): Likewise.
64115         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64116         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64117         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64118         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64119         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64120         allow.
64122 2012-05-08  Ian Wienand  <ianw@vmware.com>
64124         [BZ #14080]
64125         * time/tzset.c (__tzset_parse_tz): Update default rules for
64126         daylight time changes in the Energy Policy Act of 2005.
64128 2012-05-09  Andreas Jaeger  <aj@suse.de>
64130         [BZ #13983]
64131         * elf/ldconfig.c (parse_conf): Change string to make clear that
64132         ldconfig only issued a warning if ld.so.conf does not exist.
64134 2012-05-08  David S. Miller  <davem@davemloft.net>
64136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64137         movxtod instead of popping the value on the stack.
64139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64141 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64143         * config.h.in: Add HAVE_ARM_PCS_VFP.
64145 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64147         [BZ #13979]
64148         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64149         checking but the checks are disabled for any reason.
64151 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64153         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64154         and ELF64_R_TYPE with ELFW(R_TYPE).
64156 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64158         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64159         (ulimit): Likewise.
64161         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64162         (settimeofday): Likewise.
64164 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64166         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64167         a struct th_u2 inside the union, and move tu_block/tu_code into
64168         a new th_u3 union of tu_block/tu_code inside of that.  Move
64169         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64170         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64171         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64172         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64173         (th_stuff): Change to th_u1.tu_stuff.
64174         (th_data): Define.
64175         (th_msg): Change to th_u1.th_u2.tu_data.
64177 2012-05-07  David S. Miller  <davem@davemloft.net>
64179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64181         [BZ #14074]
64182         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64183         (SETUP_PIC_REG): Use it.
64184         (SETUP_PIC_REG_LEAF): Use it.
64186 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64188         [BZ #13885]
64189         [BZ #13923]
64190         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64191         USE_AS_EXPM1L.
64192         (EXPL_FINITE): Likewise.
64193         (FLDLOG): Likewise.
64194         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64195         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64196         e_expl.S.
64197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64198         USE_AS_EXPM1L.
64199         (EXPL_FINITE): Likewise.
64200         (FLDLOG): Likewise.
64201         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64202         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64203         e_expl.S.
64204         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64205         test of -max_value argument for long double.
64206         * sysdeps/i386/fpu/libm-test-ulps: Update.
64207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64209 2012-05-06  David S. Miller  <davem@davemloft.net>
64211         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64212         quad soft-float symbols whose references which are compiler
64213         generated.
64214         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64216 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64218         [BZ #13884]
64219         [BZ #13914]
64220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64221         USE_AS_EXP10L.
64222         (EXPL_FINITE): Likewise.
64223         (FLDLOG): Likewise.
64224         (c0): Likewise.
64225         (c1): Likewise.
64226         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64227         Adjust comments for base varying.
64228         (__expl_finite): Change alias to EXPL_FINITE.
64229         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64230         e_expl.S.
64231         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64232         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64233         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64234         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64236         USE_AS_EXP10L.
64237         (EXPL_FINITE): Likewise.
64238         (FLDLOG): Likewise.
64239         (c0): Likewise.
64240         (c1): Likewise.
64241         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64242         Adjust comments for base varying.
64243         (__expl_finite): Change alias to EXPL_FINITE.
64244         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64245         tests for bugs.
64246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64248         [BZ #14064]
64249         * math/libm-test.inc (check_float_internal): Correct ulp
64250         calculation for subnormal expected results.
64252 2012-05-06  Andreas Jaeger  <aj@suse.de>
64254         * Makeconfig (+math-flags): New, set to -frounding-math.
64255         (+cflags): Add +math-flags so that all of glibc gets compiled with
64256         it.
64258         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64260 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64262         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64263         Disable one test.
64265         [BZ #13787]
64266         [BZ #13922]
64267         [BZ #14036]
64268         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64269         (__ieee754_expl): Allow for and saturate large arguments.
64270         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64271         (u_threshold): Likewise.
64272         (__exp): Call __ieee754_exp before checking for overflow and
64273         underflow.
64274         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64275         (u_threshold): Likewise.
64276         (__expf): Call __ieee754_expf before checking for overflow and
64277         underflow.
64278         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64279         (u_threshold): Likewise.
64280         (__expl): Call __ieee754_expl before checking for overflow and
64281         underflow.
64282         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64283         (__ieee754_expl): Allow for and saturate large arguments.
64284         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64285         missing overflow exception on overflow.
64286         (expm1_test): Do not allow missing overflow exception on overflow.
64288         * sysdeps/i386/fpu/e_expl.c: Move to ...
64289         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64290         rather than using inline asm.
64291         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64292         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64293         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64295         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64296         (nice): Likewise.
64297         (poll): Likewise.
64298         (signal): Likewise.
64299         (time): Likewise.
64300         (times): Likewise.
64302 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64304         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64305         sysdeps/unix/common/syscalls.list.
64306         (fchmod): Likewise.
64307         (fchown): Likewise.
64308         (ftruncate): Likewise.
64309         (getrusage): Likewise.
64310         (gettimeofday): Likewise.
64311         (setpgid): Likewise.
64312         (setregid): Likewise.
64313         (setreuid): Likewise.
64314         (sigaction): Likewise.
64315         (truncate): Likewise.
64316         (vhangup): Likewise.
64317         * sysdeps/unix/common/syscalls.list: Remove file.
64318         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64319         * sysdeps/unix/sysv/linux/Implies: Likewise.
64321 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64323         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64325         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64326         Moved to ...
64327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64328         Here.
64329         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64330         to ...
64331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64332         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64333         to ...
64334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64335         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64336         to ...
64337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64338         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64339         to ...
64340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64341         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64342         to ...
64343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64344         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64345         to ...
64346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64347         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64348         to ...
64349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64350         Here.
64351         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64352         to ...
64353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64354         Here.
64355         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64356         to ...
64357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64358         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64359         Moved to ...
64360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64361         Here.
64362         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64363         to ...
64364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64366 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64368         * sysdeps/unix/common/bits/dirent.h: Remove file.
64369         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64371         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64372         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64373         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64374         * sysdeps/unix/bsd/isatty.c: Likewise.
64375         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64376         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64377         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64379 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64381         [BZ #13563]
64382         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64383         long double comparison inaccuracies.
64384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64387 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64389         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64390         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64392 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64394         [BZ #14049]
64395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64396         nonzero digits before rounding a hex value.
64397         * stdlib/tst-strtod.c (tests): Add another test.
64399 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64401         * sysdeps/s390/fpu/libm-test-ulps: Update.
64403 2012-05-03  Andreas Jaeger  <aj@suse.de>
64405         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64406         does not get optimized out.
64407         (malloc_opt_barrier): New.
64409 2012-05-03  Andreas Jaeger  <aj@suse.de>
64410             Roland McGrath  <roland@hack.frob.com>
64412         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64413         intermediate file deletion.
64414         (generated): Add .symlist files.
64416 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64418         [BZ #13775]
64419         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64420         Redirect under this condition.
64421         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64422         [__USE_GNU] (__dprintf_chk): Not under this condition.
64423         [__USE_GNU] (__vdprintf_chk): Likewise.
64424         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64425         under this condition.
64426         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64427         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64428         [__USE_XOPEN2K8] (vdprintf): Likewise.
64429         [__USE_GNU] (__dprintf_chk): Not under this condition.
64430         [__USE_GNU] (__vdprintf_chk): Likewise.
64431         [__USE_GNU] (dprintf): Likewise.
64432         [__USE_GNU] (vdprintf): Likewise.
64434 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64436         * elf/Makefile (common-generated): Set this instead of generated for
64437         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64438         $(all-built-dso)-derived lists.
64440 2012-05-03  Andreas Jaeger  <aj@suse.de>
64442         * sysdeps/i386/fpu/libm-test-ulps: Update.
64444         * FAQ: Removed.
64445         * FAQ.in: Likewise.
64446         * scripts/gen-FAQ.pl: Likewise.
64447         * manual/install.texi (Installation): Point to online location of
64448         FAQ.
64449         * Makefile (files-for-dist): Remove FAQ.
64450         (FAQ): Remove.
64452 2012-05-02  Allan McRae  <allan@archlinux.org>
64454         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64455         (LDFLAGS-reldepmod5.so): Likewise.
64456         (LDFLAGS-reldep6mod1.so): Likewise.
64457         (LDFLAGS-reldep6mod4.so): Likewise.
64458         (LDFLAGS-reldep8mod3.so): Likewise.
64459         (LDFLAGS-unload4mod1.so): Likewise.
64460         (LDFLAGS-unload4mod2.so): Likewise.
64461         (LDFLAGS-tst-initorder): Likewise.
64462         (LDFLAGS-tst-initordera2.so): Likewise.
64463         (LDFLAGS-tst-initordera3.so): Likewise.
64464         (LDFLAGS-tst-initordera4.so): Likewise.
64465         (LDFLAGS-tst-initorderb2.so): Likewise.
64466         (LDFLAGS-noload): Likewise.
64467         (LDFLAGS-next): Likewise.
64468         (LDFLAGS-order2mod1.so): Likewise.
64469         (LDFLAGS-order2mod2.so): Likewise.
64470         (LDFLAGS-tst-initorder2): Likewise.
64471         (LDFLAGS-tst-initorder2a.so): Likewise.
64472         (LDFLAGS-tst-initorder2b.so): Likewise.
64473         (LDFLAGS-tst-initorder2c.so): Likewise.
64474         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64476 2012-05-02  David S. Miller  <davem@davemloft.net>
64478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64480 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64482         [BZ #14055]
64483         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64485 2012-05-02  Andreas Jaeger  <aj@suse.de>
64487         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64488         since we manipulate rounding mode.
64489         (CPPFLAGS-test-idouble.c): Likewise.
64490         (CPPFLAGS-test-ifloat.c): Likewise.
64491         (CFLAGS-test-ldouble.c): Likewise.
64492         (CFLAGS-test-double.c): Likewise.
64493         (CFLAGS-test-float.c): Likewise.
64494         (CFLAGS-test-misc.c): Likewise.
64495         (CFLAGS-test-test-fenv.c): Likewise.
64497 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64499         [BZ #2550]
64500         [BZ #2570]
64501         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64502         comparisons to determine direction to adjust input.
64504 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64506         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64507         output to the target.
64509         * scripts/localplt.awk: New file.
64510         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64511         (check-localplt-CFLAGS): Variable removed.
64512         ($(all-built-dso:=.jmprel)): New static pattern rule.
64513         (generated): Add those targets.
64514         (localplt-built-dso): New variable.
64515         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64517         * elf/check-localplt.c: File removed.
64519         * scripts/check-execstack.awk: New file.
64520         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64521         (check-execstack-CFLAGS): Variable removed.
64522         ($(objpfx)check-execstack.h): Target removed.
64523         ($(objpfx)execstack-default): New target.
64524         (generated): Add that instead of check-execstack.h.
64525         ($(all-built-dso:=.phdr)): New static pattern rule.
64526         (generated): Add those targets.
64527         * elf/check-execstack.c: File removed.
64529         * scripts/check-textrel.awk: New file.
64530         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64531         (check-textrel-CFLAGS): Variable removed.
64532         (all-built-dso): Use := to define.o
64533         ($(all-built-dso:=.dyn)): New static pattern rule.
64534         (generated): Add those targets.
64535         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64536         * config.make.in (READELF): New substituted variable.
64537         * elf/check-textrel.c: File removed.
64539 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64541         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64542         allow.
64543         * conform/data/ctype.h-data [C99-based standards] (isblank):
64544         Expect function.
64545         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64546         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64548         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64549         Specify type.  Require positive value.
64550         (EILSEQ): Likewise.
64551         (ERANGE): Likewise.
64552         [ISO || POSIX] (EILSEQ): Do not expect.
64553         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64554         Specify type.  Require positive value.
64555         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64556         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64557         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64558         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64559         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64560         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64561         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64562         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64563         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64564         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64565         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64566         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64567         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64568         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64569         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64570         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64571         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64572         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64573         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64574         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64575         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64576         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64577         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64578         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64579         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64580         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64581         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64582         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64583         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64584         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64585         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64586         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64587         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64588         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64589         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64590         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64591         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64592         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64593         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64594         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64595         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64596         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64597         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64598         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64599         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64600         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64601         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64602         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64603         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64604         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64605         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64606         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64607         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64608         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64609         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64610         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64611         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64612         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64613         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64614         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64615         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64616         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64617         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64618         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64619         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64620         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64621         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64622         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64623         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64624         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64625         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64626         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64627         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64628         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64629         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64630         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64631         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64632         Require >= 2.
64633         (FLT_ROUNDS): Expect as macro, not constant.
64634         (FLT_MANT_DIG): Use macro-int-constant.
64635         (DBL_MANT_DIG): Likewise.
64636         (LDBL_MANT_DIG): Likewise.
64637         (FLT_DIG): Likewise.
64638         (DBL_DIG): Likewise.
64639         (LDBL_DIG): Likewise.
64640         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64641         (DBL_MIN_EXP): Likewise.
64642         (LDBL_MIN_EXP): Likewise.
64643         (FLT_MAX_EXP): Use macro-int-constant.
64644         (DBL_MAX_EXP): Likewise.
64645         (LDBL_MAX_EXP): Likewise.
64646         (FLT_MAX_10_EXP): Likewise.
64647         (DBL_MAX_10_EXP): Likewise.
64648         (LDBL_MAX_10_EXP): Likewise.
64649         (FLT_MAX): Use macro-constant.
64650         (DBL_MAX): Likewise.
64651         (LDBL_MAX): Likewise.
64652         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64653         (DBL_EPSILON): Likewise.
64654         (LDBL_EPSILON): Likewise.
64655         (FLT_MIN): Likewise.
64656         (DBL_MIN): Likewise.
64657         (LDBL_MIN): Likewise.
64658         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64659         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64660         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64661         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64662         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64663         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64664         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64665         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64666         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64667         [ISO11] (FLT_TRUE_MIN): Likewise.
64668         [ISO11] (LDBL_TRUE_MIN): Likewise.
64669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64670         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64671         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64672         (SCHAR_MAX): Likewise.
64673         (UCHAR_MAX): Likewise.
64674         (CHAR_MIN): Likewise.
64675         (CHAR_MAX): Likewise.
64676         (MB_LEN_MAX): Use macro-int-constant.
64677         (SHRT_MIN): Use macro-int-constant.  Specify type.
64678         (SHRT_MAX): Likewise.
64679         (USHRT_MAX): Likewise.
64680         (INT_MAX): Likewise.
64681         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64682         bound negative.
64683         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64684         bound with "U".
64685         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64686         bound with "L".
64687         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64688         bound negative.  Suffix upper bound with "L".
64689         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64690         bound with "UL".
64691         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64692         Specify type.
64693         [C99-based standards] (LLONG_MAX): Likewise.
64694         [C99-based standards] (ULLONG_MAX): Likewise.
64695         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64696         == 0.
64697         [ISO11] (max_align_t): Require type.
64698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64700         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64701         from $CFLAGS, without defining away __attribute__ calls.
64702         (checknamespace): Use $CFLAGS_namespace.
64704         * conform/conformtest.pl (@keywords): Only include C99 keywords
64705         for standards based on C99 or C11.
64707         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64708         Disable tests.
64709         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64710         UNIX98]: Likewise.
64712         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64713         usability of symbols in #if.
64715         * conform/conformtest.pl: If macro or constant types start
64716         "promoted:", expect the symbol to be of the following type
64717         promoted by the integer promotions.
64719         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64720         in one place.  Also handle "macro-constant".
64722         * conform/conformtest.pl: Only accept expected macro values with
64723         "==".  Parse all "macro" lines in one place.
64724         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64726         * conform/conformtest.pl: Handle braced types on "constant" lines
64727         instead of handling "typed-constant".
64728         * conform/data/signal.h-data: Use "constant" instead of
64729         "typed-constant".
64731         * conform/conformtest.pl: Handle "optional-" at start of lines in
64732         one place rather than duplicating several cases.  Handle each
64733         format of "macro" line with initial "optional-".
64735         * conform/conformtest.pl: Only accept expected constant or
64736         optional-constant values with "==".  Parse all "constant" lines in
64737         one place.  Parse all "optional-constant" lines in one place.
64738         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64739         * conform/data/fmtmsg.h-data: Likewise.
64740         * conform/data/netinet/in.h-data: Likewise.
64741         * conform/data/tar.h-data: Likewise.
64742         * conform/data/limits.h-data: Use "==" form on "constant" and
64743         "optional-constant" lines.
64745         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64746         Use -std=c99 for XOPEN2K.
64747         (@knownproblems): Remove.
64748         (newtoken): Don't check %isknown.
64750         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64751         Do not expect macro.
64752         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64753         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64754         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64755         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64756         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64757         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64758         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64759         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64760         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64761         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64762         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64763         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64764         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64765         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64766         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64767         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64768         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64769         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64770         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64771         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64772         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64773         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64774         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64775         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64776         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64777         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64778         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64779         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64780         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64781         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64782         [XPG3] (acosh): Likewise.
64783         [XPG3] (asinh): Likewise.
64784         [XPG3] (atanh): Likewise.
64785         [XPG3] (cbrt): Likewise.
64786         [XPG3] (expm1): Likewise.
64787         [XPG3] (ilogb): Likewise.
64788         [XPG3] (log1p): Likewise.
64789         [XPG3] (logb): Likewise.
64790         [XPG3] (nextafter): Likewise.
64791         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64792         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64793         [XPG3] (remainder): Likewise.
64794         [XPG3] (rint): Likewise.
64795         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64796         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64797         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64798         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64799         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64800         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64801         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64802         [UNIX98 || XOPEN2K] (scalb): Expect.
64803         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64804         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64805         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64806         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64807         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64808         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64809         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64810         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64811         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64812         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64813         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64814         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64815         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64816         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64817         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64818         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64819         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64820         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64821         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64822         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64823         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64824         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64825         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64826         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64827         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64828         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64829         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64830         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64831         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64832         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64833         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64834         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64835         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64836         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64837         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64838         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64839         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64840         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64841         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64842         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64843         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64844         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64845         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64846         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64847         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64848         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64849         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64850         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64851         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64852         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64853         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64854         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64855         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64856         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64857         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64858         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64859         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64860         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64861         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64862         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64863         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64864         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64865         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64866         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64867         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64868         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64869         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64870         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64871         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64872         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64873         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64874         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64875         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64876         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64877         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64878         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64879         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64880         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64881         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64882         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64883         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64884         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64885         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64886         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64887         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64888         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64889         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64890         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64891         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64892         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64893         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64894         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64895         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64896         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64897         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64898         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64899         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64900         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64901         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64902         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64903         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64904         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64905         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64906         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64907         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64908         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64909         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64910         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64911         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64912         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64913         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64914         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64915         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64916         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64917         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64918         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64919         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64920         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64921         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64922         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64923         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64924         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64925         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64926         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64927         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64928         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64929         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64930         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64931         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64932         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64933         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64934         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64935         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64936         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64937         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64938         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64939         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64941         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64942         _XOPEN_SOURCE_EXTENDED for XPG4.
64944         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64946         * Makeconfig (localtime): Remove variable.
64947         (inst_localtime-file): Likewise.
64949 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64952         Update.
64953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64954         Update.
64955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64956         Update.
64957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64958         Update.
64959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64960         Update.
64961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64962         Update.
64963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64964         Update.
64965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64966         Update.
64967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64968         Update.
64970 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64972         [BZ #2550]
64973         [BZ #2570]
64974         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64975         comparisons to determine direction to adjust input.
64976         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64977         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64978         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64979         Likewise.
64980         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64981         Likewise.
64982         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64983         Likewise.
64984         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64985         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64986         Likewise.
64987         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64988         Likewise.
64989         * math/libm-test.inc (nexttoward_test): Add more tests.
64991 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64993         [BZ #14040]
64994         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64995         in version GLIBC_2.1, not GLIBC_2.0.
64996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64997         Likewise.
64999 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65001         [BZ #13942]
65002         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65003         (1 - x) * (1 + x).
65004         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65005         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65006         * math/libm-test.inc (acos_test): Add more tests.
65007         (asin_test): Likewise.
65008         * sysdeps/i386/fpu/libm-test-ulps: Update.
65009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65011         [BZ #14034]
65012         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65013         of square root.
65014         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65015         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65016         * math/libm-test.inc (acos_test_tonearest): New function.
65017         (acos_test_towardzero): Likewise.
65018         (acos_test_downward): Likewise.
65019         (acos_test_upward): Likewise.
65020         (asin_test_tonearest): Likewise.
65021         (asin_test_towardzero): Likewise.
65022         (asin_test_downward): Likewise.
65023         (asin_test_upward): Likewise.
65024         (main): Call the new functions.
65025         * sysdeps/i386/fpu/libm-test-ulps: Update.
65026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65028         [BZ #13884]
65029         [BZ #13924]
65030         * math/e_exp10.c: Include <float.h>.
65031         (__ieee754_exp10): Handle underflow here rather than multiplying
65032         large negative argument by M_LN10.
65033         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65034         of __ieee754_expf.
65035         * math/e_exp10l.c: Include <float.h>.
65036         (__ieee754_exp10l): Handle underflow here rather than multiplying
65037         large negative argument by M_LN10l.
65038         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65039         spurious overflow exception on underflow.
65041 2012-04-29  Marek Polacek  <polacek@redhat.com>
65043         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65044         (__fortify_function): New macro.
65045         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65046         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65047         __extern_always_inline.
65048         * libio/bits/stdio2.h: Likewise.
65049         * libio/bits/stdio.h: Likewise.
65050         * string/string.h: Likewise.
65051         * string/bits/string3.h: Likewise.
65052         * include/stdio.h: Likewise.
65053         * stdlib/bits/stdlib.h: Likewise.
65054         * stdlib/stdlib.h: Likewise.
65055         * rt/bits/mqueue2.h: Likewise.
65056         * rt/mqueue.h: Likewise.
65057         * posix/bits/unistd.h: Likewise.
65058         * posix/unistd.h: Likewise.
65059         * io/bits/poll2.h: Likewise.
65060         * io/bits/fcntl2.h: Likewise.
65061         * io/fcntl.h: Likewise.
65062         * io/sys/poll.h: Likewise.
65063         * misc/bits/syslog.h: Likewise.
65064         * misc/bits/syslog-ldbl.h: Likewise.
65065         * misc/sys/syslog.h: Likewise.
65066         * socket/bits/socket2.h: Likewise.
65067         * socket/sys/socket.h: Likewise.
65068         * debug/tst-chk1.c: Likewise.
65069         * wcsmbs/bits/wchar2.h: Likewise.
65070         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65071         * wcsmbs/wchar.h: Likewise.
65073 2012-04-29  Andreas Jaeger  <aj@suse.de>
65075         * Makerules (tests): Remove enable-check-abi protection.
65076         (check-abi-warn): Remove.
65077         (check-abi-%): Remove check-abi-warn usage.
65079         * configure.in: Remove check-abi configure option.
65080         * configure: Regenerated.
65081         * config.make.in (enable-check-abi): Remove.
65083 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65085         [BZ #14033]
65086         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65087         double functions to double *_finite functions.
65089         [BZ #13941]
65090         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65091         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65092         LDBL_MIN_EXP.
65093         * stdio-common/Makefile (tests): Add tst-sprintf3.
65094         * stdio-common/tst-sprintf3.c: New file.
65096         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65097         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65099 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65101         * conform/conformtest.pl: Remove duplicate typed-constant
65102         handling.
65104 2012-04-28  David S. Miller  <davem@davemloft.net>
65106         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65107         (check-abi-%): Remove AWK script prerequisite and explicit
65108         abilist directory.
65109         (check-abi): Rewrite to just diff the symlist with the abilist.
65110         (config-tls, config-abi-config): Delete, no longer used.
65111         (update-abi-%): Remove AWK script and explicit abilist directory.
65112         (update-abi): Rewrite to simply compare and conditionally copy the
65113         symlist and the sysdep abilist file.  Remove update-abi-config
65114         checks.
65115         * abilist/ld.abilist: Remove.
65116         * abilist/libBrokenLocale.abilist: Remove.
65117         * abilist/libanl.abilist: Remove.
65118         * abilist/libcrypt.abilist: Remove.
65119         * abilist/libdl.abilist: Remove.
65120         * abilist/librt.abilist: Remove.
65121         * abilist/libthread_db.abilist: Remove.
65122         * abilist/libutil.abilist: Remove.
65123         * scripts/extract-abilist.awk: Remove.
65124         * scripts/merge-abilist.awk: Remove.
65125         * sysdeps/generic/libcidn.abilist: New file.
65126         * sysdeps/generic/libnss_compat.abilist: New file.
65127         * sysdeps/generic/libnss_db.abilist: New file.
65128         * sysdeps/generic/libnss_dns.abilist: New file.
65129         * sysdeps/generic/libnss_files.abilist: New file.
65130         * sysdeps/generic/libnss_hesiod.abilist: New file.
65131         * sysdeps/generic/libnss_nis.abilist: New file.
65132         * sysdeps/generic/libnss_nisplus.abilist: New file.
65133         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65134         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65135         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65136         file.
65137         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65138         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65139         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65140         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65141         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65142         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65143         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65144         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65145         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65146         file.
65147         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65148         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65149         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65150         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65151         file.
65152         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65153         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65154         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65155         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65156         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65157         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65158         file.
65159         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65160         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65161         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65162         file.
65163         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65165         New file.
65166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65167         New file.
65168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65169         New file.
65170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65171         New file.
65172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65173         New file.
65174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65175         New file.
65176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65177         New file.
65178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65179         New file.
65180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65181         New file.
65182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65183         New file.
65184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65185         New file.
65186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65187         New file.
65188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65189         New file.
65190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65191         file.
65192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65193         New file.
65194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65195         New file.
65196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65197         file.
65198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65199         New file.
65200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65201         New file.
65202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65203         file.
65204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65205         New file.
65206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65207         New file.
65208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65209         New file.
65210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65211         New file.
65212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65213         New file.
65214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65215         New file.
65216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65218         file.
65219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65220         New file.
65221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65222         file.
65223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65224         file.
65225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65226         file.
65227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65228         file.
65229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65230         file.
65231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65232         New file.
65233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65234         file.
65235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65236         file.
65237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65238         New file.
65239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65240         file.
65241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65243         file.
65244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65245         New file.
65246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65247         file.
65248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65249         file.
65250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65251         file.
65252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65253         file.
65254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65255         file.
65256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65257         New file.
65258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65259         file.
65260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65261         file.
65262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65263         New file.
65264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65265         file.
65266         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65267         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65268         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65269         file.
65270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65271         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65272         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65273         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65274         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65275         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65276         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65277         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65278         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65279         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65282         file.
65283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65284         New file.
65285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65286         file.
65287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65288         file.
65289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65290         file.
65291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65292         file.
65293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65294         file.
65295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65296         New file.
65297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65298         New file.
65299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65300         file.
65301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65302         New file.
65303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65304         file.
65305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65307         file.
65308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65309         New file.
65310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65311         file.
65312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65313         file.
65314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65315         file.
65316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65317         file.
65318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65319         file.
65320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65321         New file.
65322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65323         New file.
65324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65325         file.
65326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65327         New file.
65328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65329         file.
65331 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65333         * conform/conformtest.pl: Fix typo in handling typed-constant from
65334         allow-header.
65336 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65338         * README: Cut down references to pre-2.6 Linux kernels and
65339         Linuxthreads.  Update lists of configurations in libc and ports
65340         and sort alphabetically.  Say "or newer" with Linux kernel version
65341         requirements.
65343         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65345 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65347         [BZ #887]
65348         * math/libm-test.inc (logb_test_downward): New test to expose
65349         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65350         rounding mode.
65352 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65354         [BZ #14027]
65355         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65356         to be done.
65357         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65358         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65360 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65362         * sysdeps/unix/i386/brk.S: Remove file.
65363         * sysdeps/unix/i386/dl-brk.S: Likewise.
65364         * sysdeps/unix/i386/pipe.S: Likewise.
65365         * sysdeps/unix/i386/sigreturn.S: Likewise.
65366         * sysdeps/unix/i386/syscall.S: Likewise.
65367         * sysdeps/unix/i386/vfork.S: Likewise.
65368         * sysdeps/unix/i386/wait.S: Likewise.
65370         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65371         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65373         * configure.in (arm*-none*): Do not allow without
65374         --enable-hacker-mode.
65375         (netbsd*): Remove case setting base_os.
65376         (386bsd*): Likewise.
65377         (freebsd*): Likewise.
65378         (bsdi*): Likewise.
65379         (osf*): Likewise.
65380         (sunos*): Likewise.
65381         (ultrix*): Likewise.
65382         (newsos*): Likewise.
65383         (dynix*): Likewise.
65384         (*bsd*): Likewise.
65385         (sysv*): Likewise.
65386         (isc*): Likewise.
65387         (esix*): Likewise.
65388         (sco*): Likewise.
65389         (minix*): Likewise.
65390         (irix4*): Likewise.
65391         (irix6*): Likewise.
65392         (solaris[2-9]*): Likewise.
65393         (none): Likewise.
65394         * configure: Regenerated.
65396 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65398         [BZ #11521]
65399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65400         overflow or cancellation in calculating denominator.
65401         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65403         down expression to avoid unexpected rounding in newer GCCs.
65404         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65406 2012-04-26  David S. Miller  <davem@davemloft.net>
65408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65409         long-double compat symbols.
65410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65424 2012-04-25  David S. Miller  <davem@davemloft.net>
65426         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65427         HWCAP_* values only after the memory barriers have been defined.
65428         (atomic_full_barrier): Define.
65429         (atomic_read_barrier): Define.
65430         (atomic_write_barrier): Define.
65432 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65434         * shlib-versions: Add libgcc_s version information.
65435         * sysdeps/generic/libgcc_s.h: Remove.
65436         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65437         libgcc_s.h.
65438         * sysdeps/gnu/unwind-resume.c: Likewise.
65439         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65441 2012-04-25  David S. Miller  <davem@davemloft.net>
65443         * sysdeps/unix/sparc/brk.S: Delete.
65444         * sysdeps/unix/sparc/dl-brk.S: Delete.
65445         * sysdeps/unix/sparc/pipe.S: Delete.
65446         * sysdeps/unix/sparc/sysdep.S: Delete.
65447         * sysdeps/unix/sparc/sysdep.h: Delete.
65448         * sysdeps/unix/sparc/vfork.S: Delete.
65449         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65450         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65451         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65452         (ret_ERRVAL, r0, r1, MOVE): Define.
65453         (JUMPTARGET): Remove.
65454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65455         sysdeps/unix/sparc/sysdep.h
65456         (ENTRY, END): Remove.
65457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65459 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65461         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65462         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65463         -DIS_IN_build.
65465         * timezone/README: Update upstream location and email address for
65466         tzcode and tzdata.
65467         * timezone/zdump.c: Update from tzcode 2012b.
65468         * timezone/zic.c: Likewise.
65470         * configure.in (libc_cv_as_needed): Remove test.
65471         * configure: Regenerated.
65472         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65473         conditional definition.
65474         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65475         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65476         * config.make.in (have-as-needed): Remove variable.
65478 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65479             Paul Pluzhnikov  <ppluzhnikov@google.com>
65481         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65482         strings correctly.
65484 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65486         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65487         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65488         * sysdeps/sh/strlen.S: Likewise.
65490 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65492         * sysdeps/unix/fork.S: Remove file.
65493         * sysdeps/unix/i386/fork.S: Likewise.
65494         * sysdeps/unix/sparc/fork.S: Likewise.
65496         * sysdeps/unix/system.c: Remove file.
65497         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65499         * sysdeps/unix/getegid.S: Remove file.
65500         * sysdeps/unix/geteuid.S: Likewise.
65502 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65504         * scripts/check-localplt.awk: New file.
65505         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65506         of diff.
65507         * scripts/data/localplt-generic.data: Add a comment.
65509         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65510         NODE when __dir_mkfile failed.
65511         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65512         Reported by Ludovic Courtès <ludo@gnu.org>.
65514 2012-04-24  Andreas Jaeger  <aj@suse.de>
65516         * Makerules (common-clean): Also remove gen-as-const-headers
65517         files.
65519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65521         * Makerules (native-compile): Do not change working directory for
65522         build.  Use $(OUTPUT_OPTION) in command.
65523         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65525 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65527         [BZ #13886]
65528         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65529         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65530         * math/libm-test.inc (floor_test): Add more tests.
65531         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65533 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65535         * sysdeps/unix/getdents.c: Remove file.
65536         * sysdeps/unix/sysv/getdents.c: Likewise.
65537         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65539         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65540         sysdeps/unix/mman/syscalls.list.
65541         (mmap): Likewise.
65542         (mprotect): Likewise.
65543         (msync): Likewise.
65544         (munmap): Likewise.
65545         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65546         * sysdeps/unix/mman/syscalls.list: Remove.
65547         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65549         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65550         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65551         * configure: Regenerated.
65552         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65553         $(libgcc_s_suffix).
65554         * config.make.in (libgcc_s_suffix): Remove variable.
65556 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65558         * sysdeps/unix/sysv/gethostname.c: Move to ...
65559         * sysdeps/posix/gethostname.c: ... here.
65561         * sysdeps/unix/execve.S: Remove file.
65563         * sysdeps/unix/_exit.S: Remove file.
65565 2012-04-23  Andreas Jaeger  <aj@suse.de>
65567         [BZ #13739]
65568         * manual/Makefile: Remove make dist support, there's no
65569         need for a stand-alone documentation tar ball.
65570         (TEXI2DVI): Define always, it's not in Makeconfig.
65571         (dist): Removed.
65572         (tar-it): Removed.
65573         (edition): Removed.
65574         (glibc-doc-$(edition).tar): Removed
65575         (%.Z): Removed.
65576         (%.gz): Removed.
65577         (%.uu): Removed.
65578         (ETAGS): Remove, it's in Makeconfig.
65579         (move-if-change): Remove, it's in Makeconfig.
65581 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65583         [BZ #13970]
65584         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65585         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65586         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65587         (strtod_l, strtof_l, strtold_l): Remove __wur.
65588         It is not necessarily an error to ignore strtol's return value.
65589         One can reliably look at the stored endptr to decide whether
65590         the number had valid syntax.
65592 2012-04-21  Andreas Jaeger  <aj@suse.de>
65594         [BZ #13739]
65595         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65597 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65599         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65600         * sysdeps/unix/sysv/Versions: Remove file.
65602 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65604         [BZ #13927]
65605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65607 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65609         [BZ #7064]
65610         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65611         version from __vm86.
65613 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65615         * sysdeps/unix/common/lxstat.c: Remove file.
65616         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65618         * sysdeps/unix/sysv/Makefile: Remove file.
65620         * sysdeps/unix/sysv/direct.h: Remove file.
65622         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65623         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65624         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65625         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65626         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65627         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65628         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65630         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65632         * sysdeps/unix/xmknod.c: Remove file.
65633         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65635         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65637         * sysdeps/unix/sysv/i386/time.S: Remove file.
65639         * sysdeps/unix/fxstat.c: Remove file.
65640         * sysdeps/unix/xstat.c: Likewise.
65641         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65643         * sysdeps/unix/sysv/sigaction.c: Remove file.
65645         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65646         (sysdep_headers): Remove variable.
65647         [termio.h not in sysdep_headers] (generated): Likewise.
65648         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65649         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65650         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65651         * sysdeps/unix/sysv/tcflow.c: Likewise.
65652         * sysdeps/unix/sysv/tcflush.c: Likewise.
65653         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65654         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65655         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65656         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65657         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65659         * sysdeps/unix/siglist.c: Remove file.
65661         * sysdeps/unix/getppid.S: Remove file.
65663         * sysdeps/unix/mkdir.c: Remove file.
65664         * sysdeps/unix/rmdir.c: Likewise.
65666 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65668         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65669         ERR_MAX value.
65670         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65671         errlist-compat value.
65673 2012-04-18  David S. Miller  <davem@davemloft.net>
65675         * sysdeps/generic/memcopy.h (reg_char): Delete.
65676         * debug/strcat_chk.c: Use char, not reg_char.
65677         * debug/strcpy_chk.c: Likewise.
65678         * debug/strncat_chk.c: Likewise.
65679         * debug/strncpy_chk.c: Likewise.
65680         * string/memchr.c: Likewise.
65681         * string/memrchr.c: Likewise.
65682         * string/rawmemchr.c: Likewise.
65683         * string/strcat.c: Likewise.
65684         * string/strchr.c: Likewise.
65685         * string/strchrnul.c: Likewise.
65686         * string/strcmp.c: Likewise.
65687         * string/strcpy.c: Likewise.
65688         * string/strncat.c: Likewise.
65689         * string/strncmp.c: Likewise.
65690         * string/strncpy.c: Likewise.
65692 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65694         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65695         __builtin_memcopy is called when src and dest ranges are known to not
65696         overlap.
65698 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65700         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65701         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65702         fwd_align_merge macro call.
65703         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65704         bwd_align_merge macro call.
65705         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65707 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65709         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65710         bwd_align_merge macros.
65711         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65712         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65713         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65715 2012-04-18  David S. Miller  <davem@davemloft.net>
65717         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65719 2012-04-18  Andreas Jaeger  <aj@suse.de>
65721         [BZ# 6794]
65722         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65723         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65724         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65726         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65727         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65728         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65730         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65731         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65732         Adjust for changed ldbl-128 files.
65734         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65735         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65736         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65738 2012-04-17  David S. Miller  <davem@davemloft.net>
65740         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65742 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65744         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65745         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65746         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65747         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65748         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65749         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65751 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65753         [BZ #6794]
65754         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65755         * math/libm-test.inc: Add ilogb errno and exception tests.
65756         * math/w_ilogb.c: New file: ilogb wrapper.
65757         * math/w_ilogbf.c: New file: ilogbf wrapper.
65758         * math/w_ilogbl.c: New file: ilogbl wrapper.
65759         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65760         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65761         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65762         exception being thrown with 0.0 as argument.
65763         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65764         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65765         exception being thrown with 0.0 as argument.
65766         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65767         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65768         exception being thrown with 0.0 as argument.
65769         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65770         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65771         exception being thrown with 0.0 as argument.
65772         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65773         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65774         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65775         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65776         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65777         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65778         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65779         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65780         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65782 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65784         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65785         with altivec.
65787 2012-04-16  Marek Polacek  <polacek@redhat.com>
65789         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65791 2012-04-16  Marek Polacek  <polacek@redhat.com>
65793         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65794         operands of fdivp instruction.
65796 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65798         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65799         * elf/tst-auditmod3b.c: Likewise.
65800         * elf/tst-auditmod4b.c: Likewise.
65801         * elf/tst-auditmod5b.c: Likewise.
65802         * elf/tst-auditmod6b.c: Likewise.
65803         * elf/tst-auditmod6c.c: Likewise.
65804         * elf/tst-auditmod7b.c: Likewise.
65805         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65806         * sysdeps/x86_64/preconfigure.in: Likewise.
65807         * sysdeps/x86_64/preconfigure: Regenerated.
65809 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65811         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65812         __ILP32__.
65814 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65817         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65819 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65821         [BZ #13973]
65822         * locale/iso-639.def: Fix gl language name. Spotted by
65823         Yaron Shahrabani.
65825 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65827         [BZ #2074]
65828         * libio/libio.h (__io_write_fn): Update comment.
65830 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65832         [BZ #2074]
65833         * stdio.texi (Hook Functions): The user provided writer function
65834         is not allowed to return -1.
65836 2012-04-11  David S. Miller  <davem@davemloft.net>
65838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65840 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65842         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65843         Add a leading slash to rtkaio.
65845 2012-04-11  Jim Meyering  <meyering@redhat.com>
65847         [BZ #11959]
65848         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65849         It is not necessarily an error to ignore fwrite's return
65850         value.  One can reliably use ferror to test for errors after
65851         the fact.
65853 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65855         * bits/types.h (__snseconds_t): New type.
65856         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65858         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65860         (__SNSECONDS_T_TYPE): Likewise.
65861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65862         (__SNSECONDS_T_TYPE): Likewise.
65863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65864         (__SNSECONDS_T_TYPE): Likewise.
65866 2012-04-10  Andreas Jaeger  <aj@suse.de>
65868         [BZ #2636]
65869         * manual/time.texi (Processor Time): Return type of times is
65870         elapsed real time since an arbitrary point in the past.
65871         (CPU Time): Move CLK_TCK from here...
65872         (Processor Time): ...to here.  Correct description.
65873         * manual/conf.texi (Constants for Sysconf): Correct description of
65874         _SC_CLK_TCK.
65876 2012-04-10  David S. Miller  <davem@davemloft.net>
65878         [BZ #13967]
65879         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65880         where the is a gap between DT_REL(A) and DT_JMPREL.
65882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65884         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65885         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65886         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65888 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65890         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65891         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65892         (dl_main): Handle --inhibit-cache.
65893         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65894         _dl_inhibit_cache.
65895         * elf/dl-load.c (_dl_map_object): Use it.
65896         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65898 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65900         [BZ #13872]
65901         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65902         (__ieee754_powl): Saturate large exponents rather than testing for
65903         overflow of y*log2(x).
65904         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65905         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65906         exceptions.
65908         [BZ #11521]
65909         * math/s_ctan.c: Include <float.h>.
65910         (__ctan): Avoid internal overflow or cancellation in calculating
65911         denominator.
65912         * math/s_ctanf.c: Likewise.
65913         * math/s_ctanl.c: Likewise.
65914         * math/s_ctanh.c: Likewise.
65915         * math/s_ctanhf.c: Likewise.
65916         * math/s_ctanhl.c: Likewise.
65917         * math/libm-test.inc (ctan_test): Add more tests.
65918         (ctanh_test): Likewise.
65919         * sysdeps/i386/fpu/libm-test-ulps: Update.
65920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65922 2012-04-09  Andreas Jaeger  <aj@suse.de>
65924         [BZ #6894]
65925         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65926         is an optional BSD extension.
65928         [BZ #10254]
65929         * manual/stdio.texi (Opening Streams): Document additional fopen
65930         parameters.
65932 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65934         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65935         %eax without telling the compiler.
65937 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65939         [BZ # 13963]
65940         * manual/install.texi: Use sourceware.org.
65942 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65944         [BZ #13873]
65945         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65946         (__ieee754_pow): Generate overflow and underflow using huge*huge
65947         and tiny*tiny rather than just returning constant infinity or zero
65948         for large exponents.
65949         * math/libm-test.inc (pow_test): Require overflow exceptions for
65950         applicable cases of large exponents.
65952         [BZ #706]
65953         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65954         (__ieee754_pow): Use iterative multiplication algorithm only for
65955         integer exponents with absolute value below 1024.  Check for odd
65956         integer exponents when using algorithm for real exponents.
65957         * math/libm-test.inc (pow_test): Add more tests.
65958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65960 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65962         [BZ #13705]
65963         * math/libm-test.inc (exp_test): Do not allow overflow exception
65964         on underflow test.
65966 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65968         [BZ #13705]
65969         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65970         instead of __kernel_standard_f.
65972 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65974         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65975         * sysdeps/x86_64/memset_chk.S: Likewise.
65977 2012-04-08  Andreas Jaeger  <aj@suse.de>
65979         [BZ #10153]
65980         * manual/startup.texi (Environment Access): Describe return value
65981         for putenv and setenv.
65983         [BZ #6895]
65984         * manual/filesys.texi (Directory Entries): Add description for
65985         DT_LNK.
65987         [BZ #6890]
65988         * manual/filesys.texi (Directory Entries): Clarify that it's file
65989         system not operating system in the description of DT_UNKNOWN.
65991         [BZ #6578]
65992         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65994 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65996         [BZ #6649]
65997         * manual/llio.texi (Opening and Closing Files): Add cross
65998         reference to explain mode argument.
66000 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66002         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66003         * sysdeps/x86_64/memset_chk.S: Likewise.
66005 2012-04-07  David S. Miller  <davem@davemloft.net>
66007         * elf/elf.h (R_SPARC_WDISP10): Define.
66008         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66009         R_SPARC_SIZE32.
66010         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66011         R_SPARC_SIZE64 and R_SPARC_H34.
66013 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66016         conditions and remove no longer applicable assertion.
66018 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66020         * bits/byteswap.h: Include <features.h>.
66021         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66022         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66024 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66026         * bits/byteswap.h (__bswap_16): Removed.
66027         Include <bits/byteswap-16.h> to get __bswap_16.
66028         * sysdeps/i386/bits/byteswap.h: Likewise.
66029         * sysdeps/s390/bits/byteswap.h: Likewise.
66030         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66031         * bits/byteswap-16.h: New file.
66032         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66033         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66034         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66035         * string/Makefile (headers): Add bits/byteswap-16.h.
66037 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66039         [BZ #13895]
66040         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66041         extra indirection.
66042         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66043         * nss/tst-nss-static.c: New.
66045 2012-04-06  Robert Millan  <rmh@gnu.org>
66047         [BZ #6486]
66048         * manual/llio.texi (File Position Primitive): lseek
66049         refers to WHENCE when it really means OFFSET.
66051 2012-04-06  Andreas Jaeger  <aj@suse.de>
66053         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66054         strncmp declarations.
66056         * abilist/libc.abilist: Add __poll and __ppoll.
66058 2012-04-05  David S. Miller  <davem@davemloft.net>
66060         * scripts/check-local-headers.sh: Accept a host triplet in the
66061         path matched by the exclude regexp.
66063         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66064         definition.
66065         * sysdeps/powerpc/powerpc32/dl-machine.h
66066         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66067         * sysdeps/s390/s390-32/dl-machine.h
66068         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66069         * sysdeps/sparc/sparc32/dl-machine.h
66070         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66071         * sysdeps/sparc/sparc64/dl-machine.h
66072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66074         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66075         lazy binding.
66076         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66077         undefined symbol errors.
66079         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66080         DT_NEEDED entries.
66082 2012-04-05  Michael Matz  <matz@suse.de>
66084         [BZ #13592]
66085         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66087 2012-04-05  Andreas Jaeger  <aj@suse.de>
66089         [BZ #13908]
66090         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66091         comment.
66093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66095         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66096         which ROUND is no valid rounding mode.
66098 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66100         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66101         read again.
66102         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66106         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66107         an exception using FPU order intentionally.
66109 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66111         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66112         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66113         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66114         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66116 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66118         [BZ #12340]
66119         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66120         EINVAL when BUFLEN is too smal.
66122 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66124         [BZ #13553]
66125         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66126         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66128 2012-04-03  Andreas Jaeger  <aj@suse.de>
66130         [BZ #13938]
66131         * manual/setjmp.texi (System V contexts): Fix sentence.
66133         [BZ #13926]
66134         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66135         New macro for this case.
66136         [!__GNUC__] (__bswap_64): New inline function for this case.
66137         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66138         * bits/byteswap.h: Likewise.
66139         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66140         ull, guard with __GLIBC_HAVE_LONG_LONG.
66142         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66143         __GLIBC_HAVE_LONG_LONG.
66145         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66146         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66148 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66150         [BZ #13691]
66151         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66152         inptr and inend, rather than using last_ch.
66154 2012-04-02  David S. Miller  <davem@davemloft.net>
66156         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66157         * stdio-common/printf-parse.h (read_int): Change return type to
66158         'int', return -1 on INT_MAX overflow.
66159         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66160         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66161         overflows INT_MAX.  Check for overflow of in-format-string precision
66162         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66163         SIZE_MAX not INT_MAX for integer overflow test.
66164         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66165         skip the construct in the format string but do not record anything.
66166         * stdio-common/bug22.c: Adjust to test both width/prevision
66167         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66168         explicitly for proper errno values.
66170 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66172         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66173         CHAR_MAX.
66174         * string/test-strcmp.c [! WIDE]: Likewise.
66175         * time/tst-mktime2.c: Likewise for INT_MAX.
66176         * string/test-string.h: #include <sys/param.h> for MIN.
66178         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66179         * sysdeps/i386/init-first.c (init): Likewise.
66180         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66181         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66182         * sysdeps/sh/init-first.c (init): Likewise.
66184 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66186         * po/ru.po: Update from translation team.
66187         * po/vi.po: Likewise.
66189 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66191         * resolv/nss_dns/dns-host.c: Merge copyright years.
66193 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66195         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66196         Optimize memcpy with prefetch if
66197         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66198         src, dst pointers have unequal 16 byte alignments.
66200 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66202         [BZ #13928]
66203         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66204         from a CNAME entry and return the minimum ttl for the query.
66205         (gaih_getanswer_slice): Likewise.
66207 2012-03-30  Jeff Law  <law@redhat.com>
66209         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66210         due to long keys.
66211         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66212         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66214         * resolv/nss_dns/dns-host.c: Update copyright year.
66216 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66218         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66219         requests to save a system call.  Fix check that all bytes are sent.
66221         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66222         comments for sendmmsg.
66224 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66226         [BZ #13691]
66227         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66228         with only 1 character between 0x0041 and 0x01b0.
66229         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66230         * wcsmbs/tst-mbsnrtowcs.c: New file.
66232 2012-03-29  David S. Miller  <davem@davemloft.net>
66234         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66235         small copies by hand.
66237 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66239         [BZ #13761]
66240         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66241         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66242         group memberships.
66244 2012-03-28  David S. Miller  <davem@davemloft.net>
66246         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66247         that branches into memcpy.
66248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66250         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66251         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66253         bits.
66254         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66255         implementation too.
66256         * sysdeps/sparc/mempcpy.S: New file.
66258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66259         the IFUNC routine in the libc case.
66260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66262         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66263         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66264         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66265         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66266         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66267         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66268         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66269         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66271         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66272         loop to 256 bytes instead of 64 bytes and fix test signedness.
66274         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66275         * sysdeps/sparc/sparc32/Makefile: rather than here...
66276         * sysdeps/sparc/sparc64/Makefile: and here.
66278 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66280         * malloc/mallocbug.c: Avoid warnings about unused variables.
66282 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66284         [BZ #13760]
66285         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66286         in the right place. Discard and retry query if response is
66287         larger than input buffer size.
66289 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66291         [BZ #369]
66292         [BZ #2678]
66293         [BZ #3866]
66294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66295         x for large integer exponent.
66296         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66297         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66298         sign of result as needed afterwards.
66299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66300         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66301         result for underflowing pow the same as for overflow.
66302         (__kernel_standard_l): Handle powl overflow and underflow here
66303         rather than calling __kernel_standard.
66304         * math/libm-test.inc (pow_test): Add more tests.
66306         [BZ #3868]
66307         [BZ #13879]
66308         [BZ #13910]
66309         [BZ #13911]
66310         [BZ #13912]
66311         [BZ #13913]
66312         [BZ #13915]
66313         [BZ #13916]
66314         [BZ #13917]
66315         [BZ #13918]
66316         [BZ #13919]
66317         [BZ #13920]
66318         [BZ #13921]
66319         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66320         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66321         (__kernel_standard_l): New function.
66322         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66323         __kernel_standard.
66324         * math/w_acosl.c (__acosl): Likewise.
66325         * math/w_asinl.c (__asinl): Likewise.
66326         * math/w_atan2l.c (__atan2l): Likewise.
66327         * math/w_atanhl.c (__atanhl): Likewise.
66328         * math/w_coshl.c (__coshl): Likewise.
66329         * math/w_exp10l.c (__exp10l): Likewise.
66330         * math/w_exp2l.c (__exp2l): Likewise.
66331         * math/w_fmodl.c (__fmodl): Likewise.
66332         * math/w_hypotl.c (__hypotl): Likewise.
66333         * math/w_j0l.c (__j0l, __y0l): Likewise.
66334         * math/w_j1l.c (__j1l, __y1l): Likewise.
66335         * math/w_jnl.c (__jnl, __ynl): Likewise.
66336         * math/w_lgammal.c (__lgammal): Likewise.
66337         * math/w_log10l.c (__log10l): Likewise.
66338         * math/w_log2l.c (__log2l): Likewise.
66339         * math/w_logl.c (__logl): Likewise.
66340         * math/w_powl.c (__powl): Likewise.
66341         * math/w_remainderl.c (__remainderl): Likewise.
66342         * math/w_scalbl.c (sysv_scalbl): Likewise.
66343         * math/w_sinhl.c (__sinhl): Likewise.
66344         * math/w_sqrtl.c (__sqrtl): Likewise.
66345         * math/w_tgammal.c (__tgammal): Likewise.
66346         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66347         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66348         * math/libm-test.inc (acos_test): Add more tests.
66349         (acosh_test): Likewise.
66350         (asin_test): Likewise.
66351         (atanh_test): Likewise.
66352         (exp_test): Likewise.
66353         (exp10_test): Likewise.
66354         (exp2_test): Likewise.
66355         (expm1_test): Likewise.
66356         (lgamma_test): Likewise.
66357         (log_test): Likewise.
66358         (log10_test): Likewise.
66359         (log1p_test): Likewise.
66360         (log2_test): Likewise.
66361         (pow_test): Do not allow some spurious overflow exceptions.
66362         (sqrt_test): Add more tests.
66363         (tgamma_test): Likewise.
66364         (y0_test): Likewise.
66365         (y1_test): Likewise.
66366         (yn_test): Likewise.
66368 2012-03-27  Anton Blanchard  <anton@samba.org>
66370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66371         MAP_HUGETLB.
66372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66373         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66374         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66376 2012-03-27  David S. Miller  <davem@davemloft.net>
66378         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66380         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66381         have-as-vis3 check.
66383 2012-03-27  Andreas Jaeger  <aj@suse.de>
66385         * sysdeps/x86_64/elf/configure.in: Moved to ...
66386         * sysdeps/x86_64/configure.in: ... here.
66387         * sysdeps/x86_64/elf/start.S: Moved to ...
66388         * sysdeps/x86_64/start.S: ... here.
66389         * sysdeps/x86_64/elf/configure: Delete.
66391         * sysdeps/x86_64/configure.in: Merge contents from
66392         sysdeps/i386/configure.in (without i686 check).
66394         * sysdeps/i386/elf/Versions: Merge into ...
66395         * sysdeps/i386/Versions: ... this.
66396         * sysdeps/i386/elf/Versions: Delete file.
66397         * sysdeps/i386/elf/start.S: Moved to ...
66398         * sysdeps/i386/start.S: ...here.
66399         * sysdeps/i386/elf/configure.in: Merge into...
66400         * sysdeps/i386/configure.in: ...here.
66401         * sysdeps/i386/elf/configure.in: Delete file.
66402         * sysdeps/i386/elf/configure: Delete file.
66404         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66405         * debug/backtracesyms.c: ... here.
66406         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66407         * debug/backtracesymsfd.c: ... here.
66408         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66409         * sysdeps/generic/ifunc-sel.h: ... here.
66411         * sysdeps/unix/i386/start.c: Delete file.
66412         * sysdeps/unix/sparc/start.c: Delete file.
66413         * sysdeps/unix/start.c: Delete file.
66415         * sysdeps/sh/elf/configure.in: Moved to ...
66416         * sysdeps/sh/configure.in: ... here.
66417         * sysdeps/sh/elf/start.S: Moved to ...
66418         * sysdeps/sh/start.S: ... here.
66419         * sysdeps/sh/elf/configure: Delete file.
66421         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66422         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66423         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66424         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66425         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66426         * sysdeps/powerpc/powerpc64/start.S: here.
66427         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66428         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66429         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66430         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66431         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66433         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66434         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66435         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66436         * sysdeps/powerpc/powerpc32/start.S: ... here.
66437         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66438         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66439         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66441         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66442         * sysdeps/powerpc/ifunc-sel.h: ... here.
66443         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66444         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66446         * sysdeps/sparc/elf/configure.in: Moved to ...
66447         * sysdeps/sparc/configure.in: ... here.
66448         * sysdeps/sparc/elf/configure: Delete file.
66449         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66450         * sysdeps/sparc/sparc32/start.S: ... here.
66451         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66452         * sysdeps/sparc/sparc64/start.S: ... here.
66453         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66454         * sysdeps/sparc/sparc32/Makefile: ... this.
66455         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66456         * sysdeps/sparc/sparc64/Makefile: ... this.
66458         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66459         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66460         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66461         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66462         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66463         * sysdeps/s390/s390-32/setjmp.S: ... here.
66464         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66465         * sysdeps/s390/s390-32/configure.in: ... here.
66466         * sysdeps/s390/s390-32/elf/configure: Delete file.
66467         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66468         * sysdeps/s390/s390-32/start.S: ... here.
66470         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66471         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66472         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66473         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66474         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66475         * sysdeps/s390/s390-64/setjmp.S: ... here.
66476         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66477         * sysdeps/s390/s390-64/configure.in: ... here
66478         * sysdeps/s390/s390-64/elf/configure: Delete file.
66479         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66480         * sysdeps/s390/s390-64/start.S: ... here.
66481         * sysdeps/s390/s390-64/elf/configure: Delete.
66483         * configure.in: Remove support for elf directories in sysdeps.
66485         * configure: Regenerated.
66486         * sysdeps/i386/configure: Regenerated.
66487         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66488         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66489         * sysdeps/s390/s390-32/configure: Regenerated.
66490         * sysdeps/s390/s390-64/configure: Regenerated.
66491         * sysdeps/sh/configure: Regenerated.
66492         * sysdeps/sparc/configure: Regenerated.
66493         * sysdeps/x86_64/configure: Regenerated.
66495 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66500         denormal result into account.
66502 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66504         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66505         Reported by Allan McRae <allan@archlinux.org>.
66507 2012-03-23  Jeff Law  <law@redhat.com>
66509         * nss/getnssent.c (__nss_getent): Fix typo.
66511 2012-03-23  David S. Miller  <davem@davemloft.net>
66513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66515 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66517         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66518         to pad to uint64_t for each field.
66519         (dl_tls_index): Replace unsigned long with uint64_t.
66521 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66522         Paul Pluzhnikov  <ppluzhnikov@google.com>
66524         [BZ #6528]
66525         * grp/Makefile (otherlibs): Don't set it.
66526         * inet/Makefile (otherlibs): Likewise.
66527         * login/Makefile (otherlibs): Likewise.
66528         * nscd/Makefile (otherlibs): Likewise.
66529         * posix/Makefile (otherlibs): Likewise.
66530         * pwd/Makefile (otherlibs): Likewise.
66531         * rt/Makefile (otherlibs): Likewise.
66532         * sunrpc/Makefile (otherlibs): Likewise.
66533         * nss/Makefile (otherlibs): Likewise.
66534         Add libnss_files to routines and static-only-routines.
66535         ($(objpfx)getent): Remove rule.
66536         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66537         static-only-routines.
66539 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66541         [BZ #13892]
66542         * math/s_cexp.c: Include <float.h>.
66543         (__cexp): Handle exp result overflowing not necessarily
66544         overflowing both real and imaginary parts of result.
66545         * math/s_cexpf.c: Likewise.
66546         * math/s_cexpl.c: Likewise.
66547         * math/libm-test.inc (cexp_test): Add more tests.
66548         * sysdeps/i386/fpu/libm-test-ulps: Update.
66549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66551 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66553         * include/link.h (ELFW): New macro.
66554         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66555         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66559         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66560         with uint64_t.
66562 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66564         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66565         declaration.
66566         (struct La_x32_retval): Likewise.
66568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66570         * sysdeps/x86_64/preconfigure.in: New file.
66571         * sysdeps/x86_64/preconfigure: New generated file.
66573 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66575         [BZ #13824]
66576         * math/e_exp2l.c: Include <float.h>.
66577         (__ieee754_exp2l): Handle overflow and underflow cases
66578         separately.  Only pass fractional part of argument to
66579         __ieee754_expl.
66580         * math/libm-test.inc (exp2_test): Add more tests.
66582         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66583         negating x to take absolute value.
66584         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66585         Likewise.
66586         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66587         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66588         Likewise.
66589         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66590         computing low part if x was negated.
66591         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66593 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66595         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66596         la_x32_gnu_pltexit.
66597         (pltexit): Cast int_retval to ptrdiff_t.
66598         * elf/tst-auditmod3b.c: Likewise.
66599         * elf/tst-auditmod4b.c: Likewise.
66600         * elf/tst-auditmod5b.c: Likewise.
66601         * elf/tst-auditmod6b.c: Likewise.
66602         * elf/tst-auditmod6c.c: Likewise.
66603         * elf/tst-auditmod7b.c: Likewise.
66605         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66606         and x32_gnu_pltexit.
66608         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66609         __ELF_NATIVE_CLASS.
66610         (La_x32_regs): New macro.
66611         (La_x32_retval): Likewise.
66612         (la_x32_gnu_pltenter): New function prototype.
66613         (la_x32_gnu_pltexit): Likewise.
66615 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66617         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66618         exponent.
66620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66622         * configure.in (libc_cv_cc_nofma): Check for option to disable
66623         generation of FMA instructions.
66624         * configure: Regenerate.
66625         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66626         * sysdeps/ieee754/dbl-64/Makefile: New file.
66627         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66628         Remove brandred-fma4.
66629         (CFLAGS-brandred-fma4.c): Remove.
66630         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66631         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66632         define.
66633         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66634         define.
66636 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66638         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66639         LLONG_MAX != LONG_MAX.
66640         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66641         (_fitoa_word): Likewise.
66642         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66643         LLONG_MAX != LONG_MAX.
66644         * stdio-common/_itowa.h: Include <_itoa.h>.
66645         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66646         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66647         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66648         only if not defined.
66649         (_ITOA_WORD_TYPE): Likewise.
66650         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66651         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66653 2012-03-21  David S. Miller  <davem@davemloft.net>
66655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66657 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66659         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66660         of x86_64 when setting libc_cv_slibdir, libdir and
66661         libc_cv_localedir.
66662         * sysdeps/unix/sysv/linux/configure: Regenerated.
66664 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66666         * manual/lang.texi (Old Varargs): Remove section.
66667         (How Variadic): Update menu.
66668         (va_start): Do not mention varargs.h.
66670 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66671             Joseph Myers  <joseph@codesourcery.com>
66673         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66674         link test.
66675         * configure: Regenerated.
66677 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66679         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66680         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66681         conformtest.pl
66683 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66685         * NOTES: Remove.
66686         * Makefile (files-for-dist): Remove NOTES.
66687         (NOTES): Remove rule.
66688         * README: Don't refer to NOTES.
66689         * manual/creature.texi: Don't include macros.texi.
66690         * manual/intro.texi (creature.texi): Remove comment referring to
66691         NOTES.
66693         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66694         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66695         * configure: Regenerated.
66696         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66697         LIBC_TRY_CC_OPTION.
66698         (libc_cv_as_i686): Likewise.
66699         (libc_cv_cc_avx): Likewise.
66700         (libc_cv_cc_sse2avx): Likewise.
66701         (libc_cv_cc_fma4): Likewise.
66702         (libc_cv_cc_novzeroupper): Likewise.
66703         * sysdeps/i386/configure: Regenerated.
66705         [BZ #13883]
66706         * sysdeps/i386/fpu/s_cexp.S: Remove.
66707         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66708         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66709         * math/libm-test.inc (cexp_test): Add more tests.
66710         * sysdeps/i386/fpu/libm-test-ulps: Update.
66711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66713 2012-03-21  Allan McRae  <allan@archlinux.org>
66715         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66717 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66719         [BZ #13871]
66720         * math/w_exp2.c: Do not include <float.h>.
66721         (o_threshold, u_threshold): Remove.
66722         (__exp2): Calculate result before checking finiteness and calling
66723         __kernel_standard.
66724         * math/w_exp2f.c: Likewise.
66725         * math/w_exp2l.c: Likewise.
66726         * math/libm-test.inc (exp2_test): Require overflow exception for
66727         1e6 input.
66729         [BZ #3866]
66730         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66731         range of signed 64-bit integers before using fistpll.  Remove
66732         checks for whether integers fit in mantissa bits.
66733         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66734         the range of signed 32-bit integers before using fistpl.  Remove
66735         checks for whether integers fit in mantissa bits.
66736         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66737         (__ieee754_powl): Test for y outside the range of signed 64-bit
66738         integers before using fistpll.  Reduce 64-bit values to 63-bit
66739         ones as needed.
66740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66741         divide-by-zero is raised for zero to large negative powers.
66742         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66743         (__ieee754_powl): Test for y outside the range of signed 64-bit
66744         integers before using fistpll.  Reduce 64-bit values to 63-bit
66745         ones as needed.
66746         * math/libm-test.inc (pow_test): Add more tests.
66748 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66750         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66751         <stdio-common/_itoa.h>.
66752         * debug/segfault.c: Likewise.
66753         * elf/dl-cache.c: Likewise.
66754         * elf/dl-minimal.c: Likewise.
66755         * elf/dl-misc.c: Likewise.
66756         * elf/dl-sysdep.c: Likewise.
66757         * elf/dl-version.c: Likewise.
66758         * elf/rtld.c: Likewise.
66759         * hurd/hurdsock.c: Likewise.
66760         * hurd/lookup-retry.c: Likewise.
66761         * malloc/malloc.c: Likewise.
66762         * malloc/mtrace.c: Likewise.
66763         * nscd/nscd_getgr_r.c: Likewise.
66764         * nscd/nscd_getpw_r.c: Likewise.
66765         * nscd/nscd_getserv_r.c: Likewise.
66766         * posix/getopt_init.c: Likewise.
66767         * posix/wordexp.c: Likewise.
66768         * stdio-common/_itoa.c: Likewise.
66769         * stdio-common/printf_fphex.c: Likewise.
66770         * stdio-common/vfprintf.c: Likewise.
66771         * string/_strerror.c: Likewise.
66772         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66773         * sysdeps/i386/i686/hp-timing.h: Likewise.
66774         * sysdeps/mach/_strerror.c: Likewise.
66775         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66776         * sysdeps/mach/hurd/sethostid.c: Likewise.
66777         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66778         * sysdeps/mach/xpg-strerror.c: Likewise.
66779         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66780         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66781         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66782         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66783         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66784         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66786         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66787         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66788         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66789         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66790         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66791         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66792         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66793         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66794         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66795         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66796         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66797         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66798         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66799         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66801         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66803         * stdio-common/_itoa.h: Moved to ...
66804         * sysdeps/generic/_itoa.h: Here.
66806         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66808         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66809         instead of "_itoa.h" and "_itowa.h".
66810         * stdio-common/vfprintf.: Likewise.
66812 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66814         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66815         <bits/wordsize.h>.
66816         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66817         (__signbit): Likwise.
66818         (llrintf): Likwise.
66819         (llrint): Likwise.
66821 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66823         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66824         __WORDSIZE != 64.
66826 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66828         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66829         OVERFLOW_EXCEPTION_OK.
66830         * math/libm-test.inc ("Philosophy"): Update comment about
66831         exception testing.
66832         (OVERFLOW_EXCEPTION): Define.
66833         (OVERFLOW_EXCEPTION_OK): Likewise.
66834         (INVALID_EXCEPTION_OK): Renumber.
66835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66836         (IGNORE_ZERO_INF_SIGN): Likewise.
66837         (test_exceptions): Handle FE_OVERFLOW.
66838         (exp10_test): Expect overflow exceptions.
66839         (exp2_test): Likewise.
66840         (expm1_test): Likewise.
66841         (nextafter_test): Likewise.
66842         (pow_test): Likewise.
66843         (scalbn_test): Likewise.
66844         (scalbln_test): Likewise.
66846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66848         * sysdeps/x86_64/bits/atomic.h
66849         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66850         64bit integer.
66851         (atomic_exchange_acq): Likewise.
66852         (__arch_exchange_and_add_body): Likewise.
66853         (__arch_add_body): Likewise.
66854         (atomic_add_negative): Likewise.
66855         (atomic_add_zero): Likewise.
66857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66859         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66860         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66864         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66865         Check __x86_64__ instead of __WORDSIZE.
66867 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66869         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66871 2012-03-19  David S. Miller  <davem@davemloft.net>
66873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66875         * sysdeps/sparc/fpu/fenv_private.h: New file.
66876         * sysdeps/sparc/fpu/math_private.h: Use it.
66877         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66878         Remove.
66879         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66880         (libc_feholdexcept_setroundl): Remove.
66881         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66882         Remove.
66883         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66884         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66888         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66889         int64_t instead of long int.
66890         (INSERT_WORDS64): Likwise.
66892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66894         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66895         _Unwind_GetCFA return to _Unwind_Ptr first.
66897 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66899         [BZ #13629]
66900         * math/s_clog.c: Include <float.h>.
66901         (__clog): Scale large or subnormal inputs.
66902         * math/s_clogf.c: Likewise.
66903         * math/s_clogl.c: Likewise.
66904         * math/s_clog10.c: Include <float.h>.
66905         (M_LOG10_2): Define.
66906         (__clog10): Scale large or subnormal inputs.
66907         * math/s_clog10f.c: Likewise.
66908         * math/s_clog10l.c: Likewise.
66909         * math/libm-test.inc (clog_test): Add more tests.
66910         (clog10_test): Likewise.
66911         * sysdeps/i386/fpu/libm-test-ulps: Update.
66912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66914         [BZ #11451]
66915         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66916         x and y.
66917         * math/libm-test.inc (atan2_test): Add another test.
66919         * Makerules (common-objdir-compile): Remove.
66920         * sysdeps/unix/Makefile (config-generated): Do not add
66921         $(unix-generated) to variable.
66922         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66923         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66924         Remove rule.
66925         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66926         Likewise.
66927         [generic bits/local_lim.h] (before-compile): Do not append to
66928         variable.
66929         [generic bits/local_lim.h] (common-generated): Likewise.
66930         [generic sys/param.h] (before-compile): Do not append to variable.
66931         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66932         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66933         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66934         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66935         include.
66936         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66937         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66938         [generic sys/param.h] ($(addprefix
66939         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66940         [generic sys/param.h] (common-generated): Do not append to
66941         variable.
66942         [generic sys/param.h] (sysdep_headers): Likewise.
66943         [generic bits/errno.h] (before-compile): Do not append to
66944         variable.
66945         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66946         rule.
66947         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66948         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66949         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66950         [generic bits/errno.h] (common-generated): Do not append to
66951         variable.
66952         [generic bits/ioctls.h] (before-compile): Do not append to
66953         variable.
66954         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66955         rule.
66956         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66957         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66958         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66959         rule.
66960         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66961         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66962         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66963         [generic bits/ioctls.h] (common-generated): Do not append to
66964         variable.
66965         [generic sys/syscall.h] (syscall.h): Remove variable.
66966         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66967         rule.
66968         [generic sys/syscall.h] (before-compile): Do not append to
66969         variable.
66970         [generic sys/syscall.h] (common-generated): Likewise.
66971         * sysdeps/unix/errnos-tmpl.c: Remove file.
66972         * sysdeps/unix/errnos.awk: Likewise.
66973         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66974         * sysdeps/unix/ioctls.awk: Likewise.
66975         * sysdeps/unix/mk-local_lim.c: Likewise.
66976         * sysdeps/unix/snarf-ioctls: Likewise.
66978 2012-03-19  Richard Henderson  <rth@twiddle.net>
66980         * sysdeps/i386/fpu/fenv_private.h: New file.
66981         * sysdeps/i386/fpu/math_private.h: Use it.
66982         (math_opt_barrier, math_force_eval): Remove.
66983         (libc_feholdexcept_setround_53bit): Remove.
66984         (libc_feupdateenv_53bit): Remove.
66985         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66986         (math_opt_barrier, math_force_eval): Remove.
66987         (libc_feholdexcept): Remove.
66988         (libc_feholdexcept_setround): Remove.
66989         (libc_fetestexcept, libc_fesetenv): Remove.
66990         (libc_feupdateenv_test): Remove.
66991         (libc_feupdateenv, libc_feholdsetround): Remove.
66992         (libc_feresetround): Remove.
66994         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66995         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66997         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66998         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66999         (libc_feupdateenv_testl): New.
67000         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67001         (libc_feupdateenv_testf): New.
67002         (libc_feupdateenv): Use libc_feupdateenv_test.
67003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67004         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67006         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67007         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67008         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67009         (libc_feresetround_noex): New.
67010         (libc_feresetround_noexf): New.
67011         (libc_feresetround_noexl): New.
67012         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67013         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67014         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67016         SET_RESTORE_ROUND.
67017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67018         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67019         (__cos): Likewise.
67020         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67021         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67022         SET_RESTORE_ROUND_NOEX.
67023         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67024         SET_RESTORE_ROUND_NOEXF.
67025         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67026         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67027         (libc_feholdsetroundf): New.
67028         (libc_feresetround, libc_feresetroundf): New.
67030         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67031         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67032         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67034         * sysdeps/generic/math_private.h: Include <fenv.h>.
67035         (default_libc_feholdexcept): New.
67036         (default_libc_feholdexcept_setround): New.
67037         (default_libc_fesetenv, default_libc_feupdateenv): New.
67038         (libc_feholdexcept): Only define if undefined.
67039         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67040         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67041         (libc_feholdexcept_setroundl): Likewise.
67042         (libc_feholdexcept_setround_53bit): Likewise.
67043         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67044         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67045         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67046         (libc_feupdateenv_53bit): Likewise.
67047         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67048         (libc_feholdexcept): Convert from macro to inline function.
67049         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67050         (libc_fesetenv, libc_feupdateenv): Likewise.
67052         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67053         not previously defined.
67054         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67055         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67056         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67057         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67058         * sysdeps/ieee754/flt-32/math_private.h: New file.
67059         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67060         math_private.h below SET_FLOAT_WORD.
67061         (__isnan, __isinf_ns, __finite): Remove.
67062         (__isnanf, __isinf_nsf, __finitef): Remove.
67064 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67068 2012-03-17  David S. Miller  <davem@davemloft.net>
67070         [BZ #6471]
67071         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67072         for 2.16.
67074 2012-03-16  David S. Miller  <davem@davemloft.net>
67076         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67077         warnings.
67079         [BZ #6471]
67080         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67081         properly.
67082         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67083         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67084         sysdep_routines when subdir is sysvipc.
67085         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67086         __getshmlba helper.
67088         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67092         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67093         [__LP64__].
67095 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67098         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67099         (__lround): Renamed to ...
67100         (__llround): This.  Replace long int with long long int.
67101         Define lround functions as aliases of llround functions.
67102         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67104 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67106         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67107         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67108         adresses to uintptr_t.  Replace "long int" and "unsigned long
67109         int" with "greg_t" on va_arg.
67111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67113         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67114         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67116         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67117         Move e_machine check before EI_CLASS check.  Handle x32
67118         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67119         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67120         SKIP_EM_IA_64 and include
67121         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67123         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67124         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67125         (add_system_dir): New macro.
67127         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67128         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67130 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67132         [BZ #2551]
67133         [BZ #2552]
67134         [BZ #2553]
67135         [BZ #2554]
67136         [BZ #2562]
67137         [BZ #2563]
67138         [BZ #2565]
67139         [BZ #2566]
67140         [BZ #2576]
67141         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67142         (y0): Likewise.
67143         * math/w_j0f.c (j0f): Likewise.
67144         (y0f): Likewise.
67145         * math/w_j0l.c (__j0l): Likewise.
67146         (__y0l): Likewise.
67147         * math/w_j1.c (j1): Likewise.
67148         (y1): Likewise.
67149         * math/w_j1f.c (j1f): Likewise.
67150         (y1f): Likewise.
67151         * math/w_j1l.c (__j1l): Likewise.
67152         (__y1l): Likewise.
67153         * math/w_jn.c (jn): Likewise.
67154         (yn): Likewise.
67155         * math/w_jnf.c (jnf): Likewise.
67156         (ynf): Likewise.
67157         * math/w_jnl.c (__jnl): Likewise.
67158         (__ynl): Likewise.
67159         * math/libm-test.inc (j0_test): Add more tests.
67160         (j1_test): Likewise.
67161         (jn_test): Likewise.  Add trailing semicolon to existing test.
67162         (y0_test): Likewise.
67163         (y1_test): Likewise.
67164         * sysdeps/i386/fpu/libm-test-ulps: Update.
67165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67167         [BZ #13851]
67168         [BZ #13854]
67169         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67170         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67171         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67172         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67173         (__tanl): Set errno for infinite argument.
67174         * sysdeps/i386/fpu/mptan.c: Remove.
67175         * sysdeps/i386/fpu/s_tan.S: Likewise.
67176         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67177         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67178         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67179         * math/libm-test.inc (tan_test): Add more tests and enable more
67180         tests for double and long double.
67181         * sysdeps/i386/fpu/libm-test-ulps: Update.
67182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67184 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67186         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67187         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67189 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67191         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67192         * configure.in: Use it for both main tree and add-ons.
67193         * configure: Regenerated.
67195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67197         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67199 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67201         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67202         in comment.
67204         [BZ #13851]
67205         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67206         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67207         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67208         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67209         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67210         infinite argument.
67211         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67212         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67213         != 0 for prec == 2.
67214         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67215         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67216         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67217         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67218         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67219         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67220         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67221         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67222         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67223         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67224         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67225         * math/libm-test.inc (cos_test): Add more tests and enable more
67226         tests for long double.
67227         (sin_test): Likewise.
67228         (sincos_test): Likewise.
67229         * sysdeps/i386/fpu/libm-test-ulps: Update.
67230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67232 2012-03-16  David S. Miller  <davem@davemloft.net>
67234         * sysdeps/sparc/fpu/math_private.h: New file.
67236 2012-03-15  David S. Miller  <davem@davemloft.net>
67238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67239         file.
67240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67242         file.
67243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67249         sysdep routines.
67250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67252         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67253         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67255         * sysdeps/sparc/sparc-ifunc.h: New file.
67256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67257         sparc-ifunc.h
67258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67260         Likewise.
67261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67262         Likewise.
67263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67267         Likewise.
67268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67273         Likewise.
67274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67275         Likewise.
67276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67298         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67299         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67301 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67303         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67304         scaling.
67305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67307 2012-03-15  Andreas Jaeger  <aj@suse.de>
67309         [BZ #13852]
67310         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67311         ieee754/flt-32 implementation for sin, cos and sincos.
67312         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67313         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67314         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67315         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67316         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67317         ieee754/flt-32 implementation for tan.
67319         * math/libm-test.inc (cos_test): Enable some large input tests for
67320         float as well
67321         (sin_test): Likewise.
67322         (sincos_test): Likewise.
67323         (tan_test): Add tests for large input.
67325         * sysdeps/i386/fpu/libm-test-ulps: Update.
67327 2012-03-15  Andreas Jaeger  <aj@suse.de>
67329         [BZ #13658]
67330         * math/libm-test.inc (cos_test): Add more test cases.
67331         (sin_test): Likewise.
67332         (sincos_test): Likewise.
67334 2012-03-15  Andreas Jaeger  <aj@suse.de>
67336         [BZ #13837]
67337         * math/libm-test.inc (cos_test): Add a test case for large input
67338         value.
67339         (sin_test): Likewise.
67340         (sincos_test): Likewise.
67342 2012-03-15  Andreas Jaeger  <aj@suse.de>
67343             Joseph Myers  <joseph@codesourcery.com>
67345         [BZ #13658]
67346         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67347         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67348         * sysdeps/i386/fpu/branred.c: Likewise.
67349         * sysdeps/i386/fpu/dosincos.c: Likewise.
67350         * sysdeps/i386/fpu/mpa.c: Likewise.
67351         * sysdeps/i386/fpu/s_cos.S: Likewise.
67352         * sysdeps/i386/fpu/s_sin.S: Likewise.
67353         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67354         * sysdeps/i386/fpu/sincos32.c: Likewise.
67356         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67357         Define.
67358         (libc_feupdateenv_53bit): Define.
67359         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67360         Define.
67361         (libc_feupdateenv_53bit): Define.
67363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67364         53 bit (without extend i386 double precision).
67366         * math/libm-test.inc (sincos_test): Add tests for large input.
67367         (sin): Likewise.
67368         (cos): Likewise.
67370         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67372 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67376 2012-03-15  David S. Miller  <davem@davemloft.net>
67378         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67379         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67380         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67381         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67394         file.
67395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67397         file.
67398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67400         file.
67401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67403         file.
67404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67405         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67406         fmin/fmax sysdep routines.
67407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67409 2012-03-14  David S. Miller  <davem@davemloft.net>
67411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67432         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67433         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67435         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67439         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67440         routines.
67441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67442         file.
67443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67445         file.
67446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67448         file.
67449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67451         file.
67452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67454         file.
67455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67457         file.
67458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67459         file.
67460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67461         file.
67462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67463         file.
67464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67465         New file.
67466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67467         file.
67468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67469         file.
67470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67472         file.
67473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67475         file.
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67478         file.
67479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67481         VIS3 routines.
67483         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67484         New file.
67486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67488         * sysdeps/sparc/configure.in: New file.
67489         * sysdeps/sparc/configure: Generate.
67490         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67491         * configure: Regenerate.
67492         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67493         * config.make.in (have-as-vis3): New.
67494         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67495         available use -Av9d instead of -Av9a.
67496         * sysdeps/sparc/sparc64/Makefile: Likewise.
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67499         New file.
67500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67501         file.
67502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67503         New file.
67504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67505         file.
67506         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67507         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67508         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67509         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67512         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67513         fzeros/fnegs to load 0x80000000 into a float register instead of
67514         using the stack.
67515         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67517 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67520         bits/syscall.h.
67521         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67522         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67523         ($(inst_includedir)/bits/syscall.h): Remove rule.
67524         ($(objpfx)bits/syscall.d): Include instead of
67525         $(objpfx)syscall-list.d.
67526         (generated): Change syscall-list.h and syscall-list.d to
67527         bits/syscall.h and bits/syscall.d.
67529 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67531         [BZ #13846]
67532         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67534 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67536         [BZ #13841]
67537         * math/s_csqrt.c: Include <float.h>.
67538         (__csqrt): Scale large or subnormal inputs.
67539         * math/s_csqrtf.c: Likewise.
67540         * math/s_csqrtl.c: Likewise.
67541         * math/libm-test.inc (csqrt_test): Add more tests.
67542         * sysdeps/i386/fpu/libm-test-ulps: Update.
67543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67545         [BZ #13840]
67546         * math/libm-test.inc (hypot_test): Add more tests.
67548 2012-03-13  David S. Miller  <davem@davemloft.net>
67550         [BZ #13840]
67551         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67552         double-precision for the calculation instead of scaling.
67554 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67556         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67557         manipulate bits before adding and subtracting TWO52[sx].
67558         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67559         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67560         Likewise.
67561         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67563 2012-03-13  David S. Miller  <davem@davemloft.net>
67565         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67566         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67568         rtld-global-offsets.h
67569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67571         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67572         large parameters.
67574         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67576         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67577         'err' in the ifdef scope in which it is actually used.
67579         * nss/nss_db/db-init.c: Include string.h
67581 2012-03-12  David S. Miller  <davem@davemloft.net>
67583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67584         masking out of the most significant byte of random value used.
67585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67586         Fix coding style in previous change.
67588         * sysdeps/unix/sysv/linux/kernel-features.h
67589         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67590         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67591         expression.
67592         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67593         later.
67595 2012-03-11  David S. Miller  <davem@davemloft.net>
67597         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67598         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67599         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67600         for 'resultvar' otherwise things get truncated on 64-bit.
67602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67603         Fix masking out of the most significant byte of random value used.
67605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67607 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67611 2012-03-09  David S. Miller  <davem@davemloft.net>
67613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67614         variables with appropriate CPP guards.
67615         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67616         from the frame pointer, not the stack pointer.  Correct layout
67617         comments.  Fix test on resulting framesize and the management of
67618         the outregs buffer for pltexit.  Preserve floating point return
67619         values across _dl_call_pltexit call.
67620         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67621         framesize and the management of the outregs buffer for pltexit.
67622         Preserve floating point return values across _dl_call_pltexit
67623         call.
67624         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67625         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67626         (la_sparc64_gnu_pltexit): New functions.
67627         (print_exit): Fix format string for return register value.
67629 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67631         * sunrpc/Makefile (others): Add rpcgen.
67632         ($(objpfx)rpcgen): Remove special build rule and dependency on
67633         libc.
67634         * sunrpc/rpcgen.c: New file.
67636 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67638         [BZ #13673]
67639         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67640         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67641         * sysdeps/i386/crti.S: Likewise.
67642         * sysdeps/i386/crtn.S: Likewise.
67643         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67644         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67645         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67646         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67647         * sysdeps/sh/crti.S: Likewise.
67648         * sysdeps/sh/crtn.S: Likewise.
67649         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67651         [BZ #13673]
67652         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67653         with URL.
67654         * locale/programs/locfile-kw.gperf: Likewise.
67655         * locale/programs/charmap-kw.h: Regenerated.
67656         * locale/programs/locfile-kw.h: Likewise.
67658         [BZ #13673]
67659         * intl/plural.y: Replace FSF snail mail address with URL.
67660         * intl/plural.c: Regenerated.
67662 2012-03-09  Richard Henderson  <rth@twiddle.net>
67664         * include/math_private.h: Remove file.
67665         * math/math_private.h: Move file ...
67666         * sysdeps/generic/math_private.h: ... here.
67668         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67669         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67670         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67672         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67673         and <math_private.h>.
67674         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67675         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67676         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67677         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67678         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67679         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67680         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67682         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67685         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67686         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67688         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67689         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67690         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67691         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67692         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67695         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67696         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67698         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67700         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67704         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67706         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67707         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67710         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67714         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67717         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67719         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67720         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67721         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67722         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67723         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67724         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67725         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67726         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67727         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67728         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67729         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67730         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67731         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67732         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67733         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67734         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67735         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67736         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67737         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67738         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67739         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67741         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67742         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67747         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67748         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67754         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67755         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67757         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67759         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67761         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67762         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67763         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67764         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67765         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67766         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67767         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67768         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67769         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67770         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67771         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67772         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67774         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67775         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67776         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67777         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67778         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67779         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67780         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67781         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67782         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67784         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67785         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67786         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67787         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67788         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67790         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67791         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67792         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67793         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67795         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67797         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67798         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67799         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67801         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67802         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67803         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67804         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67805         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67806         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67807         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67808         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67809         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67810         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67811         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67812         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67813         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67814         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67815         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67816         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67817         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67818         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67819         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67820         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67821         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67822         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67823         * sysdeps/ieee754/k_standard.c: Likewise.
67824         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67825         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67826         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67827         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67828         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67829         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67830         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67831         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67832         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67834         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67835         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67836         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67837         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67838         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67839         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67840         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67841         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67842         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67843         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67844         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67845         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67846         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67847         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67848         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67849         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67854         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67855         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67856         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67857         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67858         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67859         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67861         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67862         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67863         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67864         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67866         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67867         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67868         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67869         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67870         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67875         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67876         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67877         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67878         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67879         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67880         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67881         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67882         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67883         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67884         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67885         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67886         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67891         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67892         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67901         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67902         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67903         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67906         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67907         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67908         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67909         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67910         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67911         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67912         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67914         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67915         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67916         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67917         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67921         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67922         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67923         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67928         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67931         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67935         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67936         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67937         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67939         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67940         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67941         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67943         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67946         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67947         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67948         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67949         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67951         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67953         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67955         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67956         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67957         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67958         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67959         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67962         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67963         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67964         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67965         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67967         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67973         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67975         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67978         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67979         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67980         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67981         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67982         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67983         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67984         * sysdeps/ieee754/s_lib_version.c: Likewise.
67985         * sysdeps/ieee754/s_matherr.c: Likewise.
67986         * sysdeps/ieee754/s_signgam.c: Likewise.
67987         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67988         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67989         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67990         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67991         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67992         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67993         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67994         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67995         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67996         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67997         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67998         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67999         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68000         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68001         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68002         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68003         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68009 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68011         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68012         * sunrpc/rpc_main.c: Likewise.
68013         * sunrpc/rpc_svcout.c: Likewise.
68015 2012-03-09  David S. Miller  <davem@davemloft.net>
68017         * include/math_private.h: New file.
68019 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68021         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68022         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68023         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68024         from <bits/socket_type.h>.
68025         (enum __socket_type): Don't define here.
68026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68028         bits/socket_type.h.
68030         [BZ #13566]
68031         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68032         checking __USE_GNU.
68034         * Makerules ($(inst_includedir)/%.h): New rule.
68035         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68036         (install-others): Remove variable setting.
68037         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68039 2012-03-08  Richard Henderson  <rth@twiddle.net>
68041         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68042         from macro to inline function; merge with the
68043         !__LIBC_INTERNAL_MATH_INLINES version.
68044         (__ieee754_sqrtf): Likewise.
68046         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68047         to inline function.
68048         (__rintf, __floor, __floorf): Likewise.
68050         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68051         macro to inline function.
68052         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68054         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68055         not <math/math_private.h>.
68057 2012-03-08  David S. Miller  <davem@davemloft.net>
68059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68060         copyright year.
68061         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68063 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68065         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68066         normalization.
68067         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68068         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68070 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68072         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68073         be defined individually, they must be defined as a block.  Define
68074         S for printing a string instead of hidint the different by using a
68075         macro for adding the 'l'.
68076         * stdio-common/tst-fphex-wide.c: Adjust.
68078 2012-03-07  Marek Polacek  <polacek@redhat.com>
68080         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68082 2012-03-08  Marek Polacek  <polacek@redhat.com>
68084         [BZ #13806]
68085         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68086         * stdio-common/tst-fphex.c: Define a few macros to make the
68087         test reusable.  Use them.
68088         * stdio-common/tst-fphex-wide.c: New file.
68090 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68092         [BZ #6911]
68093         * manual/macros.texi (gnusystems): New macro.
68094         (nongnusystems): Likewise.
68095         (gnulinuxhurdsystems): Likewise.
68096         (gnuhurdsystems): Likewise..
68097         (gnulinuxsystems): Likewise.
68098         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68099         variants of the GNU system, not "GNU system".
68100         * manual/conf.texi: Likewise.
68101         * manual/errno.texi: Likewise.  Update example of errno macro
68102         expansion.
68103         * manual/filesys.texi: Likewise.
68104         (getumask): Document as specific to GNU/Hurd.
68105         * manual/install.texi: Likewise.  Reword some references to
68106         GNU/Linux.
68107         * manual/intro.texi: Likewise.
68108         * manual/io.texi: Likewise.
68109         (File Name Portability): Detail which constraints are inapplicable
68110         to all GNU systems and which are only inapplicable to GNU/Hurd.
68111         * manual/job.texi: Likewise.
68112         * manual/llio.texi: Likewise.
68113         (O_NOCTTY): Document as present on GNU/Linux.
68114         * manual/maint.texi: Likewise.
68115         * manual/memory.texi: Likewise.
68116         * manual/pattern.texi: Likewise.
68117         * manual/pipe.texi: Likewise.
68118         * manual/process.texi: Likewise.
68119         * manual/resource.texi: Likewise.
68120         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68121         child on GNU/Hurd.
68122         * manual/setjmp.texi: Likewise.
68123         * manual/signal.texi: Likewise.
68124         * manual/startup.texi: Likewise.
68125         * manual/stdio.texi: Likewise.
68126         * manual/terminal.texi: Likewise.
68127         (ONLCR): Document as POSIX.
68128         (OXTABS): Document availability on GNU/Linux as XTABS.
68129         (ONOEOT): Document availability separately from other bits.
68130         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68131         * manual/time.texi: Likewise.
68132         * manual/users.texi: Likewise.
68133         * INSTALL: Regenerated.
68134         * sysdeps/gnu/errlist.c: Regenerated.
68136         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68137         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68138         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68139         puts.
68140         * configure: Regenerated.
68142 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68144         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68145         default includes instead of AC_HEADER_CHECK.
68146         * sysdeps/i386/configure: Regenerated.
68148         [BZ #10716]
68149         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68150         * math/s_cacoshf.c (__cacoshf): Likewise.
68151         * math/s_cacoshl.c (__cacoshl): Likewise.
68152         * math/s_casinh.c (__casinh): Set signs of result from argument.
68153         * math/s_casinhf.c (__casinhf): Likewise.
68154         * math/s_casinhl.c (__casinhl): Likewise.
68155         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68156         (casinh_test): Add more tests.
68157         * sysdeps/i386/fpu/libm-test-ulps: Update.
68158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68160 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68162         * po/zh_TW.po: Update from translation team.
68164         * login/Makefile (distribute): Remove variable.
68165         * catgets/Makefile: Likewise.
68166         * mach/Makefile: Likewise.
68167         * malloc/Makefile: Likewise.
68168         * misc/Makefile: Likewise.
68169         * iconv/Makefile: Likewise.
68170         * nscd/Makefile: Likewise.
68171         * hurd/Makefile: Likewise.
68172         * manual/Makefile: Likewise.
68173         * locale/Makefile: Likewise.
68174         * intl/Makefile: Likewise.
68175         * conform/Makefile: Likewise.
68176         * nss/Makefile: Likewise.
68177         * time/Makefile: Likewise.
68178         * soft-fp/Makefile: Likewise.
68179         * dirent/Makefile: Likewise.
68180         * gmon/Makefile: Likewise.
68181         * po/Makefile: Likewise.
68182         * rt/Makefile: Likewise.
68183         * socket/Makefile: Likewise.
68184         * math/Makefile: Likewise.
68185         * signal/Makefile: Likewise.
68186         * debug/Makefile: Likewise.
68187         * elf/Makefile: Likewise.
68188         * timezone/Makefile: Likewise.
68189         * stdlib/Makefile: Likewise.
68190         * iconvdata/Makefile: Likewise.
68191         * sunrpc/Makefile: Likewise.
68192         * io/Makefile: Likewise.
68193         * argp/Makefile: Likewise.
68194         * inet/Makefile: Likewise.
68195         * hesiod/Makefile: Likewise.
68196         * grp/Makefile: Likewise.
68197         * csu/Makefile: Likewise.
68198         * wctype/Makefile: Likewise.
68199         * crypt/Makefile: Likewise.
68200         * libio/Makefile: Likewise.
68201         * string/Makefile: Likewise.
68202         * nis/Makefile: Likewise.
68203         * resolv/Makefile: Likewise.
68204         * stdio-common/Makefile: Likewise.
68205         * wcsmbs/Makefile: Likewise.
68206         * dlfcn/Makefile: Likewise.
68207         * posix/Makefile: Likewise.
68209         [BZ #6959]
68210         * timezone/Makefile: Don't install timezone files, just the programs
68211         and scripts.
68213 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68215         * nss/databases.def: Add missing gshadow entry.
68217         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68219 2012-03-06  Marek Polacek  <polacek@redhat.com>
68221         [BZ #13726]
68222         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68223         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68224         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68225         * stdio-common/tst-long-dbl-fphex.c: New file.
68227 2012-03-06  David S. Miller  <davem@davemloft.net>
68229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68230         (set_obp_int): New function.
68231         (get_obp_int): New function.
68232         (__get_clockfreq_via_dev_openprom): Likewise.
68233         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68234         Avoid unused variable warnings on 'val' and use builtin_expect.
68235         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68236         __builtin_expect.
68237         (INLINE_CLONE_SYSCALL): Likewise.
68239 2012-03-05  David S. Miller  <davem@davemloft.net>
68241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68243 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68247         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68248         only for |x| >= 40.
68249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68251 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68254         Replace gettimeofday with __vdso_gettimeofday.
68256         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68257         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68258         __vdso_clock_gettime and __vdso_getcpu.
68260         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68261         time with __vdso_time.
68263 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68265         * manual/lang.texi (size_t): Note types to which size_t may be
68266         equivalent with the GNU C Library, but do not describe when
68267         differences between them are significant.
68269 2012-03-05  Andreas Jaeger  <aj@suse.de>
68271         * sysdeps/i386/fpu/libm-test-ulps: Update.
68273 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68275         [BZ #3976]
68276         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68277         (__ieee754_pow): Save and restore rounding mode and use
68278         round-to-nearest for main computations.
68279         * math/libm-test.inc (pow_test_tonearest): New function.
68280         (pow_test_towardzero): Likewise.
68281         (pow_test_downward): Likewise.
68282         (pow_test_upward): Likewise.
68283         (main): Call the new functions.
68284         * sysdeps/i386/fpu/libm-test-ulps: Update.
68285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68287         [BZ #3976]
68288         * math/libm-test.inc (cosh_test_tonearest): New function.
68289         (cosh_test_towardzero): Likewise.
68290         (cosh_test_downward): Likewise.
68291         (cosh_test_upward): Likewise.
68292         (sinh_test_tonearest): Likewise.
68293         (sinh_test_towardzero): Likewise.
68294         (sinh_test_downward): Likewise.
68295         (sinh_test_upward): Likewise.
68296         (main): Call the new functions.
68297         * sysdeps/i386/fpu/libm-test-ulps: Update.
68298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68300 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68302         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68303         default stack guard is set in last bytes.
68304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68306 2012-03-05  Kees Cook  <keescook@chromium.org>
68308         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68310         [BZ #13656]
68311         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68312         possibly allocate from heap instead of stack.
68313         * stdio-common/bug-vfprintf-nargs.c: New file.
68314         * stdio-common/Makefile (tests): Add nargs overflow test.
68316 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68320 2012-03-03  Marek Polacek  <polacek@redhat.com>
68322         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68323         * math/math_private.h: Likewise.
68324         * stdlib/tst-strtod.c: Likewise.
68325         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68326         * sysdeps/x86_64/bits/atomic.h: Likewise.
68328 2012-03-02  David S. Miller  <davem@davemloft.net>
68330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68334         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68335         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68336         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68337         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68339 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68341         [BZ #13792]
68342         * manual/examples/README: New file, says the example source files
68343         can be used under GPL>=2.
68344         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68345         line containing just "*/".
68346         * manual/examples/add.c: Add copyright header (GPL>=2).
68347         * manual/examples/argp-ex1.c: Likewise.
68348         * manual/examples/argp-ex2.c: Likewise.
68349         * manual/examples/argp-ex3.c: Likewise.
68350         * manual/examples/argp-ex4.c: Likewise.
68351         * manual/examples/atexit.c: Likewise.
68352         * manual/examples/db.c: Likewise.
68353         * manual/examples/dir.c: Likewise.
68354         * manual/examples/dir2.c: Likewise.
68355         * manual/examples/execinfo.c: Likewise.
68356         * manual/examples/filecli.c: Likewise.
68357         * manual/examples/filesrv.c: Likewise.
68358         * manual/examples/fmtmsgexpl.c: Likewise.
68359         * manual/examples/genpass.c: Likewise.
68360         * manual/examples/inetcli.c: Likewise.
68361         * manual/examples/inetsrv.c: Likewise.
68362         * manual/examples/isockad.c: Likewise.
68363         * manual/examples/longopt.c: Likewise.
68364         * manual/examples/memopen.c: Likewise.
68365         * manual/examples/memstrm.c: Likewise.
68366         * manual/examples/mkfsock.c: Likewise.
68367         * manual/examples/mkisock.c: Likewise.
68368         * manual/examples/mygetpass.c: Likewise.
68369         * manual/examples/pipe.c: Likewise.
68370         * manual/examples/popen.c: Likewise.
68371         * manual/examples/rprintf.c: Likewise.
68372         * manual/examples/search.c: Likewise.
68373         * manual/examples/select.c: Likewise.
68374         * manual/examples/setjmp.c: Likewise.
68375         * manual/examples/sigh1.c: Likewise.
68376         * manual/examples/sigusr.c: Likewise.
68377         * manual/examples/stpcpy.c: Likewise.
68378         * manual/examples/strdupa.c: Likewise.
68379         * manual/examples/strftim.c: Likewise.
68380         * manual/examples/strncat.c: Likewise.
68381         * manual/examples/subopt.c: Likewise.
68382         * manual/examples/swapcontext.c: Likewise.
68383         * manual/examples/termios.c: Likewise.
68384         * manual/examples/testopt.c: Likewise.
68385         * manual/examples/testpass.c: Likewise.
68386         * manual/examples/timeval_subtract.c: Likewise.
68388         [BZ #13792]
68389         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68390         function to ...
68391         * manual/timeval_subtract.c.texi: ... here, new file.
68393 2012-03-02  David S. Miller  <davem@davemloft.net>
68395         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68397 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68399         [BZ #3976]
68400         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68401         (__sin): Save and restore rounding mode and use round-to-nearest
68402         for all computations.
68403         (__cos): Save and restore rounding mode and use round-to-nearest
68404         for all computations.
68405         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68406         <fenv.h>.
68407         (tan): Save and restore rounding mode and use round-to-nearest for
68408         all computations.
68409         * math/libm-test.inc (cos_test_tonearest): New function.
68410         (cos_test_towardzero): Likewise.
68411         (cos_test_downward): Likewise.
68412         (cos_test_upward): Likewise.
68413         (sin_test_tonearest): Likewise.
68414         (sin_test_towardzero): Likewise.
68415         (sin_test_downward): Likewise.
68416         (sin_test_upward): Likewise.
68417         (tan_test_tonearest): Likewise.
68418         (tan_test_towardzero): Likewise.
68419         (tan_test_downward): Likewise.
68420         (tan_test_upward): Likewise.
68421         (main): Call the new functions.
68422         * sysdeps/i386/fpu/libm-test-ulps: Update.
68423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68425         [BZ #10135]
68426         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68427         small n, then large n, before computing and testing k+n.
68428         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68430         Likewise.
68431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68432         Likewise.
68433         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68434         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68435         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68436         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68439         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68440         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68441         * math/libm-test.inc (scalbn_test): Add more tests.
68442         (scalbln_test): Likewise.
68444         * manual/filesys.texi (mode_t): Describe constraints on size and
68445         signedness, not exact equivalence to a particular type.
68446         (ino_t): Likewise.
68447         (ino64_t): Likewise.
68448         (dev_t): Likewise.
68449         (nlink_t): Likewise.
68450         (blkcnt_t): Likewise.
68451         (blkcnt64_t): Likewise.
68452         * manual/llio.texi (off_t): Likewise.
68454         [BZ #3976]
68455         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68456         (__ieee754_exp): Save and restore rounding mode and use
68457         round-to-nearest for all computations.
68458         * math/libm-test.inc (exp_test_tonearest): New function.
68459         (exp_test_towardzero): Likewise.
68460         (exp_test_downward): Likewise.
68461         (exp_test_upward): Likewise.
68462         (main): Call the new functions.
68463         * sysdeps/i386/fpu/libm-test-ulps: Update.
68464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68466 2012-03-01  Chris Demetriou  <cgd@google.com>
68468         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68469         have predictable order.
68471 2012-03-01  David S. Miller  <davem@davemloft.net>
68473         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68475         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68476         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68477         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68478         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68480         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68481         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68482         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68484         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68485         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68486         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68487         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68488         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68493         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68494         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68496         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68497         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68498         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68499         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68500         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68501         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68502         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68503         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68504         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68505         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68506         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68507         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68509         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68510         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68512         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68513         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68514         * sysdeps/sparc/elf/configure: Regenerated.
68516 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68518         * configure.in (AS, LD): Require binutils 2.20 or later.
68519         * configure: Regenerated.
68520         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68521         as required minimum version.
68522         * INSTALL: Regenerated.
68524         [BZ #2541]
68525         [BZ #4108]
68526         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68527         before squaring exponent.
68528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68529         bottom long double and 27 bits of top long double before squaring
68530         exponent.
68531         * math/libm-test.inc (erfc_test): Add more tests.
68532         * sysdeps/i386/fpu/libm-test-ulps: Update.
68533         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68536 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68538         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68539         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68540         containing bit-fields.
68541         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68542         * soft-fp/single.h (_FP_UNION_S): Likewise.
68543         * soft-fp/double.h (_FP_UNION_D): Likewise.
68545 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68547         [BZ #13786]
68548         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68549         not include ../strcmp.S.
68550         [USE_AS_STRNCASECMP_L]: Likewise.
68551         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68552         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68553         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68554         (__strncasecmp_l_ia32): Define as alias to
68555         __strncasecmp_l_nonascii.
68557         [BZ #5794]
68558         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68559         * sysdeps/i386/fpu/libm-test-ulps: Update.
68560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68562         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68565 2012-02-29  Jeff Law  <law@redhat.com>
68567         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68568         out of bounds read.
68570 2012-02-29  Marek Polacek  <polacek@redhat.com>
68572         [BZ #13706]
68573         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68574         * elf/Makefile: Add rules to run tst-unused-dep.out.
68576 2012-02-28  David S. Miller  <davem@davemloft.net>
68578         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68579         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68580         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68581         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68582         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68583         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68585 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68587         * math/libm-test.inc (llround_test): Move one test from
68588         lround_test.  Use TEST_f_L in moved test.
68589         (lround_test): Move misplaced test to llround_test.  Add testcase
68590         from bug 2561.
68592 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68594         * sysdeps/x86_64/fpu/e_expf.S: New file.
68595         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68597 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68599         [BZ #13637]
68600         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68601         of remain_len that may cause incomplete multi-byte character and
68602         false match.
68603         * posix/bug-regex33.c: New file.
68604         * posix/Makefile (tests): Add bug-regex33.
68606 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68608         * manual/macros.texi: New file.
68609         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68610         * manual/libc.texinfo: Include macros.texi.
68611         * manual/creatute.texi: Likewise.
68612         * manual/install.texi: Likewise.
68613         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68614         @glibcadj{} in references to the GNU C Library.
68615         * manual/charset.texi: Likewise.
68616         * manual/conf.texi: Likewise.
68617         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68618         when not using those macros.
68619         * manual/creature.texi: Likewise.
68620         * manual/crypt.texi: Likewise.
68621         * manual/errno.texi: Likewise.
68622         * manual/filesys.texi: Likewise.
68623         * manual/header.texi: Likewise.
68624         * manual/install.texi: Likewise.
68625         * manual/intro.texi: Likewise.
68626         * manual/io.texi: Likewise.
68627         * manual/job.texi: Likewise.
68628         * manual/lang.texi: Likewise.
68629         * manual/libc.texiinfo: Likewise.
68630         * manual/llio.texi: Likewise.
68631         * manual/locale.texi: Likewise.
68632         * manual/maint.texi: Likewise.
68633         * manual/math.texi: Likewise.
68634         * manual/memory.texi: Likewise.
68635         * manual/message.texi: Likewise.
68636         * manual/nss.texi: Likewise.
68637         * manual/pattern.texi: Likewise.
68638         * manual/process.texi: Likewise.
68639         * manual/resource.texi: Likewise.
68640         * manual/search.texi: Likewise.
68641         * manual/setjmp.texi: Likewise.
68642         * manual/signal.texi: Likewise.
68643         * manual/socket.texi: Likewise.
68644         * manual/startup.texi: Likewise.
68645         * manual/stdio.texi: Likewise.
68646         * manual/string.texi: Likewise.
68647         * manual/sysinfo.texi: Likewise.
68648         * manual/syslog.texi: Likewise.
68649         * manual/terminal.texi: Likewise.
68650         * manual/time.texi: Likewise.
68651         * manual/users.texi: Likewise.
68652         * INSTALL: Regenerated.
68653         * NOTES: Regenerated.
68654         * sysdeps/gnu/errlist.c: Regenerated.
68656 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68658         * include/dirent.h: Include <dirstream.h> before
68659         <dirent/dirent.h>.
68661 2012-02-28  David S. Miller  <davem@davemloft.net>
68663         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68664         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68665         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68666         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68668 2012-02-27  David S. Miller  <davem@davemloft.net>
68670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68672         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68673         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68676         frame pointer instead of stack pointer relative arg slot.
68677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68681 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68683         [BZ #3992]
68684         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68686 2012-02-27  David S. Miller  <davem@davemloft.net>
68688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68694         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68695         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68697 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68699         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68700         later.  Allow versions 5-9.
68701         * configure: Regenerated.
68702         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68703         required minimum version and 4.6 as recommended version.  Do not
68704         mention bugs in GCC 2.7 and 2.8.
68705         * INSTALL: Regenerated.
68707 2012-02-27  David S. Miller  <davem@davemloft.net>
68709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68713         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68714         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68715         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68716         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68719         manipulate bits before adding and subtracting TWO112[sx].
68720         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68722 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68724         [BZ #13775]
68725         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68726         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68727         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68728         being in POSIX, because they are in 1003.1-2008.
68730         * rt/tst-aio.c: Include <fcntl.h>.
68731         * rt/tst-aio7.c: Likewise.
68732         * rt/tst-aio64.c: Likewise.
68734         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68736 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68738         * manual/install.texi (--with-headers): Describe headers as
68739         interface headers, not private headers.
68740         (Specific advice for GNU/Linux systems): Describe use of headers
68741         from "make headers_install", not private headers from older
68742         kernels.
68743         * INSTALL: Regenerated.
68744         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68745         Change to 2.6.19.
68746         * sysdeps/unix/sysv/linux/configure: Regenerated.
68748         * manual/llio.texi (fclean): Remove documentation.
68750         * manual/Makefile (libc-texi-generated): New variable.  Include
68751         version.texi.
68752         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68753         $(libc-texi-generated), not duplicated list of files.
68754         (version.texi, stamp-version): New rules.
68755         (realclean): Remove $(libc-texi-generated), not individual files
68756         from that list.  Do not remove dir-add.texinfo.
68757         * manual/libc.texinfo: Comment out uses of edition numbers and
68758         references to printed manual.  Remove last-updated dates.
68759         (EDITION): Comment out.
68760         (ISBN): Likewise.
68761         (VERSION, UPDATED): Remove.
68762         (version.texi): Include.
68764 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68766         * sysdeps/posix/spawni.c: Include <signal.h>.
68767         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68768         * sysdeps/pthread/aio_fsync.c: Likewise.
68770 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68772         * conform/Makefile (tests): Run only when not cross-compiling and
68773         when fast-check is not defined.
68775         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68776         * conform/data/limits.h-data: Fixes for POSIX2008.
68777         * conform/run-conformtest.sh: Run all tests.
68778         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68779         headers.
68780         * include/bits/dlfcn.h: Likewise.
68781         * include/langinfo.h: Likewise.
68782         * include/monetary.h: Likewise.
68783         * include/sys/poll.h: Likewise.
68785         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68786         for __USE_GNU.
68787         * posix/spawn.h: Define __need_sigset_t.
68788         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68789         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68790         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68791         to get sigevent_t only.
68792         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68793         only for __USE_GNU.
68794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68795         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68796         process_vm_writev only for __USE_GNU.
68797         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68799         * conform/Makefile: For now ignore errors from run-conformtest.
68800         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68801         POSIX to avoid namespace pollution.  Don't prepend headers.
68802         * conform/data/aio.h-data: Fixes for POSIX testing.
68803         * conform/data/fcntl.h-data: Likewise.
68804         * conform/data/glob.h-data: Likewise.
68805         * conform/data/grp.h-data: Likewise.
68806         * conform/data/pthread.h-data: Likewise.
68807         * conform/data/pwd.h-data: Likewise.
68808         * conform/data/signal.h-data: Likewise.
68809         * conform/data/spawn.h-data: Likewise.
68810         * conform/data/stdio.h-data: Likewise.
68811         * conform/data/stdlib.h-data: Likewise.
68812         * conform/data/stropts.h-data: Likewise.
68813         * conform/data/sys/mman.h-data: Likewise.
68814         * conform/data/sys/stat.h-data: Likewise.
68815         * conform/data/sys/types.h-data: Likewise.
68816         * conform/data/sys/wait.h-data: Likewise.
68817         * conform/data/time.h-data: Likewise.
68818         * conform/data/unistd.h-data: Likewise.
68819         * conform/data/utime.h-data: Likewise.
68821         * io/sys/stat.h: fchmod was always in POSIX.
68822         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68823         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68824         * rt/aio.h: Define __need_timespec before including <time.h>.
68825         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68826         struct.  Add forward declaration of pthread_attr_t and use it in
68827         sigevent.
68828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68829         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68830         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68831         always remove CLK_TCK definition.
68833 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68835         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68837 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68839         * conform/run-conformtest.sh: New file.
68840         * conform/Makefile: Run run-conformtest for tests.
68841         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68842         support.
68844         * conform/data/uchar.h-data: New file.
68845         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68846         * conform/data/arpa/inet.h-data: Likewise.
68847         * conform/data/assert.h-data: Likewise.
68848         * conform/data/complex.h-data: Likewise.
68849         * conform/data/cpio.h-data: Likewise.
68850         * conform/data/ctype.h-data: Likewise.
68851         * conform/data/dirent.h-data: Likewise.
68852         * conform/data/dlfcn.h-data: Likewise.
68853         * conform/data/errno.h-data: Likewise.
68854         * conform/data/fcntl.h-data: Likewise.
68855         * conform/data/float.h-data: Likewise.
68856         * conform/data/fmtmsg.h-data: Likewise.
68857         * conform/data/fnmatch.h-data: Likewise.
68858         * conform/data/ftw.h-data: Likewise.
68859         * conform/data/glob.h-data: Likewise.
68860         * conform/data/grp.h-data: Likewise.
68861         * conform/data/iconv.h-data: Likewise.
68862         * conform/data/inttypes.h-data: Likewise.
68863         * conform/data/langinfo.h-data: Likewise.
68864         * conform/data/libgen.h-data: Likewise.
68865         * conform/data/limits.h-data: Likewise.
68866         * conform/data/locale.h-data: Likewise.
68867         * conform/data/math.h-data: Likewise.
68868         * conform/data/monetary.h-data: Likewise.
68869         * conform/data/mqueue.h-data: Likewise.
68870         * conform/data/ndbm.h-data: Likewise.
68871         * conform/data/net/if.h-data: Likewise.
68872         * conform/data/netdb.h-data: Likewise.
68873         * conform/data/netinet/in.h-data: Likewise.
68874         * conform/data/nl_types.h-data: Likewise.
68875         * conform/data/poll.h-data: Likewise.
68876         * conform/data/pthread.h-data: Likewise.
68877         * conform/data/pwd.h-data: Likewise.
68878         * conform/data/regex.h-data: Likewise.
68879         * conform/data/sched.h-data: Likewise.
68880         * conform/data/search.h-data: Likewise.
68881         * conform/data/semaphore.h-data: Likewise.
68882         * conform/data/setjmp.h-data: Likewise.
68883         * conform/data/signal.h-data: Likewise.
68884         * conform/data/spawn.h-data: Likewise.
68885         * conform/data/stdarg.h-data: Likewise.
68886         * conform/data/stdio.h-data: Likewise.
68887         * conform/data/stdlib.h-data: Likewise.
68888         * conform/data/string.h-data: Likewise.
68889         * conform/data/strings.h-data: Likewise.
68890         * conform/data/stropts.h-data: Likewise.
68891         * conform/data/sys/ipc.h-data: Likewise.
68892         * conform/data/sys/mman.h-data: Likewise.
68893         * conform/data/sys/msg.h-data: Likewise.
68894         * conform/data/sys/resource.h-data: Likewise.
68895         * conform/data/sys/select.h-data: Likewise.
68896         * conform/data/sys/sem.h-data: Likewise.
68897         * conform/data/sys/shm.h-data: Likewise.
68898         * conform/data/sys/socket.h-data: Likewise.
68899         * conform/data/sys/stat.h-data: Likewise.
68900         * conform/data/sys/statvfs.h-data: Likewise.
68901         * conform/data/sys/time.h-data: Likewise.
68902         * conform/data/sys/timeb.h-data: Likewise.
68903         * conform/data/sys/times.h-data: Likewise.
68904         * conform/data/sys/types.h-data: Likewise.
68905         * conform/data/sys/uio.h-data: Likewise.
68906         * conform/data/sys/un.h-data: Likewise.
68907         * conform/data/sys/utsname.h-data: Likewise.
68908         * conform/data/sys/wait.h-data: Likewise.
68909         * conform/data/syslog.h-data: Likewise.
68910         * conform/data/tar.h-data: Likewise.
68911         * conform/data/termios.h-data: Likewise.
68912         * conform/data/utime.h-data: Likewise.
68913         * conform/data/utmpx.h-data: Likewise.
68914         * conform/data/varargs.h-data: Likewise.
68915         * conform/data/wchar.h-data: Likewise.
68916         * conform/data/wctype.h-data: Likewise.
68917         * conform/data/wordexp.h-data: Likewise.
68919         * include/stropts.h: New file.
68920         * include/uchar.h: New file.
68921         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68922         * include/assert.h: Likewise.
68923         * include/ctype.h: Likewise.
68924         * include/dirent.h: Likewise.
68925         * include/dlfcn.h: Likewise.
68926         * include/fcntl.h: Likewise.
68927         * include/fnmatch.h: Likewise.
68928         * include/glob.h: Likewise.
68929         * include/grp.h: Likewise.
68930         * include/libio.h: Likewise.
68931         * include/locale.h: Likewise.
68932         * include/math.h: Likewise.
68933         * include/net/if.h: Likewise.
68934         * include/netdb.h: Likewise.
68935         * include/netinet/in.h: Likewise.
68936         * include/pthread.h: Likewise.
68937         * include/pwd.h: Likewise.
68938         * include/regex.h: Likewise.
68939         * include/sched.h: Likewise.
68940         * include/search.h: Likewise.
68941         * include/setjmp.h: Likewise.
68942         * include/signal.h: Likewise.
68943         * include/stdio.h: Likewise.
68944         * include/stdlib.h: Likewise.
68945         * include/string.h: Likewise.
68946         * include/sys/cdefs.h: Likewise.
68947         * include/sys/mman.h: Likewise.
68948         * include/sys/msg.h: Likewise.
68949         * include/sys/resource.h: Likewise.
68950         * include/sys/select.h: Likewise.
68951         * include/sys/socket.h: Likewise.
68952         * include/sys/stat.h: Likewise.
68953         * include/sys/statvfs.h: Likewise.
68954         * include/sys/time.h: Likewise.
68955         * include/sys/times.h: Likewise.
68956         * include/sys/uio.h: Likewise.
68957         * include/sys/utsname.h: Likewise.
68958         * include/sys/wait.h: Likewise.
68959         * include/termios.h: Likewise.
68960         * include/time.h: Likewise.
68961         * include/ulimit.h: Likewise.
68962         * include/unistd.h: Likewise.
68963         * include/utime.h: Likewise.
68964         * include/wchar.h: Likewise.
68965         * include/wctype.h: Likewise.
68966         * include/wordexp.h: Likewise.
68968         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68970         * time/time.h: TIME_UTC must be a macro.
68971         Make timespec_get available for ISO C11 only as well.
68973 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68975         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68976         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68978 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68980         * configure.in: Use -o not -a in test for unsupported multi-arch.
68982 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68984         * manual/texinfo.tex: Update to version 2012-01-19.16.
68986 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68988         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68990 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68992         [BZ #13738]
68993         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68994         * manual/fdl-1.3.texi: New file.
68995         * manual/fdl-1.1.texi: File removed.
68997         [BZ #13738]
68998         * manual/libc.texinfo (FDL_VERSION): New @set.
68999         Use it for mention of FDL in cover text.
69000         (Documentation License): Use it in @include file name.
69002 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69003             Roland McGrath  <roland@hack.frob.com>
69005         [BZ #5461]
69006         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69007         (not LONG_LONG_MAX and LONG_LONG_MIN.
69008         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69009         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69010         name.
69011         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69015         [BZ #2547]
69016         [BZ #11365]
69017         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69018         manipulate bits before adding and subtracting TWO23[sx].
69019         * math/libm-test.inc (nearbyint_test): Add more tests.
69021 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69023         [BZ #2548]
69024         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69025         bits before adding and subtracting TWO23[sx].
69026         * math/libm-test.inc (rint_test): Add more tests.
69027         (rint_test_tonearest): Likewise.
69028         (rint_test_towardzero): Likewise.
69029         (rint_test_downward): Likewise.
69030         (rint_test_upward: Likewise.
69032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69034         [BZ #10110]
69035         * include/stdc-predef.h: New file.  Extracted from features.h.
69036         * include/features.h: Include stdc-predef.h.
69037         * Makefile (headers): Add stdc-predef.h.
69038         * CONFORMANCE (Compiler limitations): Update.
69040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69042         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69044 2012-02-21  David S. Miller  <davem@davemloft.net>
69046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69047         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69049 2012-02-20  David S. Miller  <davem@davemloft.net>
69051         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69052         using a normal save/restore sequence, rather than allocating a
69053         dummy stack frame just to store a frame pointer and restore.
69054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69058         * manual/install.texi: Fix stray word in line-wrapped comment.
69060 2012-02-20  David S. Miller  <davem@davemloft.net>
69062         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69063         both binutils and gcc support GOTDATA.
69065         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69066         "rd %pc" in the PIC register setup sequences.
69068         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69069         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69070         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69071         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69072         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69075         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69077         (SYSCALL_ERROR_HANDLER): Likewise.
69078         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69079         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69081         (SYSCALL_ERROR_HANDLER): Likewise.
69083         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69084         (HAVE_GCC_GOTDATA): New.
69085         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69086         relocation support in both binutils and gcc.
69087         * sysdeps/sparc/elf/configure: Regenerate.
69089         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69090         * sysdeps/sparc/sparc32/elf/configure: Delete.
69091         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69092         * sysdeps/sparc/sparc64/elf/configure: Delete.
69093         * sysdeps/sparc/elf/configure.in: New file.
69094         * sysdeps/sparc/elf/configure: Generate.
69096         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69097         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69098         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69099         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69100         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69102 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69104         * manual/install.texi: Do not mention specific glibc version
69105         numbers.
69106         * manual/libc.texinfo (VERSION, UPDATED): Update.
69107         (@copying): Use @copyright{} and range of years.
69109 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69111         [BZ #13695]
69112         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69113         [crti.S not in sysdirs] (generated): Do not append.
69114         [crti.S not in sysdirs] (omit-deps): Likewise.
69115         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69116         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69117         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69118         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69119         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69120         Likewise.
69121         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69122         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69123         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69124         * csu/defs.awk: Remove file.
69125         * sysdeps/generic/initfini.c: Likewise.
69126         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69127         variable.
69128         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69129         Likewise.
69131 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69133         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69134         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69135         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69136         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69137         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69138         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69139         <bits/epoll.h>.
69140         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69141         (__EPOLL_PACKED): Define to empty if not defined by
69142         <bits/epoll.h>.
69143         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69145         bits/epoll.h.
69147 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69149         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69150         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69151         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69152         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69153         <bits/timerfd.h>.
69154         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69156         bits/timerfd.h.
69158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69160         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69161         in C locale.
69162         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69163         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69167 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69169         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69170         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69172 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69174         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69175         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69176         defined.
69177         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69178         Likewise.
69179         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69180         entry for 2.16.
69182 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69184         * math/w_acos.c: Use non-signaling floating-point comparisons.
69185         * math/w_acosf.c: Likewise.
69186         * math/w_acosh.c: Likewise.
69187         * math/w_acoshf.c: Likewise.
69188         * math/w_acoshl.c: Likewise.
69189         * math/w_acosl.c: Likewise.
69190         * math/w_asin.c: Likewise.
69191         * math/w_asinf.c: Likewise.
69192         * math/w_asinl.c: Likewise.
69193         * math/w_atanh.c: Likewise.
69194         * math/w_atanhf.c: Likewise.
69195         * math/w_atanhl.c: Likewise.
69196         * math/w_exp2.c: Likewise.
69197         * math/w_exp2f.c: Likewise.
69198         * math/w_exp2l.c: Likewise.
69199         * math/w_j0.c: Likewise.
69200         * math/w_j0f.c: Likewise.
69201         * math/w_j0l.c: Likewise.
69202         * math/w_j1.c: Likewise.
69203         * math/w_j1f.c: Likewise.
69204         * math/w_j1l.c: Likewise.
69205         * math/w_jn.c: Likewise.
69206         * math/w_jnf.c: Likewise.
69207         * math/w_log.c: Likewise.
69208         * math/w_log10.c: Likewise.
69209         * math/w_log10f.c: Likewise.
69210         * math/w_log10l.c: Likewise.
69211         * math/w_log2.c: Likewise.
69212         * math/w_log2f.c: Likewise.
69213         * math/w_log2l.c: Likewise.
69214         * math/w_logf.c: Likewise.
69215         * math/w_logl.c: Likewise.
69216         * math/w_sqrt.c: Likewise.
69217         * math/w_sqrtf.c: Likewise.
69218         * math/w_sqrtl.c: Likewise.
69219         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69220         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69221         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69222         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69223         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69225 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69227         [BZ #9739]
69228         * manual/string.texi (strnlen): Use correct parameter name in
69229         equivalent expression.
69231 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69233         [BZ #11174]
69234         * manual/users.texi (seteuid): Consistently use neweuid for
69235         argument name.
69237 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69239         [BZ #13704]
69240         * manual/nss.texi (Services in the NSS configuration): Correct
69241         list of services in example configuration file.
69243 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69245         [BZ #11322]
69246         * manual/arith.texi: Remove statements about negative zero
69247         behaving identically to zero.
69249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69251         [BZ #5993]
69252         * manual/install.texi: Do not document upgrading from libc5.
69254 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69256         [BZ #4596]
69257         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69259 2012-02-18  David S. Miller  <davem@davemloft.net>
69261         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69262         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69263         %o7 across the call.
69264         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69265         instead.
69266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69267         SETUP_PIC_REG_LEAF.
69268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69269         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69270         * sysdeps/sparc/crtn.S: Likewise.
69272 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69274         * aout/Makefile: Remove.
69276 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69278         [BZ #13058]
69279         * manual/examples/argp-ex1.c (main): Format definition in GNU
69280         style.
69281         * manual/examples/argp-ex2.c (main): Likewise.
69282         * manual/examples/argp-ex3.c (main): Likewise.
69283         * manual/examples/argp-ex4.c (main): Likewise.
69284         * manual/examples/longopt.c (main): Use new-style prototype
69285         definition.
69286         * manual/examples/strncat.c (main): Specify return type and use
69287         (void) for arguments.
69288         * manual/examples/subopt.c (main): Use char **argv argument.
69290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69292         [BZ #5077]
69293         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69294         rounding modes.
69296 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69298         [BZ #6907]
69299         * manual/string.texi (strchr): Change when strchrnul is
69300         recommended.
69302 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69304         [BZ #174]
69305         * manual/locale.texi (setlocale): Document LOCPATH.
69307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69309         [BZ #10210]
69310         * manual/process.texi (execle): Move @dots{} before last argument.
69312 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69314         [BZ #12047]
69315         * manual/charset.texi (Generic Charset Conversion): Fix typo
69316         (LC_TYPE -> LC_CTYPE).
69318 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69320         [BZ #5805]
69321         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69322         (scalbnf): Likewise.
69323         (scalbnl): Likewise.
69324         (scalbln): Likewise.
69325         (scalblnf): Likewise.
69326         (scalblnl): Likewise.
69327         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69328         (vwarnx): Likewise.
69329         (verr): Likewise.
69330         (verrx): Likewise.
69331         * manual/filesys.texi (telldir): Use braces around return type.
69332         * manual/llio.texi (mmap): Add space after comma.
69333         (mmap64): Likewise.
69334         * manual/math.texi (jn): Use @var{} on parameter names.
69335         (jnf): Likewise.
69336         (jnl): Likewise.
69337         (yn): Likewise.
69338         (ynf): Likewise.
69339         (ynl): Likewise.
69340         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69341         line.
69342         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69343         "...".
69344         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69345         (sched_get_priority_max): Likewise.
69346         * manual/signal.texi (sigvec): Add space after comma.
69347         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69348         names.
69349         (if_indextoname): Likewise.
69350         (if_freenameindex): Likewise.
69351         (sendto): Use ',' instead of '.' in prototype.
69352         * manual/startup.texi (syscall): Use @dots{} instead of literal
69353         "...".
69354         * manual/stdio.texi (__fpending): Separate initial words of
69355         paragraph from @deftypefun line.
69356         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69357         "...".
69358         (vsyslog): Use @var{} on parameter names.
69359         * manual/terminal.texi (stty): Use @var{} on parameter names.
69360         * manual/users.texi (getutmp): Use @var{} on parameter names.
69361         (getutmpx): Likewise.
69363 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69365         [BZ #6884]
69366         * manual/stdio.texi (fopen): Fix typos in description of
69367         ",ccs=STRING".
69369 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69371         [BZ #4026]
69372         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69373         get clock_id definition.
69375 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69377         [BZ #4822]
69378         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69379         (madvise): Cast every argument to void on its own.
69381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69383         [BZ #9902]
69384         * manual/startup.texi (Exit Status): Fix typo.
69386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69388         [BZ #10140]
69389         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69390         * manual/examples/argp-ex2.c: Likewise.
69391         * manual/examples/argp-ex3.c: Likewise.
69393 2012-02-16  Richard Henderson  <rth@redhat.com>
69395         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69396         * sysdeps/s390/s390-32/initfini.c: Remove.
69397         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69398         * sysdeps/s390/s390-64/initfini.c: Remove.
69400 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69402         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69403         compiler output for sysdeps/generic/initfini.c.
69404         * sysdeps/sh/elf/initfini.c: Remove file.
69406 2012-02-16  David S. Miller  <davem@davemloft.net>
69408         [BZ #11494]
69409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69411         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69412         * sysdeps/sparc/crti.S: New file.
69413         * sysdeps/sparc/crtn.S: New file.
69414         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69415         * sysdeps/sparc/sparc64/Makefile: Likewise.
69417 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69419         [BZ #3335]
69420         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69422 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69424         [BZ #4822]
69425         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69427         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69428         (write, read, close): Likewise.
69429         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69431 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69433         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69434         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69435         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69436         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69437         <bits/signalfd.h>.
69438         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69440         bits/signalfd.h.
69442 2012-02-14  Marek Polacek  <polacek@redhat.com>
69444         * sysdeps/x86_64/crti.S: New file.
69445         * sysdeps/x86_64/crtn.S: New file.
69446         * sysdeps/x86_64/elf/initfini.c: Remove file.
69448 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69450         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69451         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69452         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69453         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69454         <bits/inotify.h>.
69455         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69457         bits/inotify.h.
69459 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69461         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69462         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69463         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69464         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69465         <bits/eventfd.h>.
69466         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69468         bits/eventfd.h.
69470 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69472         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69473         __feraiseexcept instead of feraiseexcept.
69475         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69476         nanosleep invocations.
69477         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69478         strings, and add error checking for a nanosleep invocations.
69480 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69482         Replace FSF snail mail address with URLs, as per GNU coding standards.
69483         Most of the snail mail addresses were wrong anyway, and omitting
69484         them makes the source code easier to maintain.  Almost all of the
69485         changes are to license notices and to locale LC_IDENTIFICATION
69486         addresses, except for this one:
69487         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69488         not its snail mail address.
69490 2012-02-09  Richard Henderson  <rth@twiddle.net>
69492         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69493         of kernel-features.h.
69495         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69497 2012-02-08  Marek Polacek  <polacek@redhat.com>
69499         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69500         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69501         * sysdeps/gnu/_G_config.h: Likewise.
69502         * sysdeps/generic/_G_config.h: Likewise.
69504 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69506         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69507         tests.
69508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69510         * sysdeps/powerpc/powerpc32/crti.S: New file.
69511         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69512         * sysdeps/powerpc/powerpc64/crti.S: New file.
69513         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69515         * Makeconfig (have-initfini): Don't set.
69516         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69517         * configure.in (nopic_initfini): Don't substitute.
69518         * config.h.in (HAVE_INITFINI): Don't #undef.
69519         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69520         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69522 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69524         Support crti.S and crtn.S provided directly by architectures.
69525         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69526         [crti.S in sysdirs] (omit-deps): Likewise.
69527         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69528         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69529         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69530         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69531         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69532         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69533         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69534         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69535         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69536         compiler output for sysdeps/generic/initfini.c.
69537         * sysdeps/i386/elf/Makefile: Remove file.
69538         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69540 2012-02-07  Marek Polacek  <polacek@redhat.com>
69542         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69543         * sysdeps/gnu/_G_config.h: Likewise.
69544         * sysdeps/mach/hurd/_G_config.h: Likewise.
69546 2012-02-07  Marek Polacek  <polacek@redhat.com>
69548         * math/Makefile (tests): Add tst-CMPLX2.
69549         * math/tst-CMPLX2.c: New file.
69551 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69553         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69555         * math/libm-test.inc (jn_test): Add missing L suffix.
69557 2012-02-06  Marek Polacek  <polacek@redhat.com>
69559         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69560         * sysdeps/i386/fpu/e_powf.S: Likewise.
69561         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69563         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69564         * sysdeps/i386/fpu/e_pow.S: Likewise.
69565         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69566         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69567         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69568         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69569         * sysdeps/i386/fpu/e_log2.S: Likewise.
69570         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69571         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69572         * sysdeps/i386/fpu/e_powl.S: Likewise.
69573         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69574         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69575         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69576         * sysdeps/i386/fpu/e_logl.S: Likewise.
69577         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69578         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69579         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69580         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69581         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69582         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69583         * sysdeps/i386/fpu/e_log.S: Likewise.
69584         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69585         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69586         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69587         * sysdeps/i386/fpu/e_logf.S: Likewise.
69588         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69590         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69591         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69592         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69593         * sysdeps/i386/fpu/e_log10.S: Likewise.
69594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69599         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69600         * sysdeps/i386/asm-syntax.h: Likewise.
69601         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69602         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69603         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69604         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69605         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69606         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69607         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69608         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69609         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69610         * sysdeps/powerpc/sysdep.h: Likewise.
69611         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69612         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69616         [BZ #411]
69617         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69619 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69621         * sysdeps/i386/sysdep.h: Include <features.h>.
69622         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69623         version.
69625 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69627         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69628         Define.
69629         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69630         LOAD_PIC_REG_STR.
69632 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69634         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69635         (SETUP_PIC_REG): Use GET_PC_THUNK.
69636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69637         macro.
69639 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69641         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69642         for non-PIC compilation.
69643         (SETUP_PIC_REG): Add .p2align directive.
69644         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69645         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69647         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69648         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69649         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69650         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69651         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69652         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69653         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69654         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69655         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69656         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69658         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69659         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69660         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69661         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69662         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69663         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69666         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69667         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69668         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69670         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69671         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69672         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69673         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69674         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69676         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69677         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69678         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69679         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69680         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69681         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69682         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69683         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69684         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69686 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69688         * math/tst-CMPLX.c: Include <stdio.h>.
69690 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69692         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69693         float.
69694         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69695         * sysdeps/sparc/bits/mathdef.h: Likewise.
69697 2012-01-31  Marek Polacek  <polacek@redhat.com>
69699         * libio/libio.h: Don't define _PARAMS.
69700         * locale/programs/config.h: Don't define PARAMS.
69701         * stdlib/strtol_l.c: Likewise.
69702         (__strtol_l): Remove PARAMS from the prototype.
69704 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69706         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69707         names.  Just use the correct names.  Remove unnecessary wrapper
69708         functions.
69709         * malloc/arena.c: Likewise.
69710         * malloc/hooks.c: Likewise.
69712         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69713         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69714         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69716 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69718         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69719         into tail calls.
69720         (update_get_addr): New function.
69721         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69722         GET_ADDR_MODULE parameter.
69724 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69726         * crypt/cert.c: Remove __STDC__ conditionals.
69727         * crypt/crypt-entry.c: Likewise.
69728         * crypt/crypt_util.c: Likewise.
69729         * libio/filedoalloc.c: Likewise.
69730         * libio/fileops.c: Likewise.
69731         * libio/genops.c: Likewise.
69732         * libio/iofclose.c: Likewise.
69733         * libio/iofdopen.c: Likewise.
69734         * libio/iofopen.c: Likewise.
69735         * libio/iofopen64.c: Likewise.
69736         * libio/iogetdelim.c: Likewise.
69737         * libio/iopopen.c: Likewise.
69738         * libio/obprintf.c: Likewise.
69739         * libio/oldfileops.c: Likewise.
69740         * libio/oldiofclose.c: Likewise.
69741         * libio/oldiofdopen.c: Likewise.
69742         * libio/oldiofopen.c: Likewise.
69743         * libio/oldiopopen.c: Likewise.
69744         * libio/wfiledoalloc.c: Likewise.
69745         * libio/wgenops.c: Likewise.
69746         * locale/programs/xmalloc.c: Likewise.
69747         * misc/syslog.c: Likewise.
69748         * stdio-common/xbug.c: Likewise.
69749         * string/memchr.c: Likewise.
69750         * string/memcmp.c: Likewise.
69751         * string/memrchr.c: Likewise.
69752         * string/rawmemchr.c: Likewise.
69753         * sysdeps/posix/getcwd.c: Likewise.
69754         * time/strftime_l.c: Likewise.
69756 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69758         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69759         * config.make.in (config-cflags-sse2avx): Define.
69760         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69761         Fix typo.
69763 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69765         * scripts/config.guess: Update from upstream config git repository.
69766         * scripts/config.sub: Likewise.
69768 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69770         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69771         (EM_NUM): Update.
69772         (R_TILEPRO_*, R_TILEGX_*): New macros.
69774         * scripts/firstversions.awk: Fix bug in version range handling.
69776         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69778         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69780         * include/sys/epoll.h: New file.
69781         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69782         libc_hidden_def.
69784 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69786         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69787         Avoid unnecessary __WORDSIZE == 64 test.
69788         (fmaxf): Use VEX format if possible.
69789         (fmax): Likewise.
69790         (fminf): Likewise.
69791         (fmin): Likewise.
69793         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69794         * math/math_private.h: Remove libc_fegetround* and
69795         libc_fesetround*.
69796         * sysdeps/i386/configure.in: Check for -msse2avx.
69797         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69798         also if SSE2AVX is defined.
69799         Remove libc_fegetround* and libc_fesetround*.
69800         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69801         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69803         of HAS_YMM_USABLE.
69804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69810         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69812 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69814         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69815         size is not set.
69816         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69818 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69820         [BZ #13618]
69821         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69822         relocation.
69823         * Makeconfig (libm): Define.
69824         * elf/Makefile: Add rules to build and run tst-relsort1.
69825         * elf/tst-relsort1.c: New file.
69826         * elf/tst-relsort1mod1.c: New file.
69827         * elf/tst-relsort1mod2.c: New file.
69829 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69831         * math/s_ldexp.c: Remove __STDC__ conditionals.
69832         * math/s_ldexpf.c: Likewise.
69833         * math/s_ldexpl.c: Likewise.
69834         * math/s_nextafter.c: Likewise.
69835         * math/s_nexttowardf.c: Likewise.
69836         * math/s_significand.c: Likewise.
69837         * math/s_significandf.c: Likewise.
69838         * math/s_significandl.c: Likewise.
69839         * math/w_jnl.c: Likewise.
69840         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69841         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69842         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69843         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69844         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69846         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69849         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69850         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69851         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69852         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69853         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69855         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69856         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69862         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69864         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69865         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69866         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69867         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69868         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69869         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69872         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69873         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69874         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69876         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69877         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69878         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69879         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69880         * sysdeps/ieee754/k_standard.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69885         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69890         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69894         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69900         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69913         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69931         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69941         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69942         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69945         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69946         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69947         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69948         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69949         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69950         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69951         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69952         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69953         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69955         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69956         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69957         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69958         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69959         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69960         * sysdeps/ieee754/s_matherr.c: Likewise.
69961         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69962         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69966 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69968         * crypt/md5.h: Remove __STDC__ conditionals.
69969         * libio/libioP.h: Likewise.
69970         * locale/programs/config.h: Likewise.
69971         * sysdeps/generic/sysdep.h: Likewise.
69972         * sysdeps/i386/asm-syntax.h: Likewise.
69973         * sysdeps/s390/asm-syntax.h: Likewise.
69974         * sysdeps/unix/sysdep.h: Likewise.
69975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69978 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69980         * libio/libio.h: Remove __STDC__ conditionals.
69981         * malloc/obstack.h: Likewise.
69982         * math/complex.h: Likewise.
69983         * math/math.h: Likewise.
69984         * sysdeps/generic/_G_config.h: Likewise.
69985         * sysdeps/gnu/_G_config.h: Likewise.
69986         * sysdeps/mach/hurd/_G_config.h: Likewise.
69987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69988         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69989         * sysdeps/sparc/bits/mathdef.h: Likewise.
69991 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69993         [BZ #13583]
69994         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69995         Clean up HAS_* macros.
69996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69997         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69998         possible.
69999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70000         HAS_AVX.
70001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70002         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70003         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70004         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70005         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70007 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70009         * elf/tst-unique3.cc (gets): Remove declaration.
70010         * elf/tst-unique3lib.cc (gets): Likewise.
70011         * elf/tst-unique3lib2.cc (gets): Likewise.
70012         * elf/tst-unique4.cc (gets): Likewise.
70014 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70016         * include/stdio.h: Add C++ protection.  Add gets declarations and
70017         definitions.
70018         * debug/tst-chk1.c: Don't declare gets here.
70019         * stdio-common/tst-gets.c: Likewise.
70021 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70023         * posix/glob: Remove directory.
70025 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70027         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70029 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70031         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70032         of the non-standard EPFNOSUPPORT.
70034 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70036         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70037         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70038         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70040 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70042         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70044 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70046         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70047         transient errors.
70048         * nscd/grpcache.c (cache_addgr): Likewise.
70049         * nscd/hstcache.c (cache_addhst): Likewise.
70050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70051         * nscd/pwdcache.c (cache_addpw): Likewise.
70052         * nscd/servicescache.c (cache_addserv): Likewise.
70054 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70056         * malloc/malloc.c: Various cleanups.
70057         * malloc/hooks.c: Likewise.
70059         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70060         * stdlib/bug-fmtmsg1.c: New file.
70062         * stdlib/fmtmsg.c (init): Add missing unlock.
70063         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70065 2012-01-12  Marek Polacek  <polacek@redhat.com>
70067         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70068         and _GNU_SOURCE.
70070 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70072         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70073         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70074         macro to ensure uniqueness of label name.
70075         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70076         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70078 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70080         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70082         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70083         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70085         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70087 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70089         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70091         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70092         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70095         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70097         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70098         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70099         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70102         * math/bits/math-finite.h: Add ldexp support.
70104 2012-01-10  Marek Polacek  <polacek@redhat.com>
70106         * locale/programs/localedef.h (show_archive_content): Add noreturn
70107         attribute.
70109 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70111         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70115         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70117         * io/Makefile (headers): Add bits/poll2.h.
70119 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70122         typo #include statement.
70124 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70126         * include/sys/cdefs.h: Define __attribute_alloc_size.
70127         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70128         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70129         * elf/pldd.c: Likewise.
70130         * iconv/iconv_charmap.c: Likewise.
70131         * iconv/iconvconfig.c: Likewise.
70132         * iconv/strtab.c: Likewise.
70133         * locale/programs/locale.c: Likewise.
70134         * locale/programs/localedef.h: Likewise.
70135         * locale/programs/simple-hash.c: Likewise.
70136         * nscd/nscd.h: Likewise.
70137         * nss/makedb.c: Likewise.
70138         * sysdeps/generic/ldconfig.h: Likewise.
70139         * locale/programs/localedef.c: Remove xmalloc prototype.
70140         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70142 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70144         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70145         appropriate.
70147 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70149         * math/Makefile (tests): Add tst-CMPLX.
70150         * math/tst-CMPLX.c: New file.
70152         * math/complex.h (CMPLXL): Fix typo.
70154         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70155         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70156         GLIBC_2.16.
70157         * debug/tst-chk1.c: Add poll and ppoll tests.
70158         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70159         * include/sys/poll.h: Add hidden proto for ppoll.
70160         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70161         * sysdeps/mach/hurd/ppoll.c: Likewise.
70162         * io/ppoll.c: Likewise.
70163         * debug/poll_chk.c: New file.
70164         * debug/ppoll_chk.c: New file.
70165         * include/bits/poll2.h: New file.
70166         * io/bits/poll2.h: New file.
70168         [BZ #1350]
70169         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70171         * configure.in: static is always set to yes.  Remove.
70172         * config.make.in: Don't set build-static.
70173         * Makeconfig: Remove use of build-static.
70174         * dlfcn/Makefile: Likewise.
70175         * elf/Makefile: Likewise.
70176         * math/Makefile: Likewise.
70177         * misc/Makefile: Likewise.
70178         * nptl/Makefile: Likewise.
70179         * sysdeps/mach/hurd/Makefile: Likewise.
70181         * configure.in: PWD_P is not used anymore.
70182         * config.make.in: Remove PWD_P entry.
70184         * configure.in: Remove last remnants of RANLIB.
70185         No need to check for signed size_t anymore.
70186         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70187         and IA-64.
70188         Remove __builtin_expect test because we require at least gcc 3.4.
70189         * aclocal.m4: Likewise.
70191         * wcsmbs/mbrtoc16.c: Implement using towc function.
70192         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70193         * wcsmbs/wcsmbsload.c: Likewise.
70194         * iconv/gconv_simple.c: Likewise.
70195         * iconv/gconv_int.h: Likewise.
70196         * iconv/gconv_builtin.h: Likewise.
70197         * iconv/iconv_prog.c: Remove CHAR16 handling.
70199         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70201         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70203         * configure.in: Remove --with-elf and --enable-bounded options.
70204         Dont set base_machine for ia64.  More non-ELF conditions removed.
70205         Remove testing and setting of leading underscore information.
70206         * config.make.in (build-bounded): Set to no.
70207         * config.h.in: Remove NO_UNDERSCORES entry.
70208         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70209         them.
70210         * csu/start.c: Remove !NO_UNDERSCORE code.
70211         * locale/localeinfo.h: Likewise.
70212         * sysdeps/generic/machine-gmon.h: Likewise.
70213         * sysdeps/generic/sysdep.h: Likewise.
70214         * sysdeps/i386/sysdep.h: Likewise.
70215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70216         * sysdeps/mach/sysdep.h: Likewise.
70217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70218         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70219         * sysdeps/sh/sysdep.h: Likewise.
70220         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70221         * sysdeps/unix/i386/sysdep.S: Likewise.
70222         * sysdeps/unix/sparc/start.c: Likewise.
70223         * sysdeps/unix/sparc/sysdep.S: Likewise.
70224         * sysdeps/unix/sparc/sysdep.h: Likewise.
70225         * sysdeps/unix/start.c: Likewise.
70226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70227         * sysdeps/x86_64/sysdep.h: Likewise.
70229 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70231         [BZ #13553]
70232         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70233         for non-gcc.
70234         * argp/argp-fmtstream.h: Use const instead __const.
70235         * argp/argp.h: Likewise.
70236         * assert/assert.h: Likewise.
70237         * bits/fenv.h: Likewise.
70238         * bits/sched.h: Likewise.
70239         * bits/sigset.h: Likewise.
70240         * bits/sigthread.h: Likewise.
70241         * catgets/nl_types.h: Likewise.
70242         * conform/data/pthread.h-data: Likewise.
70243         * crypt/crypt-private.h: Likewise.
70244         * crypt/crypt.h: Likewise.
70245         * crypt/crypt_util.c: Likewise.
70246         * ctype/ctype.h: Likewise.
70247         * debug/execinfo.h: Likewise.
70248         * debug/mbsnrtowcs_chk.c: Likewise.
70249         * debug/mbsrtowcs_chk.c: Likewise.
70250         * debug/wcsnrtombs_chk.c: Likewise.
70251         * debug/wcsrtombs_chk.c: Likewise.
70252         * debug/wcstombs_chk.c: Likewise.
70253         * dirent/dirent.h: Likewise.
70254         * dlfcn/dlfcn.h: Likewise.
70255         * elf/neededtest4.c: Likewise.
70256         * grp/grp.h: Likewise.
70257         * gshadow/gshadow.h: Likewise.
70258         * iconv/gconv.h: Likewise.
70259         * iconv/gconv_int.h: Likewise.
70260         * iconv/gconv_simple.c: Likewise.
70261         * iconv/iconv.h: Likewise.
70262         * iconv/loop.c: Likewise.
70263         * iconv/skeleton.c: Likewise.
70264         * include/aio.h: Likewise.
70265         * include/aliases.h: Likewise.
70266         * include/argz.h: Likewise.
70267         * include/arpa/inet.h: Likewise.
70268         * include/assert.h: Likewise.
70269         * include/dirent.h: Likewise.
70270         * include/dlfcn.h: Likewise.
70271         * include/execinfo.h: Likewise.
70272         * include/fcntl.h: Likewise.
70273         * include/fenv.h: Likewise.
70274         * include/glob.h: Likewise.
70275         * include/grp.h: Likewise.
70276         * include/libintl.h: Likewise.
70277         * include/mntent.h: Likewise.
70278         * include/netdb.h: Likewise.
70279         * include/pwd.h: Likewise.
70280         * include/rpc/netdb.h: Likewise.
70281         * include/sched.h: Likewise.
70282         * include/search.h: Likewise.
70283         * include/shadow.h: Likewise.
70284         * include/signal.h: Likewise.
70285         * include/stdio.h: Likewise.
70286         * include/stdlib.h: Likewise.
70287         * include/string.h: Likewise.
70288         * include/sys/socket.h: Likewise.
70289         * include/sys/stat.h: Likewise.
70290         * include/sys/statfs.h: Likewise.
70291         * include/sys/statvfs.h: Likewise.
70292         * include/sys/syslog.h: Likewise.
70293         * include/sys/time.h: Likewise.
70294         * include/sys/uio.h: Likewise.
70295         * include/time.h: Likewise.
70296         * include/unistd.h: Likewise.
70297         * include/utmp.h: Likewise.
70298         * include/wchar.h: Likewise.
70299         * include/wctype.h: Likewise.
70300         * inet/aliases.h: Likewise.
70301         * inet/arpa/inet.h: Likewise.
70302         * inet/netinet/ether.h: Likewise.
70303         * inet/netinet/in.h: Likewise.
70304         * intl/libintl.h: Likewise.
70305         * io/bits/fcntl2.h: Likewise.
70306         * io/fcntl.h: Likewise.
70307         * io/ftw.h: Likewise.
70308         * io/sys/poll.h: Likewise.
70309         * io/sys/stat.h: Likewise.
70310         * io/sys/statfs.h: Likewise.
70311         * io/sys/statvfs.h: Likewise.
70312         * io/utime.h: Likewise.
70313         * libio/bits/stdio.h: Likewise.
70314         * libio/bits/stdio2.h: Likewise.
70315         * libio/libio.h: Likewise.
70316         * libio/libioP.h: Likewise.
70317         * libio/stdio.h: Likewise.
70318         * locale/lc-ctype.c: Likewise.
70319         * locale/locale.h: Likewise.
70320         * login/utmp.h: Likewise.
70321         * malloc/arena.c: Likewise.
70322         * malloc/malloc.c: Likewise.
70323         * malloc/malloc.h: Likewise.
70324         * malloc/mcheck.c: Likewise.
70325         * malloc/mtrace.c: Likewise.
70326         * math/bits/mathcalls.h: Likewise.
70327         * math/fenv.h: Likewise.
70328         * math/math_private.h: Likewise.
70329         * misc/bits/error.h: Likewise.
70330         * misc/bits/syslog.h: Likewise.
70331         * misc/err.h: Likewise.
70332         * misc/error.h: Likewise.
70333         * misc/fstab.h: Likewise.
70334         * misc/mntent.h: Likewise.
70335         * misc/regexp.h: Likewise.
70336         * misc/search.h: Likewise.
70337         * misc/sgtty.h: Likewise.
70338         * misc/sys/mman.h: Likewise.
70339         * misc/sys/syslog.h: Likewise.
70340         * misc/sys/uio.h: Likewise.
70341         * misc/sys/xattr.h: Likewise.
70342         * misc/ttyent.h: Likewise.
70343         * nis/rpcsvc/ypclnt.h: Likewise.
70344         * nss/nss.h: Likewise.
70345         * posix/bits/unistd.h: Likewise.
70346         * posix/fnmatch.h: Likewise.
70347         * posix/glob.h: Likewise.
70348         * posix/sched.h: Likewise.
70349         * posix/spawn.h: Likewise.
70350         * posix/sys/wait.h: Likewise.
70351         * posix/unistd.h: Likewise.
70352         * posix/wordexp.h: Likewise.
70353         * pwd/pwd.h: Likewise.
70354         * resolv/netdb.h: Likewise.
70355         * resource/sys/resource.h: Likewise.
70356         * rt/aio.h: Likewise.
70357         * rt/bits/mqueue2.h: Likewise.
70358         * rt/mqueue.h: Likewise.
70359         * shadow/shadow.h: Likewise.
70360         * signal/signal.h: Likewise.
70361         * socket/send.c: Likewise.
70362         * socket/sendto.c: Likewise.
70363         * socket/sys/socket.h: Likewise.
70364         * stdio-common/printf.h: Likewise.
70365         * stdlib/bits/stdlib.h: Likewise.
70366         * stdlib/fmtmsg.h: Likewise.
70367         * stdlib/monetary.h: Likewise.
70368         * stdlib/stdlib.h: Likewise.
70369         * stdlib/ucontext.h: Likewise.
70370         * streams/stropts.h: Likewise.
70371         * string/argz.h: Likewise.
70372         * string/bits/string2.h: Likewise.
70373         * string/string.h: Likewise.
70374         * string/strings.h: Likewise.
70375         * sunrpc/rpc/auth.h: Likewise.
70376         * sunrpc/rpc/auth_des.h: Likewise.
70377         * sunrpc/rpc/clnt.h: Likewise.
70378         * sunrpc/rpc/netdb.h: Likewise.
70379         * sunrpc/rpc/pmap_clnt.h: Likewise.
70380         * sunrpc/rpc/xdr.h: Likewise.
70381         * sysdeps/generic/inttypes.h: Likewise.
70382         * sysdeps/generic/net/if.h: Likewise.
70383         * sysdeps/generic/sys/swap.h: Likewise.
70384         * sysdeps/gnu/net/if.h: Likewise.
70385         * sysdeps/gnu/utmpx.h: Likewise.
70386         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70387         * sysdeps/i386/i486/bits/string.h: Likewise.
70388         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70389         * sysdeps/s390/bits/string.h: Likewise.
70390         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70391         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70392         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70393         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70394         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70395         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70396         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70397         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70398         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70399         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70400         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70401         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70402         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70403         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70404         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70405         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70406         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70411         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70412         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70413         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70414         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70415         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70416         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70417         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70418         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70419         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70420         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70421         * sysvipc/sys/ipc.h: Likewise.
70422         * sysvipc/sys/msg.h: Likewise.
70423         * sysvipc/sys/sem.h: Likewise.
70424         * sysvipc/sys/shm.h: Likewise.
70425         * termios/termios.h: Likewise.
70426         * time/sys/time.h: Likewise.
70427         * time/time.h: Likewise.
70428         * wcsmbs/bits/wchar2.h: Likewise.
70429         * wcsmbs/uchar.h: Likewise.
70430         * wcsmbs/wchar.h: Likewise.
70431         * wctype/wctype.h: Likewise.
70433         [BZ #13551]
70434         * Makeconfig: Remove all but ELF support including AIX support.
70435         * Makerules: Likewise.
70436         * config.h.in: Likewise.
70437         * config.make.in: Likewise.
70438         * configure: Likewise.
70439         * configure.in: Likewise.
70440         * csu/Makefile: Likewise.
70441         * csu/version.c: Likewise.
70442         * debug/Makefile: Likewise.
70443         * dlfcn/Makefile: Likewise.
70444         * elf/Makefile: Likewise.
70445         * extra-lib.mk: Likewise.
70446         * iconv/Makefile: Likewise.
70447         * include/libc-symbols.h: Likewise.
70448         * include/shlib-compat.h: Likewise.
70449         * resolv/Makefile: Likewise.
70450         * resolv/res_libc.c: Likewise.
70451         * rt/Makefile: Likewise.
70452         * sysdeps/i386/asm-syntax.h: Likewise.
70453         * sysdeps/i386/sysdep.h: Likewise.
70454         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70455         * sysdeps/mach/sysdep.h: Likewise.
70456         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70457         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70458         * sysdeps/s390/asm-syntax.h: Likewise.
70459         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70461         * sysdeps/sh/sysdep.h: Likewise.
70462         * sysdeps/unix/sparc/sysdep.h: Likewise.
70463         * sysdeps/wordsize-32/divdi3.c: Likewise.
70464         * sysdeps/x86_64/sysdep.h: Likewise.
70466         * argp/Versions: Remove _argp_unlock_xxx.
70468         [BZ #13559]
70469         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70470         * abilist/libBrokenLocale.abilist: Likewise.
70471         * abilist/libanl.abilist: Likewise.
70472         * abilist/libc.abilist: Likewise.
70473         * abilist/libcrypt.abilist: Likewise.
70474         * abilist/libdl.abilist: Likewise.
70475         * abilist/libm.abilist: Likewise.
70476         * abilist/libnsl.abilist: Likewise.
70477         * abilist/libpthread.abilist: Likewise.
70478         * abilist/libresolv.abilist: Likewise.
70479         * abilist/librt.abilist: Likewise.
70480         * abilist/libthread_db.abilist: Likewise.
70481         * abilist/libutil.abilist: Likewise.
70482         * abilist/libnss_db.abilist: New file.
70484         * scripts/abilist.awk: Add support for indirect functions.
70486         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70488         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70490         * shlib-versions: Remove entries for ports architectures.
70492         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70493         files in ports.
70494         * elf/stackguard-macros.h: Remove support for IA-64.
70495         * elf/tst-auditmod1.c: Likewise.
70496         * sysdeps/generic/ldsodefs.h: Likewise.
70498         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70499         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70500         configure files.
70502         [BZ #13552]
70503         * configure.in: Remove --enable-omitfp support.
70504         * FAQ.in: Adjust.
70505         * config.make.in: Likewise.
70506         * Makeconfig: Likewise.
70507         * manual/install.texi: Likewise.
70509         In case anyone cares, the IA-64 architecture could move to ports.
70510         * sysdeps/ia64/*: Removed.
70511         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70512         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70514         [BZ #13555]
70515         * configure.in: Remove entries for unsupported architectures.
70517         [BZ #13533]
70518         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70519         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70520         routines.
70521         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70522         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70523         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70524         fall back to using wcrtomb.
70525         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70526         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70527         renaming.
70528         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70529         * wcsmbs/tst-c16c32-1.c: New file.
70531         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70532         local variable.
70534         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70536         * elf/tst-unique3.cc: Add explicit declaration of gets.
70537         * elf/tst-unique3lib.cc: Likewise.
70538         * elf/tst-unique3lib2.cc: Likewise.
70539         * elf/tst-unique4.cc: Likewise.
70541         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70543 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70545         [BZ #13566]
70546         * assert/assert.h (static_assert): Don't define for C++.
70547         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70548         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70550 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70552         * iconv/loop.c (single loop): Fix assertion in storing of
70553         remaining bytes.
70555         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70557 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70559         * posix/getconf.c: Update copyright year.
70560         * nss/getent.c: Likewise.
70561         * nss/makedb.c: Likewise.
70562         * iconv/iconvconfig.c: Likewise.
70563         * iconv/iconv_prog.c: Likewise.
70564         * elf/ldconfig.c: Likewise.
70565         * elf/pldd.c: Likewise.
70566         * elf/sotruss.ksh: Likewise.
70567         * catgets/gencat.c: Likewise.
70568         * csu/version.c: Likewise.
70569         * elf/ldd.bash.in: Likewise.
70570         * elf/sprof.c (print_version): Likewise.
70571         * locale/programs/locale.c: Likewise.
70572         * locale/programs/localedef.c: Likewise.
70573         * login/programs/pt_chown.c: Likewise.
70574         * nscd/nscd.c (print_version): Likewise.
70575         * debug/xtrace.sh: Likewise.
70576         * malloc/memusage.sh: Likewise.
70577         * malloc/mtrace.pl: Likewise.
70578         * debug/catchsegv.sh: Likewise.
70580 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70582         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70583         pure attribute.
70585 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70587         [BZ #13533]
70588         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70589         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70590         transformations.
70591         * iconv/gconv_int.h: Likewise.
70592         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70593         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70594         from libc for GLIBC_2.16.
70595         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70596         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70597         * wcsmbs/uchar.h: Really define mbstate_t.
70598         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70599         * wcsmbs/c16rtomb.c: New file.
70600         * wcsmbs/mbrtoc16.c: New file.
70601         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70602         for C/POSIX locale.
70603         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70604         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70606         * wcsmbs/wchar.h: Add missing __restrict.
70608 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70610         [BZ #13532]
70611         * time/Makefile (routines): Add timespec_get.
70612         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70613         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70614         timespec for ISO C11.
70615         * time/timespec_get.c: New file.
70616         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70617         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70619         [BZ #13531]
70620         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70621         * stdlib/stdlib.h: Declare aligned_alloc.
70622         * Versions.def: Add GLIBC_2.16 for libc.
70623         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70625         [BZ 13527]
70626         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70627         ISO C11.
70629         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70630         code.
70632         [BZ #13528]
70633         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70635         [BZ #13529]
70636         * assert/assert.h (static_assert): Define.
70638         * version.h: Update for 2.16 development version.
70640         [BZ #13526]
70641         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70642         _ISOC11_SOURCE.
70644         * version.h (RELEASE): Bump for 2.15 release.
70645         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70647         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70648         Patch by Marek Polacek <mpolacek@redhat.com>.
70650         * bits/byteswap.h: Protect long long constants with __extension__.
70651         * sysdeps/i386/bits/byteswap.h: Likewise.
70652         * sysdeps/ia64/bits/byteswap.h: Likewise.
70653         * sysdeps/s390/bits/byteswap.h: Likewise.
70654         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70656 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70658         [BZ #13540]
70659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70660         destination buffer.
70661         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70663 2011-12-23  Marek Polacek  <polacek@redhat.com>
70665         * elf/dl-addr.c (determine_info): Add inline keyword.
70666         * elf/tst-auditmod4b.c (check_avx): Likewise.
70667         * elf/tst-auditmod6b.c (check_avx): Likewise.
70668         * elf/tst-auditmod6c.c (check_avx): Likewise.
70669         * elf/tst-auditmod7b.c (check_avx): Likewise.
70671 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70673         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70674         !__SSE_MATH__.
70676 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70678         [BZ #13540]
70679         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70680         processing for last bytes.
70682 2011-08-06  Bruno Haible  <bruno@clisp.org>
70684         [BZ #13061]
70685         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70686         U+0385, not to U+1FEE.
70688         [BZ #13062]
70689         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70690         entry for U+00A5 U+0301.
70692 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70694         [BZ #13166]
70695         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70696         buffer for the output is too small.
70698         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70699         optimization.
70701         [BZ #13185]
70702         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70703         SSE flags if possible.
70705 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70707         [BZ #13540]
70708         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70709         processing for last bytes.
70711 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70713         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70714         (syscall-list-default-options, syscall-list-default-condition)
70715         (syscall-list-includes): Define.
70716         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70717         list of ABIs and options and #if conditions for each ABI.  Do not
70718         handle common syscalls between ABIs specially.
70719         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70720         Remove.
70721         (syscall-list-variants, syscall-list-32bit-options)
70722         (syscall-list-32bit-condition, syscall-list-64bit-options)
70723         (syscall-list-64bit-condition): Define.
70724         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70725         (syscall-list-variants, syscall-list-32bit-options)
70726         (syscall-list-32bit-condition, syscall-list-64bit-options)
70727         (syscall-list-64bit-condition): Define.
70728         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70729         Remove.
70730         (syscall-list-variants, syscall-list-32bit-options)
70731         (syscall-list-32bit-condition, syscall-list-64bit-options)
70732         (syscall-list-64bit-condition): Define.
70733         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70734         Remove.
70735         (syscall-list-variants, syscall-list-32bit-options)
70736         (syscall-list-32bit-condition, syscall-list-64bit-options)
70737         (syscall-list-64bit-condition): Define.
70739 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70741         * locale/iso-639.def: Add brx entry.
70743         [BZ #13328]
70744         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70745         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70747         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70748         __feraiseexcept_renamed.
70750 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70752         [BZ #13538]
70753         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70754         EPOLLET with unsigned values.
70755         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70756         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70758         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70759         to large cancellation.
70760         * math/s_cacoshf.c: Likewise.
70761         * math/s_cacoshl.c: Likewise.
70763 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70765         [BZ #13305]
70766         [BZ #12786]
70767         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70768         * math/s_cacoshf.c: Likewise.
70769         * math/s_cacoshl.c: Likewise.
70771 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70773         [BZ #13439]
70774         * iconv/gconv.h: Define __GCONV_SWAP.
70775         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70776         * iconvdata/utf-16.c: Likewise.
70777         * iconvdata/utf-32.c: Likewise.
70779 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70781         [BZ #13524]
70782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70783         numerator after shifting it by one limb.
70785 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70787         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70788         under [__USE_EXTERN_INLINES].
70790 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70792         [BZ #13446]
70793         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70795 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70797         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70798         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70799         optimized code.
70800         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70802         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70803         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70804         for strncasecmp/strncasecmp_l compilation.
70805         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70806         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70808 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70810         [BZ #13484]
70811         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70812         of __asm__.
70814 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70816         [BZ #13506]
70817         * time/tzfile.c (__tzfile_read): Check values from file header.
70819 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70821         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70822         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70823         * powerpc/powerpc32/dl-start.S: Likewise.
70824         * powerpc/powerpc32/elf/start.S: Likewise.
70825         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70826         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70827         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70828         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70829         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70830         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70831         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70832         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70833         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70834         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70835         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70836         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70837         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70838         * powerpc/powerpc32/memset.S: Likewise.
70839         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70840         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70841         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70842         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70843         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70844         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70845         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70846         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70847         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70848         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70849         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70850         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70851         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70853 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70855         * math/libm-test.inc: Added more nearbyint tests.
70856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70861 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70863         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70864         FD_CLOEXEC.
70866 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70868         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70869         Add wcscpy-ssse3 wcscpy-c.
70870         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70871         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70872         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70873         * sysdeps/x86_64/wcschr.S: New file.
70874         * sysdeps/x86_64/wcsrchr.S: New file.
70875         * string/test-strcmp.c: Remove checking of wcscmp function for
70876         wrong alignments.
70877         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70878         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70879         wcsrchr-sse2 wcsrchr-c.
70880         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70881         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70882         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70883         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70884         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70885         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70886         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70887         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70888         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70889         * wcsmbc/wcschr.c (WCSCHR): New macro.
70891 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70893         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70894         * wcsmbs/test-wcsrchr.c: New file.
70895         * string/test-strrchr.c: Add wcsrchr support.
70896         (WIDE): New macro.
70897         * wcsmbs/test-wcscpy.c: New file.
70898         * string/test-strcpy.c: Add wcscpy support.
70899         (WIDE): New macro.
70901 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70903         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70904         the inner loop.
70906 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70908         [BZ #13472]
70909         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70911 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70914         Minor optimizations.
70916         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70917         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70918         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70920 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70922         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70923         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70924         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70925         for gcc to avoid warnings.
70926         * inet/Makefile (tests): Add tst-checks.
70927         * inet/tst-checks.c: New file.
70929         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70930         warning.
70932         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70933         __wmemcmp_sse2.
70935         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70936         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70938         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70940 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70942         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70943         problem.
70945         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70947 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70949         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70950         conditional on GCC version.
70951         (__arch_compare_and_exchange_val_8_acq)
70952         (__arch_compare_and_exchange_val_16_acq)
70953         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70954         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70955         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70957 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70959         * sysdeps/sh/backtrace.c: New file.
70961 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70963         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70964         parenthesis.
70966 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70968         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70969         falling back to utime.
70971 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70973         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70974         expectations for float.
70976 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70978         * locale/weight.h (findidx): Add parameter len.
70979         * locale/weightwc.h (findidx): Likewise.
70980         * posix/fnmatch_loop.c (FCT): Adjust caller.
70981         * posix/regcomp.c (build_equiv_class): Likewise.
70982         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70983         * posix/regexec.c (check_node_accept_bytes): Likewise.
70984         * string/strcoll_l.c (STRCOLL): Likewise.
70985         * string/strxfrm_l.c (STRXFRM): Likewise.
70987 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70989         * Makefile.in: Remove CVSOPT handling.
70990         * configure.in: Remove use of AC_REVISION.
70991         * iconvdata/Makefile (distribute): No need to filter out CVS.
70992         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70993         handling.
70995 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70998         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70999         [USE_AS_STRNCASECMP_L]: Likewise.
71000         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71001         NO_TLS_DIRECT_SEG_REFS.
71002         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71003         Fix argument offsets for non-PIC.
71004         [USE_AS_STRNCASECMP_L]: Likewise.
71005         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71006         NO_TLS_DIRECT_SEG_REFS.
71008 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71010         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71011         O_CLOEXEC.
71012         * locale/loadlocale.c (_nl_load_locale): Likewise.
71014 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71017         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71018         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71019         (SYSCALL_GETTIME): Set errno on error.
71021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71022         count references to noai6ai_cached.
71024 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71026         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71028         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71029         FD_CLOEXEC for /proc/self/maps.
71031         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71032         FD_CLOEXEC for /proc/meminfo.
71034         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71035         gai.conf.
71037         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71038         FD_CLOEXEC for given file.
71040         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71042         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71043         FD_CLOEXEC for /etc/hosts.
71044         (_gethtent): Likewise.
71046         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71048         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71049         cancellation and set FD_CLOEXEC for /etc/netgroup.
71051         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71052         reading /etc/publickey.
71054         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71055         allow cancellation when reading /etc/group.
71057         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71058         cancellation.
71059         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71061         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71062         when using data file.
71064         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71066         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71067         (write_nis_obj): Use "c" and "e" in fopen.
71069         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71071         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71073         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71075         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71077         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71078         locale.alias.
71080         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71082         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71084         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71086         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71087         file parsing and set FD_CLOEXEC.
71089 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71091         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71093 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71095         * malloc/arena.c (arena_get2): Don't call reused_arena when
71096         _int_new_arena failed.
71098 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71100         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71101         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71102         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71103         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71106         to compile strcasecmp and strncasecmp.
71107         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71108         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71112 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71114         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71115         locale-defines.sym to gen-as-const-headers.
71116         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71117         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71119         to compile strcasecmp and strncasecmp.
71120         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71121         strcasecmp_l and strncasecmp_l.
71122         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71123         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71124         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71125         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71126         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71127         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71128         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71129         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71130         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71131         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71132         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71134 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71136         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71137         result of SYSDEP_GETTIME_CPU to retval.
71138         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71139         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71141         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71142         variable.
71144         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71145         mantissa words.
71146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71149         from unused variable.
71151         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71152         DWARF definitions.
71153         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71154         for assembling.
71156         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71157         over namespaces.
71159         * sunrpc/rpc_prot.c (rejected): Fix case value.
71161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71162         unsigned long long int to avoid warnings in shift.
71164         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71165         of use of trans.
71166         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71167         variable tmp.
71169         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71170         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71171         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71173         * nis/nis_table.c (nis_list): Use variable of correct type for
71174         result of __follow_path call.
71176 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71178         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71179         of math functions ceil, trunc, floor, round, and sqrt, when
71180         avaliable on the platform.
71181         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71182         name clash.
71183         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71184         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71185         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71187 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71189         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71190         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71192 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71194         * include/unistd.h: Fix __readlink return type.
71195         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71197 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71199         * stdlib/ucontext.h: Undo last change for makecontext.
71201 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71203         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71205         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71206         * setjmp/setjmp.h: Mark functions as non-leaf.
71207         * setjmp/bits/setjmp2.h: Likewise.
71208         * stdlib/ucontext.h: Likewise.
71210 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71212         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71213         (reused_arena): Don't check arena limit.
71214         (arena_get2): Atomically check arena limit.
71216 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71218         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71219         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71221         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71222         instructions.
71224 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71226         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71227         handler when locking.
71229         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71230         Fix size of allocated buffer.
71232 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71234         [BZ #10103]
71235         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71236         declarations for long double functions.
71237         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71239         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71241 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71243         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71244         installed.
71246         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71247         is disabled.
71249 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71251         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71253 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71255         * include/alloca.h (stackinfo_alloca_round): Define.
71256         (extend_alloca): Use it.
71257         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71258         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71259         here.
71261         * scripts/check-local-headers.sh: Ignore libaudit.h.
71263         * nscd/Makefile (extra-objs): Make recursively expanded.
71265 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71267         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71270         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71271         * posix/tst-rfc3484-2.c: Likewise.
71272         * posix/tst-rfc3484-3.c: Likewise.
71274         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71275         process_vm_writev.
71276         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71277         process_vm_writev.
71278         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71279         process_vm_writev from libc using GLIBC_2.15 version.
71281         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71283 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71285         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71286         stack usage.
71288 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71290         [BZ #13367]
71291         * nss/getent.c (initgroups_keys): Show error message in case no group
71292         names are given.
71294         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71295         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71296         __bump_nl_timestamp.
71297         * nscd/connections (nscd_init): When host database is served open
71298         netlink socket and request notification about configuration changes.
71299         (main_loop_poll): Track netlink file descriptor and bump timestamp
71300         in case data becomes available.
71301         (main_loop_epoll): Likewise.
71302         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71303         (database_pers_head): Add extra_data fileds.
71304         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71305         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71306         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71307         Adjust caller.
71308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71309         in6ai data, call __free_in6ai.
71310         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71311         Add -DHAVE_NETLINK.
71312         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71313         interface information.  Reuse previous data if netlink timestamp
71314         is not changed.
71315         (__bump_nl_timestamp): New function.
71316         (__free_in6ai): New function.
71318 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71320         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71321         close_not_cancel_no_status here.
71322         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71324 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71326         [BZ #13276]
71327         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71328         return value.
71330         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71331         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71332         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71334 2011-07-03  Andreas Jaeger  <aj@suse.de>
71336         [BZ #10709]
71337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71338         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71339         * math/libm-test.inc (sin_test): Add test case.
71341 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71343         [BZ #13337]
71344         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71345         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71347         * elf/chroot_canon.c (chroot_canon): Cleanups.
71349         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71351         [BZ #13335]
71352         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71353         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71355         * string/test-strchr.c: Make usable for strchrnul testing.
71356         * string/test-strchrnul.c: New file.
71357         * string/Makefile (strop-tests): Add strchrnul.
71359         * po/it.po: Update from translation team.
71360         * po/es.po: Likewise.
71362 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71365         the three constants needed as parameters.  Drop the others.
71366         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71367         __m128i_strloadu_tolower.
71368         Create and initialize variable zero and use it in all the places
71369         where _mm_setzero_si128 was used.
71371         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71372         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71373         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71374         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71375         anymore.
71376         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71377         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71378         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71379         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71380         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71381         __mpranred, __mptan.
71382         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71383         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71384         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71385         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71386         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71387         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71389         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71390         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71392 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71394         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71395         redefine if SHARED.
71396         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71399         wide char related routines to wcsmbs subdir.
71401 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71403         [BZ #13344]
71404         * misc/sys/cdefs.h (__THROWNL): Define.
71405         * posix/unistd.h: Use __THREADNL instead of __THREAD
71406         for memory synchronization functions.
71408 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71410         [BZ #13349]
71411         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71412         doesn't exist.
71413         * manual/stdio.texi (Obstack Streams): Node removed.
71415 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71417         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71418         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71419         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71421         * math/math_private.h (math_force_eval): Allow non-addressable
71422         arguments.
71423         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71425 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71427         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71428         file is not needed.
71430         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71432         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71433         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71434         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71435         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71436         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71437         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71438         Add AVX variants.
71439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71443         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71444         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71445         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71446         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71447         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71448         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71449         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71450         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71451         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71452         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71455         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71456         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71457         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71459         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71460         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71463         place.  Use VEX encoding when compiling for AVX.
71465 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71467         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71468         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71470         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71474         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71475         useless if() expression.
71476         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71477         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71478         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71479         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71480         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71481         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71482         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71483         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71485         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71486         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71487         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71488         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71489         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71490         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71491         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71492         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71493         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71494         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71496         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71498 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71500         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71501         condition.
71502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71504 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71506         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71507         .text section.  Avoid duplicate constants.
71508         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71510         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71512         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71516         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71517         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71518         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71519         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71520         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71521         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71522         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71523         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71525         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71526         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71527         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71528         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71529         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71532         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71533         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71534         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71535         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71536         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71537         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71538         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71539         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71540         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71541         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71542         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71543         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71544         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71545         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71546         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71547         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71549         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71550         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71551         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71552         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71554 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71556         * sysdeps/x86_64/dla.h: Move to ...
71557         * sysdeps/x86_64/fpu/dla.h: ...here.
71558         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71559         situations.  Use __builtin_fma only for gcc 4.6 and up.
71561         * config.make.in: Add have-mfma4 entry.
71562         * configure.in: Substitute libc_cv_cc_fma4.
71563         * math/Makefile (dbl-only-routines): Add sincostab.
71564         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71565         Use __sincostab not sincos.
71566         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71567         name is a macro.
71568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71572         using __copysign.
71573         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71574         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71575         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71576         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71577         and __inv.
71578         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71579         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71580         __copysign.
71581         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71582         define aliases when function name is a macro.
71583         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71584         sysdeps/ieee754/dbl-64/sincos.tbl.
71585         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71586         fma4-enabled routines.
71587         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71588         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71589         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71590         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71594         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71595         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71596         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71597         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71598         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71599         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71600         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71602         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71603         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71604         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71605         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71606         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71607         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71608         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71610         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71612         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71613         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71614         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71615         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71616         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71618         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71619         rename.
71620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71623         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71625         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71626         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71629 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71631         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71633 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71637         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71638         prediction.
71639         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71641         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71642         Remove unused variable magic_bits.
71643         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71645         * string/strnlen.c: Define and use STRNLEN macro.
71646         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71647         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71649         * wcsmbs/wcslen.c: Define and use WCSLEN.
71650         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71651         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71652         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71653         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71654         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71655         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71656         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71658 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71661         strnlen-sse2-no-bsf.
71662         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71664         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71665         Add strnlen support.
71666         (USE_AS_STRNLEN): New macro.
71667         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71669         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71670         * sysdeps/x86_64/wcslen.S: New file.
71672 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71674         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71675         XMM-moves are used for copying on small sizes.
71677 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71679         * wcsmbs/Makefile (strop-tests): Add wcschr.
71680         * wcsmbs/test-wcschr.c: New file.
71681         * string/test-strchr.c: Update.
71682         Add wcschr support.
71683         (WIDE): New macro.
71685 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71687         * wcsmbs/Makefile (strop-tests): Add wcslen.
71688         * wcsmbs/test-wcslen.c: New file.
71689         * string/test-strlen.c: Update.
71690         Add wcslen support.
71691         (WIDE): New macro.
71693 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71695         * po/it.po: Update from translation team.
71697 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71699         * sysdeps/x86_64/wcscmp.S: Update.
71700         Fix wrong comparison semantics.
71701         wcscmp shall use signed comparison not unsigned.
71702         Don't use substraction to avoid overflow bug.
71703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71704         * wcsmbc/wcscmp.c: Likewise.
71705         * string/test-strcmp.c: Likewise.
71706         Add new tests to check cases with negative values.
71708 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71710         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71711         * sysdeps/x86_64/dla.h: ...here.  New file.
71712         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71717         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71722 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71725         __ynl_finite aliases.
71727 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71731         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71732         define DLA_FMA.
71733         [DLA_FMA] (EMULV): Use DLA_FMA.
71734         [DLA_FMA] (MUL12): Use EMULV.
71735         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71736         that are not needed.
71737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71745 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71747         * math/s_nan.c: Undef __nan.
71748         * math/s_nanf.c: Undef __nanf.
71749         * math/s_nanl.c: Undef __nanl.
71750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71751         "math_private.h".
71753 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71755         * math/s_catan.c: Add branch predictions.
71756         * math/s_catanf.c: Likewise.
71757         * math/s_catanh.c: Likewise.
71758         * math/s_catanhf.c: Likewise.
71759         * math/s_catanhl.c: Likewise.
71760         * math/s_catanl.c: Likewise.
71761         * math/s_cexp.c: Likewise.
71762         * math/s_cexpf.c: Likewise.
71763         * math/s_cexpl.c: Likewise.
71764         * math/s_clog.c: Likewise.
71765         * math/s_clog10.c: Likewise.
71766         * math/s_clog10f.c: Likewise.
71767         * math/s_clog10l.c: Likewise.
71768         * math/s_clogf.c: Likewise.
71769         * math/s_clogl.c: Likewise.
71770         * math/s_csqrt.c: Likewise.
71771         * math/s_csqrtf.c: Likewise.
71772         * math/s_csqrtl.c: Likewise.
71773         * math/s_ctanf.c: Likewise.
71774         * math/s_ctanh.c: Likewise.
71775         * math/s_ctanhf.c: Likewise.
71776         * math/s_ctanhl.c: Likewise.
71777         * math/s_ctanl.c: Likewise.
71779         * math/math_private.h: Define __nan, __nanf, __nanl.
71780         * math/s_cacosh.c: Include <math_private.h>.
71781         * math/s_cacoshl.c: Likewise.
71782         * math/s_casinh.c: Likewise.
71783         * math/s_casinhf.c: Likewise.
71784         * math/s_casinhl.c: Likewise.
71785         * math/s_ccos.c: Rely entire on ccosh.
71786         * math/s_ccosf.c: Rely entire on ccoshf.
71787         * math/s_ccosl.c: Rely entirely on ccoshl.
71788         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71789         Remove tests for FE_INVALID.
71790         * math/s_ccoshf.c: Likewise.
71791         * math/s_ccoshl.c: Likewise.
71792         * math/s_csin.c: Likewise.
71793         * math/s_csinf.c: Likewise.
71794         * math/s_csinh.c Likewise.
71795         * math/s_csinhf.c: Likewise.
71796         * math/s_csinhl.c: Likewise.
71797         * math/s_csinl.c: Likewise.
71798         * math/s_ctan.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71800         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71801         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71803 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71806         compilation problems.
71808         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71809         __builtin_expect.
71811 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71813         * sysdeps/i386/configure.in: Test for -mfma4 option.
71814         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71815         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71816         COMMON_CPUID_INDEX_80000001.
71817         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71818         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71819         use it if FMA3 is not supported.
71820         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71822         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71825 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71827         [BZ #12892]
71828         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71829         it would create a cycle with a link time dependency.
71831 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71833         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71834         instruction.
71835         * string/Makefile (strop-tests): Add rawmemchr.
71836         * string/test-rawmemchr.c: New file.
71838         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71840         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71841         when compiling str{,n}casecmp and when AVX is available.  Hook up
71842         new optimized code in initializers.
71844 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71846         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71847         __feraiseexcept instead of feraiseexcept.
71849 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71851         * math/math_private.h: Define defaults for libc_fetestexcept and
71852         libc_feupdateenv.
71853         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71854         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71855         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71856         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71857         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71858         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71859         libc_fetestexcept and libc_feupdateenv.
71861         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71862         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71863         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71864         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71865         libc_feholdexcept_setround.
71867         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71868         Add s_nearbyint-c and s_nearbyintf-c.
71869         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71870         nearbyintf inlines.
71871         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71872         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71873         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71874         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71876         * math/math_private.h: Define defaults for libc_fegetround,
71877         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71878         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71879         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71881         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71882         standard functions.
71883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71884         Remove comments and hacks for old compiler versions.
71885         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71886         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71887         libc_feholdexceptl.
71889 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71891         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71892         (__feraiseexcept_renamed): Add __NTH.
71893         (feraiseexcept): Add __NTH.  Rename local variables to fix
71894         namespace violations.
71896 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71898         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71900         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71902         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71903         recently added interfaces.
71904         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71906         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71907         about macro parameter expansion.
71909         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71910         __NO_MATH_INLINES is defined.  Cleanups.
71912         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71913         and __floorf is target has SSE4.1.
71914         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71915         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71916         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71917         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71919         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71920         name.
71921         (floorf): Likewise.
71923         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71925 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71927         * misc/sys/cdefs.h: Fix last change.
71929         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71930         database lookup.
71932 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71934         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71936         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71938         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71939         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71940         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71941         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71942         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71943         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71944         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71945         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71946         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71947         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71948         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71949         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71950         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71951         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71952         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71953         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71954         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71955         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71956         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71957         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71959         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71960         ceil, ceilf, floor, floorf.
71962         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71963         Perform IRELATIVE relocations last.
71965         * elf/do-rel.h: Add another parameter nrelative, replacing the
71966         local variable with the same name.  Change name of the function
71967         to end in Rel or Rela (uppercase).
71968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71969         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71970         elf_dynamic_do_##reloc function.
71972 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71974         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71975         is sufficient, at least on modern CPUs.
71977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71979         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71980         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71982         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71983         __expl_finite.
71984         * math/bits/math-finite.h: Add entries for exp.
71985         * math/e_expl.c: Add __*_finite alias.
71986         * sysdeps/i386/fpu/e_exp.S: Likewise.
71987         * sysdeps/i386/fpu/e_expf.S: Likewise.
71988         * sysdeps/i386/fpu/e_expl.c: Likewise.
71989         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71991         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71992         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71993         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71995         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71997         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71998         is sufficient, at least on modern CPUs.
72000         * ctype/ctype-info.c (__ctype_init): Define.
72001         * include/ctype.h (__ctype_init): Declare.
72002         (__ctype_b_loc): The variable is always initialized.
72003         (__ctype_toupper_loc): Likewise.
72004         (__ctype_tolower_loc): Likewise.
72005         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72006         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72008 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72010         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72012         * configure.in: Also look in $cxxmachine/include for C++ system
72013         headers.
72015 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72017         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72018         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72019         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72020         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72021         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72022         (USE_AS_WMEMCMP): New macro.
72023         Fixing indents.
72024         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72025         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72026         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72027         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72029         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72030         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72031         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72032         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72033         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72035         (USE_AS_WMEMCMP): New macro.
72036         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72037         * sysdeps/string/test-memcmp.c: Update.
72038         Fix simple_wmemcmp.
72039         Add new tests.
72040         * wcsmbs/wmemcmp.c: Update.
72041         (WMEMCMP): New macro.
72042         Fix overflow bug.
72044 2011-10-12  Andreas Jaeger  <aj@suse.de>
72046         [BZ #13268]
72047         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72049 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72051         * libio/iofwide.c (do_length): Avoid warning.
72053         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72055 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72057         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72059         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72060         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72061         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72062         * sysdeps/i386/i686/fpu/e_log.S: New file.
72063         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72064         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72066         * ctype/ctype.h: Add support for inlined isXXX functions when
72067         compiling C++ code.
72069 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72071         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72073         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72075 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72077         [BZ #13291]
72078         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72080 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72082         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72083         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72084         feraiseexcept.
72086         * sysdeps/x86_64/memrchr.S: Check for zero size.
72088         * string/stratcliff.c: Add memrchr tests.
72090 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72092         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72093         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72094         rawmemchr-sse2 rawmemchr-sse2-bsf.
72095         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72096         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72097         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72098         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72099         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72100         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72101         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72102         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72103         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72104         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72105         * string/memrchr.c (MEMRCHR): New macro.
72107 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72109         Add integration with gcc's -ffinite-math-only and optimize wrapper
72110         functions in libm.
72111         * Versions.def: Define GLIBC_2.15 version for libm.
72112         * math/Makefile (headers): Add bits/math-finite.h.
72113         * math/bits/math-finite.h: New file.
72114         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72115         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72116         * math/e_acoshl.c: Add __*_finite alias.
72117         * math/e_acosl.c: Likewise.
72118         * math/e_asinl.c: Likewise.
72119         * math/e_atan2l.c: Likewise.
72120         * math/e_atanhl.c: Likewise.
72121         * math/e_coshl.c: Likewise.
72122         * math/e_exp10.c: Likewise.
72123         * math/e_exp10f.c: Likewise.
72124         * math/e_exp10l.c: Likewise.
72125         * math/e_exp2l.c: Likewise.
72126         * math/e_fmodl.c: Likewise.
72127         * math/e_gammal_r.c: Likewise.
72128         * math/e_hypotl.c: Likewise.
72129         * math/e_j0l.c: Likewise.
72130         * math/e_j1l.c: Likewise.
72131         * math/e_jnl.c: Likewise.
72132         * math/e_lgammal_r.c: Likewise.
72133         * math/e_log10l.c: Likewise.
72134         * math/e_log2l.c: Likewise.
72135         * math/e_logl.c: Likewise.
72136         * math/e_powl.c: Likewise.
72137         * math/e_sinhl.c: Likewise.
72138         * math/e_sqrtl.c: Likewise.
72139         * math/e_scalb.c: Completely rewritten and optimized.
72140         * math/e_scalbf.c: Likewise.
72141         * math/e_scalbl.c: Likewise.
72142         * math/w_acos.c: Likewise.
72143         * math/w_acosf.c: Likewise.
72144         * math/w_acosl.c: Likewise.
72145         * math/w_acosh.c: Likewise.
72146         * math/w_acoshf.c: Likewise.
72147         * math/w_acoshl.c: Likewise.
72148         * math/w_asin.c: Likewise.
72149         * math/w_asinf.c: Likewise.
72150         * math/w_asinl.c: Likewise.
72151         * math/w_atan2.c: Likewise.
72152         * math/w_atan2f.c: Likewise.
72153         * math/w_atan2l.c: Likewise.
72154         * math/w_atanh.c: Likewise.
72155         * math/w_atanhf.c: Likewise.
72156         * math/w_atanhl.c: Likewise.
72157         * math/w_exp10.c: Likewise.
72158         * math/w_exp10f.c: Likewise.
72159         * math/w_exp10l.c: Likewise.
72160         * math/w_fmod.c: Likewise.
72161         * math/w_fmodf.c: Likewise.
72162         * math/w_fmodl.c: Likewise.
72163         * math/w_j0.c: Likewise.
72164         * math/w_j0f.c: Likewise.
72165         * math/w_j0l.c: Likewise.
72166         * math/w_j1.c: Likewise.
72167         * math/w_j1f.c: Likewise.
72168         * math/w_j1l.c: Likewise.
72169         * math/w_jn.c: Likewise.
72170         * math/w_jnf.c: Likewise.
72171         * math/w_log.c: Likewise.
72172         * math/w_logf.c: Likewise.
72173         * math/w_logl.c: Likewise.
72174         * math/w_log10.c: Likewise.
72175         * math/w_log10f.c: Likewise.
72176         * math/w_log10l.c: Likewise.
72177         * math/w_log2.c: Likewise.
72178         * math/w_log2f.c: Likewise.
72179         * math/w_log2l.c: Likewise.
72180         * math/w_pow.c: Likewise.
72181         * math/w_powf.c: Likewise.
72182         * math/w_powl.c: Likewise.
72183         * math/w_remainder.c: Likewise.
72184         * math/w_remainderf.c: Likewise.
72185         * math/w_remainderl.c: Likewise.
72186         * math/w_scalb.c: Likewise.
72187         * math/w_scalbf.c: Likewise.
72188         * math/w_scalbl.c: Likewise.
72189         * math/w_sqrt.c: Likewise.
72190         * math/w_sqrtf.c: Likewise.
72191         * math/w_sqrtl.c: Likewise.
72192         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72193         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72194         used.
72195         * math/math_private.h: Declare __kernel_standard_f.
72196         * math/w_cosh.c: Remove cruft and optimize a bit.
72197         * math/w_coshf.c: Likewise.
72198         * math/w_coshl.c: Likewise.
72199         * math/w_exp2.c: Likewise.
72200         * math/w_exp2f.c: Likewise.
72201         * math/w_exp2l.c: Likewise.
72202         * math/w_hypot.c: Likewise.
72203         * math/w_hypotf.c: Likewise.
72204         * math/w_hypotl.c: Likewise.
72205         * math/w_lgamma.c: Likewise.
72206         * math/w_lgamma_r.c: Likewise.
72207         * math/w_lgammaf.c: Likewise.
72208         * math/w_lgammaf_r.c: Likewise.
72209         * math/w_lgammal.c: Likewise.
72210         * math/w_lgammal_r.c: Likewise.
72211         * math/w_sinh.c: Likewise.
72212         * math/w_sinhf.c: Likewise.
72213         * math/w_sinhl.c: Likewise.
72214         * math/w_tgamma.c: Likewise.
72215         * math/w_tgammaf.c: Likewise.
72216         * math/w_tgammal.c: Likewise.
72217         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72219         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72220         Minor optimizations.  Pretty printing.  Remove cruft.
72221         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72223         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72224         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72225         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72226         * sysdeps/i386/fpu/e_asin.S: Likewise.
72227         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72228         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72229         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72230         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72231         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72233         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72234         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72235         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72236         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72237         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72238         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72239         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72240         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72241         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72242         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72243         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72244         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72245         * sysdeps/i386/fpu/e_log.S: Likewise.
72246         * sysdeps/i386/fpu/e_log10.S: Likewise.
72247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72248         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72249         * sysdeps/i386/fpu/e_log2.S: Likewise.
72250         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72251         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72252         * sysdeps/i386/fpu/e_logf.S: Likewise.
72253         * sysdeps/i386/fpu/e_logl.S: Likewise.
72254         * sysdeps/i386/fpu/e_pow.S: Likewise.
72255         * sysdeps/i386/fpu/e_powf.S: Likewise.
72256         * sysdeps/i386/fpu/e_powl.S: Likewise.
72257         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72258         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72259         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72260         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72261         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72262         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72263         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72264         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72265         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72266         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72269         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72270         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72271         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72272         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72273         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72274         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72276         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72277         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72279         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72280         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72282         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72283         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72287         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72288         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72289         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72290         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72291         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72293         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72294         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72295         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72296         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72297         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72298         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72300         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72301         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72302         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72303         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72304         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72305         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72306         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72307         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72308         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72312         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72313         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72321         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72322         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72323         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72325         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72326         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72331         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72332         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72334         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72335         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72336         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72337         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72338         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72342         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72343         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72345         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72347         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72348         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72349         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72350         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72351         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72352         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72353         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72354         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72355         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72356         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72361         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72362         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72363         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72364         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72365         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72366         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72367         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72368         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72369         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72370         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72371         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72372         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72374         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72375         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72376         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72377         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72378         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72379         (__isnanf): Likewise.
72380         (__isinf_ns): Likewise.
72381         (__isinf_nsf): Likewise.
72382         (__finite): Likewise.
72383         (__finitef): Likewise.
72384         (__ieee754_sqrt): Define as macro.
72385         (__ieee754_sqrtf): Define as macro.
72386         (__ieee754_sqrtl): Define as macro.
72387         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72388         inlined copy.
72389         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72390         __FINITE_MATH_ONLY__ consistent.
72391         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72393 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72395         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72396         of rawmemchr.
72398         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72400 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72402         * po/ja.po: Update from translation team.
72404 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72406         * locale/programs/locarchive.c (prepare_address_space): New function.
72407         (create_archive, enlarge_archive, open_archive): Use it.
72409         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72410         inside [SHARED], where it is used.
72412         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72414         * nss/getent.c (netgroup_keys): Remove unused variable.
72415         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72417 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72419         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72420         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72424         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72425         * math/Makefile (libm-calls): Add s_isinf_ns.
72426         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72427         * math/multc3.c: Likewise.
72428         * math/s_casin.c: Likewise.
72429         * math/s_casinf.c: Likewise.
72430         * math/s_casinl.c: Likewise.
72431         * math/s_ccos.c: Likewise.
72432         * math/s_ccosf.c: Likewise.
72433         * math/s_ccosl.c: Likewise.
72434         * math/s_ctan.c: Likewise.
72435         * math/s_ctanf.c: Likewise.
72436         * math/s_ctanh.c: Likewise.
72437         * math/s_ctanhf.c: Likewise.
72438         * math/s_ctanhl.c: Likewise.
72439         * math/s_ctanl.c: Likewise.
72440         * math/w_fmod.c: Likewise.
72441         * math/w_fmodf.c: Likewise.
72442         * math/w_fmodl.c: Likewise.
72443         * math/w_remainder.c: Likewise.
72444         * math/w_remainderf.c: Likewise.
72445         * math/w_remainderl.c: Likewise.
72446         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72447         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72450         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72451         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72452         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72453         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72455         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72456         of the number.
72457         * stdio-common/printf_fphex.c: Likewise.
72458         * stdio-common/printf_size.c: Likewise.
72460         * math/e_exp10.c: Include math_private.h using <...> not "...".
72461         * math/e_exp10f.c: Likewise.
72462         * math/e_exp10l.c: Likewise.
72463         * math/e_exp2l.c: Likewise.
72464         * math/e_j0l.c: Likewise.
72465         * math/e_j1l.c: Likewise.
72466         * math/e_jnl.c: Likewise.
72467         * math/e_lgammal_r.c: Likewise.
72468         * math/e_rem_pio2l.c: Likewise.
72469         * math/e_scalb.c: Likewise.
72470         * math/e_scalbf.c: Likewise.
72471         * math/e_scalbl.c: Likewise.
72472         * math/k_cosl.c: Likewise.
72473         * math/k_sinl.c: Likewise.
72474         * math/k_tanl.c: Likewise.
72475         * math/s_cacoshf.c: Likewise.
72476         * math/s_catan.c: Likewise.
72477         * math/s_catanf.c: Likewise.
72478         * math/s_catanh.c: Likewise.
72479         * math/s_catanhf.c: Likewise.
72480         * math/s_catanhl.c: Likewise.
72481         * math/s_catanl.c: Likewise.
72482         * math/s_ccosh.c: Likewise.
72483         * math/s_ccoshf.c: Likewise.
72484         * math/s_ccoshl.c: Likewise.
72485         * math/s_cexp.c: Likewise.
72486         * math/s_cexpf.c: Likewise.
72487         * math/s_cexpl.c: Likewise.
72488         * math/s_clog.c: Likewise.
72489         * math/s_clog10.c: Likewise.
72490         * math/s_clog10f.c: Likewise.
72491         * math/s_clog10l.c: Likewise.
72492         * math/s_clogf.c: Likewise.
72493         * math/s_clogl.c: Likewise.
72494         * math/s_csin.c: Likewise.
72495         * math/s_csinf.c: Likewise.
72496         * math/s_csinh.c: Likewise.
72497         * math/s_csinhf.c: Likewise.
72498         * math/s_csinhl.c: Likewise.
72499         * math/s_csinl.c: Likewise.
72500         * math/s_csqrt.c: Likewise.
72501         * math/s_csqrtf.c: Likewise.
72502         * math/s_csqrtl.c: Likewise.
72503         * math/s_ctan.c: Likewise.
72504         * math/s_ctanf.c: Likewise.
72505         * math/s_ctanh.c: Likewise.
72506         * math/s_ctanhf.c: Likewise.
72507         * math/s_ctanhl.c: Likewise.
72508         * math/s_ctanl.c: Likewise.
72509         * math/s_ldexp.c: Likewise.
72510         * math/s_ldexpf.c: Likewise.
72511         * math/s_ldexpl.c: Likewise.
72512         * math/s_significand.c: Likewise.
72513         * math/s_significandf.c: Likewise.
72514         * math/s_significandl.c: Likewise.
72515         * math/w_acos.c: Likewise.
72516         * math/w_acosf.c: Likewise.
72517         * math/w_acosh.c: Likewise.
72518         * math/w_acoshf.c: Likewise.
72519         * math/w_acoshl.c: Likewise.
72520         * math/w_acosl.c: Likewise.
72521         * math/w_asin.c: Likewise.
72522         * math/w_asinf.c: Likewise.
72523         * math/w_asinl.c: Likewise.
72524         * math/w_atan2.c: Likewise.
72525         * math/w_atan2f.c: Likewise.
72526         * math/w_atan2l.c: Likewise.
72527         * math/w_atanh.c: Likewise.
72528         * math/w_atanhf.c: Likewise.
72529         * math/w_atanhl.c: Likewise.
72530         * math/w_cosh.c: Likewise.
72531         * math/w_coshf.c: Likewise.
72532         * math/w_coshl.c: Likewise.
72533         * math/w_dremf.c: Likewise.
72534         * math/w_exp10.c: Likewise.
72535         * math/w_exp10f.c: Likewise.
72536         * math/w_exp10l.c: Likewise.
72537         * math/w_exp2.c: Likewise.
72538         * math/w_exp2f.c: Likewise.
72539         * math/w_fmod.c: Likewise.
72540         * math/w_fmodf.c: Likewise.
72541         * math/w_fmodl.c: Likewise.
72542         * math/w_hypot.c: Likewise.
72543         * math/w_hypotf.c: Likewise.
72544         * math/w_hypotl.c: Likewise.
72545         * math/w_j0.c: Likewise.
72546         * math/w_j0f.c: Likewise.
72547         * math/w_j0l.c: Likewise.
72548         * math/w_j1.c: Likewise.
72549         * math/w_j1f.c: Likewise.
72550         * math/w_j1l.c: Likewise.
72551         * math/w_jn.c: Likewise.
72552         * math/w_jnf.c: Likewise.
72553         * math/w_jnl.c: Likewise.
72554         * math/w_lgamma.c: Likewise.
72555         * math/w_lgamma_r.c: Likewise.
72556         * math/w_lgammaf.c: Likewise.
72557         * math/w_lgammaf_r.c: Likewise.
72558         * math/w_lgammal.c: Likewise.
72559         * math/w_lgammal_r.c: Likewise.
72560         * math/w_log.c: Likewise.
72561         * math/w_log10.c: Likewise.
72562         * math/w_log10f.c: Likewise.
72563         * math/w_log10l.c: Likewise.
72564         * math/w_log2.c: Likewise.
72565         * math/w_log2f.c: Likewise.
72566         * math/w_log2l.c: Likewise.
72567         * math/w_logf.c: Likewise.
72568         * math/w_logl.c: Likewise.
72569         * math/w_pow.c: Likewise.
72570         * math/w_powf.c: Likewise.
72571         * math/w_powl.c: Likewise.
72572         * math/w_remainder.c: Likewise.
72573         * math/w_remainderf.c: Likewise.
72574         * math/w_remainderl.c: Likewise.
72575         * math/w_scalb.c: Likewise.
72576         * math/w_scalbf.c: Likewise.
72577         * math/w_scalbl.c: Likewise.
72578         * math/w_sinh.c: Likewise.
72579         * math/w_sinhf.c: Likewise.
72580         * math/w_sinhl.c: Likewise.
72581         * math/w_sqrt.c: Likewise.
72582         * math/w_sqrtf.c: Likewise.
72583         * math/w_sqrtl.c: Likewise.
72584         * math/w_tgamma.c: Likewise.
72585         * math/w_tgammaf.c: Likewise.
72586         * math/w_tgammal.c: Likewise.
72588         * po/ja.po: Update from translation team.
72590 2011-09-29  Andreas Jaeger  <aj@suse.de>
72592         [BZ #13179]
72593         * sunrpc/netname.c (netname2host): Fix logic.
72595         [BZ #6779]
72596         [BZ #6783]
72597         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72598         correctly.
72599         * math/w_remainder.c (__remainder): Likewise.
72600         * math/w_remainderf.c (__remainderf): Likewise.
72601         * math/libm-test.inc (remainder_test): Add test cases.
72603 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72605         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72606         sdiv_qrnnd.
72608 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72610         * string/test-memcmp.c: Avoid unncessary #defines.
72611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72613 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72615         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72616         Use new sse2 version for core i3 - i7 as it's faster
72617         than sse42 version.
72618         (bit_Prefer_PMINUB_for_stringop): New.
72619         * sysdeps/x86_64/rawmemchr.S: Update.
72620         Replace with faster SSE2 version.
72621         * sysdeps/x86_64/memrchr.S: New file.
72622         * sysdeps/x86_64/memchr.S: Update.
72623         Replace with faster SSE2 version.
72625 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72627         * elf/dl-load.c (lose): Add cast to avoid warning.
72629 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72631         * po/ca.po: Update from translation team.
72633         * inet/getnetgrent_r.c: Hook up nscd.
72634         * nscd/Makefile (routines): Add nscd_netgroup.
72635         (nscd-modules): Add netgroupcache.
72636         (CFLAGS-netgroupcache.c): Define.
72637         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72638         (cache_search): Add const to second parameter.
72639         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72640         INNETGR.
72641         (dbs): Add netgrdb entry.
72642         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72643         (verify_persistent_db): Handle netgrdb.
72644         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72645         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72646         GETFDNETGR.
72647         (netgroup_response_header): Define.
72648         (innetgroup_response_header): Define.
72649         (datahead): Add netgroup_response_header and innetgroup_response_header
72650         elements.
72651         * nscd/nscd.conf: Add entries for netgroup cache.
72652         * nscd/nscd.h (dbtype): Add netgrdb.
72653         (_PATH_NSCD_NETGROUP_DB): Define.
72654         (netgroup_iov_disabled): Declare.
72655         (xmalloc, xcalloc, xrealloc): Move declarations here.
72656         (cache_search): Adjust prototype.
72657         Add netgroup-related prototypes.
72658         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72659         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72660         (__nscd_innetgr): Declare.
72661         * nscd/selinux.c (perms): Use access_vector_t as element type and
72662         add netgroup-related initializers.
72663         * nscd/netgroupcache.c: New file.
72664         * nscd/nscd_netgroup.c: New file.
72665         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72666         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72667         For four parameters use innetgr.
72668         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72669         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72670         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72671         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72673         * nscd/connections.c (register_traced_file): Don't register file
72674         for disabled databases.
72676 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72678         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72680         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72681         from tree and freeing node.
72683 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72685         * nss/nsswitch.c (__nss_database_lookup): Handle
72686         nss_parse_service_list out of memory case.
72688 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72690         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72691         out of memory case.
72693 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72695         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72696         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72697         pass it down.
72698         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72699         elf_machine_rela, elf_machine_lazy_rel.
72700         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72701         (ELF_DYNAMIC_DO_REL): Likewise.
72702         (ELF_DYNAMIC_DO_RELA): Likewise.
72703         (ELF_DYNAMIC_RELOCATE): Likewise.
72704         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72705         to ELF_DYNAMIC_DO_REL.
72706         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72707         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72708         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72709         elf_machine_rela.
72710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72711         skip_ifunc, don't call ifunc function if non-zero.
72712         (elf_machine_rela): Likewise.
72713         (elf_machine_lazy_rel): Likewise.
72714         (elf_machine_lazy_rela): Likewise.
72715         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72716         (elf_machine_lazy_rel): Likewise.
72717         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72718         Likewise.
72719         (elf_machine_lazy_rel): Likewise.
72720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72721         Likewise.
72722         (elf_machine_lazy_rel): Likewise.
72723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72724         (elf_machine_lazy_rel): Likewise.
72725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72726         (elf_machine_lazy_rel): Likewise.
72727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72728         (elf_machine_lazy_rel): Likewise.
72729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72730         (elf_machine_lazy_rel): Likewise.
72731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72732         (elf_machine_lazy_rel): Likewise.
72733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72734         (elf_machine_lazy_rel): Likewise.
72736 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72738         * nss/nss_files/files-init.c (_nss_files_init): Use static
72739         initialization for all the *_traced_file variables.
72741 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72743         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72745 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72747         [BZ #13226]
72748         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72750 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72752         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72753         Reread the line before reparsing it.
72755 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72757         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72759 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72760             Maxim Kuvyrkov  <maxim@codesourcery.com>
72761             Joseph Myers  <joseph@codesourcery.com>
72763         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72764         if needed for __stack_chk_guard.
72766 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72768         * sysdeps/posix/spawni.c (script_execute): Always define it.
72769         It will be optimized away if unused.
72770         (maybe_script_execute): New function.
72771         (__spawni): Call it.
72773         * Makerules: Don't include tls.make.
72774         (config-tls): Always set to thread.
72775         * tls.make.c: File removed.
72777 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72779         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72780         * config.make.in (CPPFLAGS-config): New substituted variable.
72782 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72786         [BZ #13192]
72787         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72788         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72790 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72792         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72793         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72795         (CALL_FAIL): Likewise.
72796         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72797         (CALL_FAIL): Macro removed.
72798         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72800 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72803         for __FINITE_MATH_ONLY__ == 1.
72805 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72807         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72808         __ieee754_sqrt instead of sqrt.
72809         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72810         __ieee754_sqrtf instead of sqrtf.
72811         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72812         __floorf instead of floorf.
72813         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72814         __floorf, __truncf instead of floorf, truncf.
72816 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72818         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72820         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72821         __extern_always_inline.
72822         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72823         32-bit.
72825 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72827         * elf/rtld.c (dl_main): Also relocate in dependency order when
72828         doing symbol dependency testing.
72830 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72833         Always define `refsym'.
72835 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72837         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72838         (__FD_ELT): Renamed from __FDELT.
72839         * misc/bits/select2.h (__FD_ELT): Likewise.
72840         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72841         __FD_MASK instead of __FDELT, __FDMASK.
72842         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72843         Likewise.
72844         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72845         Likewise.
72847         * elf/Makefile (gen-ldd): Fix pattern.
72849         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72850         (init_tls): Likewise.
72852 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72856 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72858         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72859         `struct cmsghdr *' instead of `void *'.
72860         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72861         Likewise.
72863 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72865         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72866         if non-absolute.
72867         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72868         ldd_rewrite_script.
72870 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72872         * configure.in: Remove --with-tls option.
72873         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72874         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72875         out in case it is missing.
72876         * sysdeps/ia64/elf/configure.in: Likewise.
72877         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72878         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72879         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72880         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72881         * sysdeps/sh/elf/configure.in: Likewise.
72882         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72883         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72884         * sysdeps/x86_64/elf/configure.in: Likewise.
72885         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72886         * sysdeps/mach/hurd/tls.h: Likewise.
72888         [BZ #13067]
72889         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72891         [BZ #13090]
72892         * configure.in: Fix use of AC_INIT.
72894         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72896 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72898         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72899         __set_errno.
72900         * malloc/hooks.c: Likewise.
72902         [BZ #11929]
72903         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72904         variables statically.
72905         (narenas): Initialize.
72906         (list_lock): Initialize.
72907         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72908         initializtion of main_arena and list_lock.  Small cleanups.
72909         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72910         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72911         Add initializers to main_arena and mp_.
72912         (malloc_state): Remove pagesize member.  Change all users to use
72913         GLRO(dl_pagesize).
72915         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72916         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72917         is always initialized.
72919         * malloc/malloc.c: Removed unused configurations and dead code.
72920         * malloc/arena.c: Likewise.
72921         * malloc/hooks.c: Likewise.
72922         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72924         * include/tls.h: Removed.  USE___THREAD must always be defined.
72925         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72926         * elf/dl-libc.c: Likewise.
72927         * elf/dl-tsd.c: Likewise.
72928         * include/errno.h: Likewise.
72929         * include/netdb.h: Likewise.
72930         * include/resolv.h: Likewise.
72931         * inet/herrno-loc.c: Likewise.
72932         * inet/herrno.c: Likewise.
72933         * malloc/arena.c: Likewise.
72934         * malloc/hooks.c: Likewise.
72935         * malloc/malloc.c: Likewise.
72936         * resolv/res-state.c: Likewise.
72937         * resolv/res_libc.c: Likewise.
72938         * sysdeps/i386/dl-machine.h: Likewise.
72939         * sysdeps/ia64/dl-machine.h: Likewise.
72940         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72941         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72942         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72943         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72944         * sysdeps/sh/dl-machine.h: Likewise.
72945         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72946         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72947         * sysdeps/unix/i386/sysdep.S: Likewise.
72948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72949         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72954         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72958         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72959         * sysdeps/x86_64/dl-machine.h: Likewise.
72960         * tls.make.c: Likewise.
72962         * configure.in: Remove --with-__thread option.  Make tests for
72963         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72964         tls_model attribute fail if no support is available.  Remove
72965         USE_IN_LIBIO.
72966         * Makeconfig: Adjust for dropped configure option.  All features are
72967         now mandatory.
72968         * Makerules: Likewise.
72969         * Versions.def: Likewise.
72970         * argp/argp-fmtstream.c: Likewise.
72971         * argp/argp-fmtstream.h: Likewise.
72972         * argp/argp-help.c: Likewise.
72973         * assert/assert.c: Likewise.
72974         * config.h.in: Likewise.
72975         * config.make.in: Likewise.
72976         * configure: Likewise.
72977         * configure.in: Likewise.
72978         * csu/Versions: Likewise.
72979         * csu/init.c: Likewise.
72980         * elf/tst-audit2.c: Likewise.
72981         * elf/tst-tls10.c: Likewise.
72982         * elf/tst-tls10.h: Likewise.
72983         * elf/tst-tls11.c: Likewise.
72984         * elf/tst-tls12.c: Likewise.
72985         * elf/tst-tls14.c: Likewise.
72986         * elf/tst-tlsmod11.c: Likewise.
72987         * elf/tst-tlsmod12.c: Likewise.
72988         * elf/tst-tlsmod13.c: Likewise.
72989         * elf/tst-tlsmod13a.c: Likewise.
72990         * elf/tst-tlsmod14a.c: Likewise.
72991         * elf/tst-tlsmod15b.c: Likewise.
72992         * elf/tst-tlsmod16a.c: Likewise.
72993         * elf/tst-tlsmod16b.c: Likewise.
72994         * elf/tst-tlsmod7.c: Likewise.
72995         * elf/tst-tlsmod8.c: Likewise.
72996         * elf/tst-tlsmod9.c: Likewise.
72997         * gmon/gmon.c: Likewise.
72998         * grp/fgetgrent_r.c: Likewise.
72999         * grp/putgrent.c: Likewise.
73000         * hurd/fopenport.c: Likewise.
73001         * include/libc-symbols.h: Likewise.
73002         * include/tls.h: Likewise.
73003         * intl/gettextP.h: Likewise.
73004         * intl/loadinfo.h: Likewise.
73005         * locale/global-locale.c: Likewise.
73006         * locale/localeinfo.h: Likewise.
73007         * mach/devstream.c: Likewise.
73008         * malloc/arena.c: Likewise.
73009         * malloc/set-freeres.c: Likewise.
73010         * misc/err.c: Likewise.
73011         * misc/getttyent.c: Likewise.
73012         * misc/mntent_r.c: Likewise.
73013         * posix/getopt.c: Likewise.
73014         * posix/wordexp.c: Likewise.
73015         * pwd/fgetpwent_r.c: Likewise.
73016         * resolv/Versions: Likewise.
73017         * resolv/res_hconf.c: Likewise.
73018         * shadow/fgetspent_r.c: Likewise.
73019         * shadow/putspent.c: Likewise.
73020         * stdio-common/printf_fphex.c: Likewise.
73021         * stdio-common/tmpfile.c: Likewise.
73022         * stdlib/abort.c: Likewise.
73023         * stdlib/fmtmsg.c: Likewise.
73024         * sunrpc/auth_unix.c: Likewise.
73025         * sunrpc/clnt_perr.c: Likewise.
73026         * sunrpc/clnt_tcp.c: Likewise.
73027         * sunrpc/clnt_udp.c: Likewise.
73028         * sunrpc/clnt_unix.c: Likewise.
73029         * sunrpc/openchild.c: Likewise.
73030         * sunrpc/svc_simple.c: Likewise.
73031         * sunrpc/svc_tcp.c: Likewise.
73032         * sunrpc/svc_udp.c: Likewise.
73033         * sunrpc/svc_unix.c: Likewise.
73034         * sunrpc/xdr.c: Likewise.
73035         * sunrpc/xdr_array.c: Likewise.
73036         * sunrpc/xdr_rec.c: Likewise.
73037         * sunrpc/xdr_ref.c: Likewise.
73038         * sunrpc/xdr_stdio.c: Likewise.
73040 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73042         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73044 2011-07-03  Andreas Jaeger  <aj@suse.de>
73046         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73047         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73048         regenerate with gen-libm-tests.pl.
73050 2010-05-12  Petr Baudis  <pasky@suse.cz>
73052         [BZ #11589]
73053         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73054         around j0() zero points by switching to j1().
73055         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73060 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73062         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73063         instead of 0.
73064         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73065         instead of 0.
73066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73067         Patch in part by Pavel Roskin <proski@gnu.org>.
73069         [BZ #13138]
73070         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73071         realloc.
73072         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73073         Free memory block if necessary.
73075         [BZ #12847]
73076         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73077         be NULL.  Don't lock in this case.
73079 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73081         * elf/elf.h (ELFOSABI_GNU): New macro.
73082         (ELFOSABI_LINUX): Define to that.
73084 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73086         * string/strncat.c (strncat): Undef the symbol in case it has been
73087         defined in bits/string.h.
73089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73091         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73093         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73094         link map.
73096 2011-08-17  Andreas Jaeger  <aj@suse.de>
73098         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73100 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73101             Ian Lance Taylor  <iant@google.com>
73103         * math/libm-test.inc (lround_test): New testcase.
73104         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73106 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73108         * Makefile: Remove support for automatic cvs check-ins.
73109         * Makerules: Likewise.
73110         * config.make.in: Likewise.
73111         * configure.in: Likewise.
73112         * intl/Makefile: Likewise.
73113         * locale/Makefile: Likewise.
73114         * po/Makefile: Likewise.
73115         * posix/Makefile: Likewise.
73116         * sysdeps/gnu/Makefile: Likewise.
73117         * sysdeps/mach/hurd/Makefile: Likewise.
73118         * sysdeps/sparc/sparc32/Makefile: Likewise.
73120         [BZ #13118]
73121         * posix/Makefile (bug-regex32-ENV): Define.
73122         Patch by John Stanley <jpsinthemix@verizon.net>.
73124         * misc/Makefile (headers): Add bits/select2.h.
73125         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73126         * misc/bits/select2.h: New file.
73127         * include/bits/select2.h: New file.
73128         * debug/Makefile (routines): Add fdelt_chk.
73129         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73130         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73131         FD_ISSET.
73132         * debug/fdelt_chk.c: New file.
73134         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73135         * wcsmbs/test-wmemcmp.c: Likewise.
73136         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73137         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73139 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73141         * string/Makefile (strop-tests): Add memcmp.
73142         * string/test-wmemcmp.c: New file.
73143         * string/test-memcmp.c: Add wmemcmp support.
73145 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73147         [BZ #13153]
73148         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73149         2011-07-19 change.
73151         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73152         garbage value in a __mach_port_mod_refs call in the cases of the
73153         task-self and thread-self ports.
73155 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73157         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73159 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73161         * elf/dl-load.c (lose): Check for non-null L.
73163 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73165         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73167         * elf/dl-libc.c (dlerror_run): Pass back error code from
73168         dl_catch_error.
73170         [BZ #13123]
73171         * elf/dl-load.c (lose): Free l_origin if it is valid.
73173         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73174         names.
73175         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73178         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73179         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73180         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73182 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73184         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73185         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73186         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73187         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73188         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73189         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73190         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73191         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73192         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73193         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73195 2011-08-15  Alan Modra  <amodra@gmail.com>
73197         [BZ #13092]
73198         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73199         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73200         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73201         ppc_mcount to static-only-routines.
73202         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73203         __mcount_internal.
73204         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73205         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73207 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73210         for finite and infinity parameters.
73212 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73215         and add nop instructions for throughput optimization.
73216         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73218 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73221         aligned copy for power7 with vector-scalar instructions.
73222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73224 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73227         AVX check.
73229 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73231         [BZ #13144]
73232         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73233         last change.
73235 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73237         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73238         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73239         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73241         clock_gettime.
73243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73245         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73246         Forgot to demangle the pointer.
73248         * sysdeps/i386/sysdep.h: Define atom_text_section.
73249         * sysdeps/x86_64/sysdep.h: Likewise.
73250         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73251         section with atom_text_section.
73252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73253         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73255         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73258         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73259         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73260         already be defined.  Change to take two parameters and don't assign
73261         result to variable.  Adjust all users.
73262         Define INTERNAL_GETTIME if not already defined.
73263         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73264         call.
73265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73266         HAVE_CLOCK_GETTIME_VSYSCALL.
73267         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73270         gettimeofday vsyscall, just use time.
73272 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73275         <errno.h>.
73277 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73279         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73280         syscall on x86-64.
73281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73282         syscall.
73283         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73284         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73285         syscall if possible.
73287 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73289         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73290         e_ident.  Don't pass to find_mapsXX.
73291         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73293 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73296         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73297         * sysdeps/x86_64/multiarch/strchr.S: Update.
73298         Check bit_slow_BSF bit.
73299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73301         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73303 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73305         [BZ #13134]
73306         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73307         before glibc 2.15.
73308         (tryshell): Define.
73309         (__spawni): Change last parameter to be flag.  Test
73310         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73311         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73312         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73313         * posix/spawni.c: Likewise.
73314         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73315         * posix/spawnp.c: Likewise.  Change normal version to use
73316         SPAWN_XFLAGS_USE_PATH.
73317         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73318         SPAWN_XFLAGS_TRY_SHELL.
73320         [BZ #13150]
73321         * posix/glob.h: Remove gcc 1.x support.
73323         [BZ #13068]
73324         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73326 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73329         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73330         strrchr-sse2-bsf
73331         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73332         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73333         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73335         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73336         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73338 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73340         * sysdeps/x86_64/wcscmp.S: New file.
73342         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73343         wcscmp-c wcscmp-sse2
73344         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73345         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73346         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73347         * wcsmbs/wcscmp.c: Allow renaming.
73349 2011-09-05  David S. Miller  <davem@davemloft.net>
73351         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73352         stack slot, rather than the struct return pointer slot.
73353         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73354         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73358 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73360         * po/ja.po: Update from translation team.
73362         [BZ #13144]
73363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73364         kernel in 64-bit binaries.
73366 2011-09-01  David S. Miller  <davem@davemloft.net>
73368         * elf/elf.h (HWCAP_SPARC_*): Move to..
73369         * sysdeps/sparc/sysdep.h: this new file and add new values.
73370         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73371         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73372         _DL_HWCAP_COUNT to 24.
73373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73374         entries.
73375         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73376         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73377         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73379         instead of magic constants.
73380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73382 2011-08-31  David S. Miller  <davem@davemloft.net>
73384         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73386         Reimplement to do errno handling inline.
73387         (SYSCALL_ERROR_HANDLER): New macro.
73388         (__SYSCALL_STRING): Do not do errno handling in asm.
73389         (__CLONE_SYSCALL_STRING): Delete.
73390         (__INTERNAL_SYSCALL_STRING): Delete.
73391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73392         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73393         (PSEUDO): Reimplement to do errno handling inline.
73394         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73395         (SYSCALL_ERROR_HANDLER): New macro.
73396         (__SYSCALL_STRING): Do not do errno handling in asm.
73397         (__CLONE_SYSCALL_STRING): Delete.
73398         (__INTERNAL_SYSCALL_STRING): Delete.
73399         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73400         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73401         i386.
73402         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73403         (inline_syscall*): Add 'err' argument.
73404         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73405         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73406         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73407         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73409         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73410         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73412 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73414         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73416 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73418         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73419         directive.
73421 2011-08-24  David S. Miller  <davem@davemloft.net>
73423         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73425 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73427         * elf/Makefile: Add rules to build and run unload8 test.
73428         * elf/unload8.c: New file.
73429         * elf/unload8mod1.c: New file.
73430         * elf/unload8mod1x.c: New file.
73431         * elf/unload8mod2.c: New file.
73432         * elf/unload8mod3.c: New file.
73434         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73435         it wasn't used.
73437 2011-08-23  David S. Miller  <davem@davemloft.net>
73439         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73440         subtract stack bias.
73441         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73442         %sp not %fp in calculations.
73443         (_JMPBUF_UNWINDS_ADJ): Likewise.
73445         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73446         (aio_suspend): Call it to force an exception region around the
73447         AIO_MISC_WAIT() invocation.
73449 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73451         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73452         backslash.
73454 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73456         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73457         protection macro.
73458         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73459         and <dl-machine.h>.
73460         (Elf64_FuncDesc): Remove.
73462 2011-08-22  David S. Miller  <davem@davemloft.net>
73464         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73465         sigaltstack check, add missing cfi directives.
73466         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73467         missing cfi directives, and sigaltstack handling.
73469 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73471         [BZ #11724]
73472         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73473         object is seen twice.
73474         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73476         * elf/Makefile (distribute): Add tst-initorder2.c.
73477         (tests): Add tst-initorder2.
73478         (modules-names): Add tst-initorder2a tst-initorder2b
73479         tst-initorder2c tst-initorder2d.  Add rules to build them.
73480         ($(objpfx)tst-initorder2.out): New rule.
73481         * elf/tst-initorder2.c: New file.
73482         * elf/tst-initorder2.exp: New file.
73484 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73486         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73488         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73489         dependencies back to end of function.
73491         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73492         $(elfobjdir)/ld.so.
73494 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73496         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73497         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73499         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73500         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73501         of __vdso_gettimeofday.
73502         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73503         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73504         attribute_hidden.
73505         (_libc_vdso_platform_setup): Remove initialization of
73506         __vdso_gettimeofday and __vdso_time.
73508 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73510         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73511         and fgetc_unlocked.
73512         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73513         getc_unlocked.
73515         * elf/dl-open.c (add_to_global): Report additions to the global scope
73516         for LD_DEBUG=scopes.
73517         (dl_open_worker): Also print scope of newly loaded dependencies.
73518         (_dl_show_scope): Indicate if there is no scope.
73520         [BZ #13114]
73521         * stdio-common/Makefile (tests): Add bug24.
73522         * stdio-common/bug24.c: New file.
73524 2011-08-19  Andreas Jaeger  <aj@suse.de>
73526         [BZ #13114]
73527         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73528         non-existant file when using close-on-exec mode.
73530 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73533         the very first instruction.
73535         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73536         the CFI state in the end.
73537         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73538         inclusion of dl-trampoline.h.
73539         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73541 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73543         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73544         expectations for long double.
73546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73547         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73549 2011-08-14  David S. Miller  <davem@davemloft.net>
73551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73552         artificual limit depends upon the system page size.
73554 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73556         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73557         * resolv/Makefile: Define CFLAGS-libresolv.
73559 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73561         * nss/makedb.c (compute_tables): Make variables used in nested
73562         function static.
73564 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73566         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73567         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73568         if buffer was too small.
73570         * elf/pldd.c (main): Attach to all threads in the process.
73571         Rewrite /proc handling to use *at functions.
73573 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73575         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73576         specifies first scope to show.
73577         (dl_open_worker): Update callers.  Move printing scope of new
73578         object to before the relocation.
73579         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73580         * sysdeps/generic/ldsodefs.h: Update declaration.
73582         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73583         string for the scope number.
73585 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73587         * nscd/servicescache.c (cache_addserv): Make sure written is always
73588         initialized.
73590 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73592         * sysdeps/i386/i486/bits/atomic.h
73593         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73594         statement expression, so as to suppress "set but not used" warning.
73595         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73597         * string/strncat.c (STRNCAT): Use prototype definition.
73599         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73600         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73601         -Iprograms here.
73602         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73603         (localedef-modules): Add localedef.
73604         (locale-modules): Add locale.
73606         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73607         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73608         to avoid a warning.
73610 2011-08-14  David S. Miller  <davem@davemloft.net>
73612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73613         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73615 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73617         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73618         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73619         * elf/rtld.c (dl_main): Set l_name of vDSO.
73620         Call _dl_show_scope when DL_DEBUG_SCOPES.
73621         (process_dl_debug): Recognize scopes flag and also set it for all.
73622         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73623         Declare _dl_show_scope.
73625         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73626         (do_dlopen): Pass caller_dlopen to dl_open.
73627         (__libc_dlopen_mode): Initialize caller_dlopen.
73629         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73630         of libc.  Make tolower call locale-independent.  Optimize a bit by
73631         using isdigit instead of isalnum.
73632         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73634 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73636         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73637         was a dependency or dynamically loaded.
73639 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73641         * intl/l10nflist.c: Allow architecture-specific pop function.
73642         * sysdeps/x86_64/l10nflist.c: New file.
73644         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73645         classification.
73647 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73649         * include/dirent.h: Add libc_hidden_proto for scandirat and
73650         scandirat64.  Don't declare __scandirat64.
73651         * dirent/scandirat.c: Add libc_hidden_def.
73652         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73653         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73655 2011-08-10  David S. Miller  <davem@davemloft.net>
73657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73658         enum.
73659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73663 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73665         * Versions.def [libc]: Add GLIBC_2.15.
73666         * dirent/Makefile (routines): Add scandirat and scandirat64.
73667         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73668         GLIBC_2.15.
73669         * dirent/dirent.h: Declare scandirat and scandirat64.
73670         * dirent/scandirat.c: New file.
73671         * dirent/scandirat64.c: New file.
73672         * sysdeps/wordsize-64/scandirat.c: New file.
73673         * sysdeps/wordsize-64/scandirat64.c: New file.
73674         * dirent/opendir.c: Define opendirat.
73675         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73676         using scandirat.
73677         * dirent/scandir64.c: Adjust for scandir.c change.
73678         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73679         __scandirat64, and __scandir_cancel_handler.
73680         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73681         additional parameter and use openat instead of open (outside of ld.so).
73682         Add new __opendir as wrapper around __opendirat.
73683         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73684         here without requiring old scandirat implementation.
73686 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73688         * dirent/scandir.c (cancel_handler): Renamed to
73689         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73690         defined.  Adjust users.
73691         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73692         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73694 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73696         * string/test-string.h (IMPL): Use __STRING to expand name and then
73697         stringify it.
73699         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73700         of cleanups.
73702 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73704         * string/Makefile: Update.
73705         (strop-tests): Append strncat.
73706         * string/test-wcscmp.c: New file.
73707         New comprehensive test for wcscmp.
73708         * string/test-strcmp.c: Update.
73709         (WIDE): New define.
73711 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73713         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73714         line.
73716 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73719         encoding to ACE if AI_IDN.
73721 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73724         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73726 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73728         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73729         Fix overflow bug in strncat.
73730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73732         * string/test-strncat.c: Update.
73733         Add new tests for checking overflow bugs.
73735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73738         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73739         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73740         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73742         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73743         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73744         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73745         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73748         (USE_AS_STRCAT): Define.
73749         Add strcat and strncat support.
73750         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73752 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73754         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73755         __n bigger than INT_MAX+1.
73756         (__strncmp_g): Likewise.
73758 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73760         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73761         * libio/stido.h: Likewise.
73763         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73764         (AF_NFC): Define.
73765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73766         (AF_NFC): Define.
73768         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73771         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73774         [BZ #13021]
73775         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73776         installed.
73778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73779         typo.
73780         (_dl_x86_64_save_sse): Likewise.
73782 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73785         OSXSAVE.
73786         (_dl_x86_64_save_sse): Likewise.
73788         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73790         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73792 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73795         change.
73796         (_dl_x86_64_save_sse): Use correct AVX check.
73798 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73800         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73801         bug in strncpy/strncat.
73802         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73804 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73806         * string/tester.c (test_strcat): Add tests for different alignments
73807         of source and destination.
73808         (test_strncat): Likewise.
73810 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73812         [BZ #12852]
73813         * posix/glob.c (glob): Check passed in values before using them in
73814         expressions to avoid some overflows.
73815         (glob_in_dir): Likewise.
73817         [BZ #13007]
73818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73819         check for AVX enablement so that we don't crash with old kernels and
73820         new hardware.
73821         * elf/tst-audit4.c: Add same checks here.
73822         * elf/tst-audit6.c: Likewise.
73824         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73826 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73828         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73830 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73832         * po/cs.po: Update from translation team.
73833         * po/bg.po: Likewise.
73835 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73837         * misc/sys/cdefs.h: Add support for const attribute.
73838         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73839         to gnu_dev_{major,minor,makedev} functions.
73841 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73843         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73845 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73847         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73848         strlen results.
73850 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73853         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73854         register in order to avoid conflicts with the soft frame pointer
73855         being held in r11 when necessary.
73856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73857         (INTERNAL_VSYSCALL_NCS): Likewise.
73859 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73861         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73862         * elf/dl-fini.c (_dl_fini): Adjust caller.
73863         * elf/dl-close.c (_dl_close_worker): Likewise.
73864         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73866 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73868         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73869         "aux_cache->nlibs < 0".
73871         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73872         in the reload-count case.
73874 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73877         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73878         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73879         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73880         * sysdeps/x86_64/multiarch/strcat.S: New file.
73881         * sysdeps/x86_64/multiarch/strncat.S: New file.
73882         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73883         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73884         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73885         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73886         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73887         (USE_AS_STRCAT): Define.
73888         Add strcat and strncat support.
73889         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73890         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73891         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73892         * string/strncat.c: Update.
73893         (USE_AS_STRNCAT): Define.
73894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73895         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73896         and i7.
73897         * sysdeps/x86_64/multiarch/init-arch.h
73898         (bit_Prefer_PMINUB_for_stringop): New.
73899         (index_Prefer_PMINUB_for_stringop): Likewise.
73900         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73901         bit_Prefer_PMINUB_for_stringop.
73903 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73905         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73906         buffer64.
73907         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73908         of casting of buffer.
73909         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73910         buffer32 and buffer64.
73911         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73912         writes instead of casting of buffer.
73913         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73914         buffer32.
73915         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73916         casting of buffer.
73918 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73920         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73922 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73924         * nscd/nscd.c (termination_handler): Don't do anything for a database
73925         if it has not yet been initialized.
73927 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73929         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73931 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73933         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73935 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73937         * po/nl.po: Update from translation team.
73938         * po/sv.po: Likewise.
73940 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73942         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73943         now disallowed by GCC.
73945         * configure.in (use-default-link): Default to yes if a test -shared
73946         link meets our qualifications.
73947         * configure: Regenerated.
73949         * config.make.in (output-format): New variable.
73950         * configure.in: Check for ld --print-output-format support.
73951         * configure: Regenerated.
73952         * Makerules ($(common-objpfx)format.lds)
73953         [$(output-format) != unknown]: Just use $(output-format),
73954         instead of the linker-script munging.
73956 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73958         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73959         of $(common-objpfx)shlib.lds.
73960         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73962         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73963         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73965         * configure.in (-z relro check): Adjust test code to add a large
73966         writable data section after it.
73967         * configure: Regenerated.
73969 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73971         * configure.in (-z relro check): Fix test code to make the variable
73972         truly const.
73973         * configure: Regenerated.
73975 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73977         * nscd/nscd.h (struct traced_file): Define.
73978         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73979         elements.  Add traced_files.
73980         (inotify_fd): Declare.
73981         (register_traced_file): Declare.
73982         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73983         (inotify_fd): Export.
73984         (resolv_conf_descr): Remove.
73985         (nscd_init): Move inotify descriptor creation to main.
73986         Don't register files for notification here.
73987         (register_traced_file): New function.
73988         (invalidate_cache): Don't use reset_res to determine whether to call
73989         res_init, go through the list of registered files.
73990         (main_loop_poll): The inotify descriptors are now stored in the
73991         structures for the traced files.
73992         (main_loop_epoll): Likewise.
73993         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73994         to __nss_disable_nscd.
73995         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73996         for a database anymore.  Check the records for all the registered
73997         files instead.
73998         * nss/Makefile (libnss_files-routines): Add files-init.
73999         (libnss_db-routines): Add db-init.
74000         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74001         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74002         * nss/nss_db/db-init.c: New file.
74003         * nss/nss_files/files-init.c: New file.
74004         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74005         __nss_lookup_function.
74006         (__nss_lookup_function): Call nss_load_library.
74007         (nss_load_all_libraries): New function.
74008         (__nss_disable_nscd): Take parameter with callback function for files
74009         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74010         used for the cached services.
74011         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74012         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74013         options for features to all the files in nscd.
74015         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74017 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74019         * csu/elf-init.c (__libc_csu_init): Comment typo.
74021 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74023         * po/pl.po: Update from translation team.
74024         * po/ja.po: Likewise.
74025         * po/ru.po: Likewise.
74026         * po/ko.po: Likewise.
74027         * po/fr.po: Likewise.
74029 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74031         * configure.in (.ctors/.dtors header and trailer check):
74032         Use an empirical test on a built program.
74033         * configure: Regenerated.
74035         * configure.in (-z relro check): Use an empirical test on a built DSO.
74036         Detect, but do not require, on ia64.
74037         * configure: Regenerated.
74039         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74040         Update tests that use readelf to use $READELF instead.
74041         * configure: Regenerated.
74043 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74045         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74046         if the result is not used.
74048 2011-07-05  Andreas Jaeger  <aj@suse.de>
74050         [BZ#9696]
74051         * stdlib/tst-strtod.c: Add testcase.
74053 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74055         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74056         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74057         The latter has a higher limit.  Take additional parameter to pass to
74058         the new function.
74059         (__pathconf): Pass file to __statfs_link_max.
74060         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74061         __statfs_link_max.
74062         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74063         __statfs_link_max.
74065         [BZ #12868]
74066         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74068         Handle Lustre.
74069         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74070         (__statfs_filesize_max): Likewise.
74071         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74073 2011-07-05  Andreas Jaeger  <aj@suse.de>
74075         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74077 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74079         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74080         `status' variable.
74081         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74082         Likewise.
74084 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74086         * Makefile (strop-tests): Add strncat.
74087         * string/test-strncat.c: New file.
74089 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74091         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74093 2011-06-21  Andreas Jaeger  <aj@suse.de>
74095         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74096         Copy rule from iconvdata/Makefile.
74098 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74100         [BZ #12922]
74101         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74102         but no long options are defined, just return 'W'.
74104 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74106         [BZ #9696]
74107         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74109 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74111         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74112         netgroups to read.
74113         (innetgr): Likewise.
74115 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74117         * config.make.in (install_root): Default to $(DESTDIR).
74119 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74121         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74123 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74125         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74127         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74128         containing directory rather than embedding absolute directory names.
74130         * scripts/check-local-headers.sh: Rewritten using awk.
74131         Match by word, not by line.  Print error messages for matches.
74132         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74134         * Makerules [shlib-lds-flags empty]:
74135         ($(common-objpfx)libc_pic.opts): New target.
74136         ($(common-objpfx)libc_pic.os.clean): New target.
74137         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74139         * config.make.in (OBJCOPY): New variable.
74140         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74141         * configure: Regenerated.
74143         * config.make.in (use-default-link): New variable.
74144         * configure.in (use_default_link): Grok --with-default-link to set it.
74145         * configure: Regenerated.
74146         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74147         (shlib-lds, shlib-lds-flags): Define to empty.
74149         * Makerules (shlib-lds): New variable.
74150         (shlib-lds-flags): New variable.
74151         (build-shlib, build-moduile, build-module-asneeded): Use it.
74152         ($(common-objpfx)libc.so): Use $(shlib-lds).
74153         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74154         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74156         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74157         DT_FLAGS/DT_FLAGS_1 with zero flags.
74159         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74160         linker script munging.
74162 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74164         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74165         as 128-bit value.
74166         * crypt/sha512.c (sha512_process_block): Perform total addition using
74167         128-bit if possible.
74168         (__sha512_finish_ctx): Likewise.
74169         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74170         as 64-bit value.
74171         * crypt/sha256.c (SWAP64): Define.
74172         (sha256_process_block): Perform total addition using 64-bit if
74173         possible.
74174         (__sha256_finish_ctx): Likewise.
74176 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74178         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74180         * nscd/hstcache.c (cache_addhst): Likewise.
74181         * nscd/grpcache.c (cache_addgr): Likewise.
74182         * nscd/aicache.c (addhstaiX): Likewise.
74183         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74185 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74187         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74189         * nscd/hstcache.c (cache_addhst): Likewise.
74190         * nscd/grpcache.c (cache_addgr): Likewise.
74191         * nscd/aicache.c (addhstaiX): Likewise.
74193 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74195         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74196         domain only when needed.
74198 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74201         is always restored.
74203 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74205         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74206         are re-adding the entry.
74207         * nscd/servicescache.c (cache_addserv): Likewise.
74209 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74211         * sysdeps/generic/dl-irel.h: fix protection against multiple
74212         inclusions.
74213         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74215 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74217         [BZ #12935]
74218         * malloc/memusage.sh: Fix quoting in message.
74219         * debug/xtrace.sh: Likewise.
74221         * configure.in: Remove support for --experimental-malloc option, make
74222         it the default.
74223         * config.make.in: Likewise.
74224         * malloc/Makefile: Likewise.
74226 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74228         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74229         two-byte characters.
74231 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74233         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74234         AC_CACHE_CHECK invocation.
74235         * configure: Regenerated.
74237         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74239 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74241         [BZ #12350]
74242         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74243         bit from old_res_options.
74245         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74247         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74248         value type for setfct.
74250 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74253         __gettimeofday instead of gettimeofday.
74255 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74257         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74259 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74261         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74263         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74264         info.
74266 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74269         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74270         strcpy-sse2-unaligned strncpy-sse2-unaligned
74271         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74272         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74273         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74274         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74275         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74276         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74278         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74279         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74280         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74281         (STRCPY): Support SSE2 and SSSE3 versions.
74283 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74285         [BZ #12874]
74286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74287         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74288         kernels which artificially limit size of requests.
74290 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74293         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74294         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74295         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74296         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74297         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74298         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74299         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74302         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74303         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74304         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74305         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74306         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74308         Enable unaligned load optimization for Intel Core i3, i5 and i7
74309         processors.
74310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74311         Define.
74312         (index_Fast_Unaligned_Load): Define.
74313         (HAS_FAST_UNALIGNED_LOAD): Define.
74315 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74317         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74319 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74321         [BZ #12907]
74322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74323         until it is clear that the information is realy needed.
74324         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74326 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74330 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74333         /sys/devices/system/cpu/online if it is usable.
74335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74336         reading the information from the /proc filesystem to once a second.
74338 2011-06-21  Andreas Jaeger  <aj@suse.de>
74340         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74341         NULL after inclusion of kernel headers.
74343 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74345         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74346         calls to internal_setent.
74348         [BZ #12885]
74349         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74350         addresses using gethostbyname4_r ignore IPv4 addresses.
74352         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74353         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74355         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74357 2011-06-20  David S. Miller  <davem@davemloft.net>
74359         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74360         inclusions.
74361         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74363         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74364         (elf_irel): Use it.
74365         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74366         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74367         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74368         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74369         * sysdeps/x86_64/dl-irel.h: Likewise.
74371         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74372         * elf/dl-sym.c: Likewise.
74374 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74376         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74377         need to dereference resplen2.
74379 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74381         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74383 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74385         * Makeconfig: Define vardbdir and inst_vardbdir.
74386         * nss/Makefile: Add rules to install db-Makefile.
74388         * nss/nss_db/db-XXX.c: Cleanup.
74390         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74391         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74392         GLIBC_PRIVATE.
74393         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74394         * nss/makedb.c: Implement -g option to specify that value strings
74395         are generated and should not be added to table iterated over for
74396         get*ent calls.
74397         * nss/nss_db/db-initgroups.c: New file.
74399         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74400         interface.
74402         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74403         (internal_getgrouplist): Adjust to name change.
74404         Update use_initgroups_entry if this is not the first call.
74405         * nss/databases.def: Add initgroups entry.
74407         * nss/makedb.c (compute_tables): Check result of multiple hash table
74408         sizes to minimize maximum chain length.
74410 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74412         * Versions.def: Add entry for libnss_db.
74413         * shlib-versions: Likewise.
74414         * nss/Makefile: Add rules to build libnss_db.
74415         * nss/Versions: Add libnss_db information.  Organize libnss_files
74416         entries better.
74417         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74418         makedb progra.  Some minor improvements to generate smaller files.
74419         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74420         here from...
74421         * nss/makedb.c: ...here.
74422         Improve database format to be smaller and require less memory at
74423         runtime.
74424         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74425         db anymore.
74426         * nss/nss_db/db-netgrp.c: Likewise.
74427         * nss/nss_db/db-open.c: Likewise.
74428         * nss/nss_files/flies-XXX.x: Adjust comments.
74429         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74430         * nss/nss_files/files-grp.c: Likewise.
74431         * nss/nss_files/files-hosts.c: Likewise.
74432         * nss/nss_files/files-network.c: Likewise.
74433         * nss/nss_files/files-proto.c: Likewise.
74434         * nss/nss_files/files-pwd.c: Likewise.
74435         * nss/nss_files/files-rpc.c: Likewise.
74436         * nss/nss_files/files-service.c: Likewise.
74437         * nss/nss_files/files-sgrp.c: Likewise.
74438         * nss/nss_files/files-spwd.c: Likewise.
74439         * nss/nss_db/db-alias.c: Removed.
74440         * nss/nss_db/dummy-db.h: Removed.
74442 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74444         * nss/makedb.c: Rewritten to not use database library.
74445         * nss/Makefile: Update to build new makedb program.
74447 2011-06-14  Andreas Jaeger  <aj@suse.de>
74449         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74450         memset declaration.
74452 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74455         tmpbuf.
74457 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74459         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74460         * elf/Makefile ($(objpfx)ld.so): Likewise.
74462         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74463         Don't list ld.so twice in dependencies.
74465         * posix/bug-regex31.c: Include <stdlib.h>.
74467         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74469         * nis/nss_compat/compat-spwd.c
74470         (getspent_next_nss_netgr): Remove unused variable.
74471         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74473         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74474         nonmembers" output to use the right array.
74476         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74478         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74480         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74481         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74482         * catgets/gencat.c (read_input_file): Likewise.
74483         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74485         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74486         variable definition inside #if's controlling its use.
74488         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74490         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74492         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74494         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74495         unreachable code.
74497         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74499         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74500         * configure: Regenerated.
74502         * Makerules: Revert last change.
74503         * elf/Makefile: Likewise.
74505 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74507         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74508         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74509         (reloc-link): Likewise.
74511 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74513         * elf/Makefile: Add rules to build pldd.
74514         * elf/pldd.c: New file.
74515         * elf/pldd-xx.c: New file.
74517 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74519         * version.h: Update for 2.15 development version.
74521 2011-06-07  David S. Miller  <davem@davemloft.net>
74523         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74524         ifuncs.
74525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74526         elf_machine_lazy_rel): Likewise.
74527         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74528         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74529         elf_machine_lazy_rel): Likewise.
74530         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74531         dl_hwcap via passed in argument.
74532         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74533         Likewise.
74535 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74537         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74539 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74541         [BZ #12849]
74542         * manual/fdl-1.1.texi: New file, verbatim from:
74543         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74544         * manual/lgpl-2.1.texi: New file, verbatim from:
74545         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74546         * manual/Makefile (licenses): New variable, list those new file names.
74547         (texis): Use it.
74548         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74550         * manual/fdl.texi: File removed.
74551         * manual/lesser.texi: File removed.
74552         * manual/libc.texinfo (Copying, Documentation License):
74553         Use new @include file names, put @appendix directive before @include.
74555 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74557         [BZ #12841]
74558         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74559         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74560         (mq_open): Add __NTH.
74562 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74565         Assume Intel Core i3/i5/i7 processor if AVX is available.
74567 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74570         typo.
74572 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74574         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74575         memory.  Use alloca_account.  Fix memory leak when retrying.
74577 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74579         * version.h (RELEASE): Bump for 2.14 release.
74580         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74582         * config.make.in (RANLIB): Remove entry.
74584 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74586         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74587         (libc.pot): Work around missing support for .ksh extension in xgettext.
74589         [BZ #12684]
74590         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74591         if both request failed.
74592         (send_dg): In case of server errors clear resplen or *resplen2.
74594         [BZ #12454]
74595         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74596         when there are multiple maps.
74597         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74598         (_dl_fini): Remove test here.
74600         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74602 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74604         [BZ #12350]
74605         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74606         bit from old_res_options.
74607         (gaih_inet): Likewise.
74609         [BZ #11099]
74610         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74611         as signed.
74613         * resolv/res_init.c (res_setoptions): Make the code more compact.
74615         [BZ #11558]
74616         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74617         set RES_USEVC.
74619         [BZ #11634]
74620         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74622         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74624         [BZ #11781]
74625         * malloc/malloc.h: Declare malloc hook variables as volatile.
74627         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74628         in last patch.
74630         [BZ #11799]
74631         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74632         raise in the comment.
74633         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74634         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74635         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74637 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74639         [BZ #12811]
74640         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74641         grow the buffers more if it already has to be sufficient.
74642         (build_wcs_upper_buffer): Likewise.
74643         * posix/regexec.c (check_matching): Likewise.
74644         (clean_state_log_if_needed): Likewise.
74645         (extend_buffers): Don't enlarge buffers beyond size of the input
74646         buffer.
74647         Patches mostly by Emil Wojak <emil@wojak.eu>.
74648         * posix/bug-regex32.c: New file.
74649         * posix/Makefile (tests): Add bug-regex32.
74651         * locale/findlocale.c (_nl_find_locale): Return right away if
74652         _nl_explode_name failed.
74653         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74655         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74657         * debug/xtrace.sh: Unify messages.
74658         * malloc/memusage.sh: Likewise.
74660         [BZ #12813]
74661         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74662         time symbol from vDSO.  Substitute with vsyscall if not available.
74663         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74664         __vdso_time.
74666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74667         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74668         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74669         Add sendmmsg and internal_sendmmsg.
74670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74671         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74672         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74674         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74675         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74676         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74678 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74680         [BZ #12813]
74681         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74682         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74683         available.
74684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74685         __vdso_getcpu.
74687         [BZ #12814]
74688         * iconvdata/Makefile (tests): Add bug-iconv9.
74689         * iconvdata/bug-iconv9.c: New file.
74691 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74693         [BZ #12814]
74694         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74696 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74699         (struct user_regs_struct): Change intcs field back to cs.
74701 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74703         * po/ja.po: Update from translation team.
74705 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74707         [BZ #12795]
74708         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74709         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74711 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74713         * stdlib/longlong.h: Update from GCC.
74715 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74717         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74718         parameter name.
74719         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74720         Add parameter name.
74721         (__sysconf): Pass it down.
74723 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74725         [BZ #12671]
74726         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74727         some situations.
74728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74729         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74730         add in in __libc_use_alloca calls.  Adjust callers.
74731         (glob): Use malloc in some situations.
74733         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74734         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74735         pltexit.
74737 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74739         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74740         and CLOCK_BOOTTIME_ALARM.
74742         [BZ #12782]
74743         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74744         is returned.
74746         * string/_strerror.c (__strerror_r): Print negative errors as signed
74747         numbers.
74749         [BZ #12777]
74750         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74751         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74752         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74754         * configure.in: Fix typo in redirection and correct removal of test
74755         files in two cases.
74757         [BZ #12788]
74758         * locale/setlocale.c (new_composite_name): Fix test to check for
74759         identical name of all categories.
74761         [BZ #12792]
74762         * libio/filedoalloc.c (local_isatty): New function.
74763         (_IO_file_doallocate): Use local_isatty.
74764         * stdio-common/perror.c (perror): In case a new stream is used
74765         forward the stream error.
74766         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74767         error flag.
74769 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74771         [BZ #11884]
74772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74773         alloca.
74774         * include/alloca.h (extend_alloca_account): Define.
74776         [BZ #11857]
74777         * posix/regex.h: Fix comments with documentation of user-accessible
74778         fields after compilation and describe correct free'ing of pattern
74779         after re_compile_pattern.
74780         Patch by Reuben Thomas <rrt@sc3d.org>.
74782 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74784         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74785         and -mno-altivec to prevent the compiler from using Altivec and/or
74786         VSX instructions when the corresponding registers are not available.
74788 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74790         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74792 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74794         * libio/freopen.c (freopen): Use __dup2, not dup2.
74795         * libio/freopen64.c (freopen64): Likewise.
74797 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74799         [BZ #12775]
74800         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74801         * math/Makefile (tests): Add test-powl.
74802         (CFLAGS-test-powl.c): Define.
74803         * math/test-powl.c: New file.
74805 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74807         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74809 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74811         [BZ #11837]
74812         * iconvdata/gb18030.c: Update to GB18020-2005.
74814 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74816         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74817         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74818         Patch by Aharon Robbins <arnold@skeeve.com>.
74820         [BZ #11892]
74821         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74822         on the stack.
74824         [BZ #11895]
74825         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74826         through underflows.
74828         [BZ #12766]
74829         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74830         point to strings before performing equality test for error_one_per_line
74831         mode.
74833         [BZ #11697]
74834         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74836         [BZ #11820]
74837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74838         (struct user_fpregs_struct): Avoid __uint*_t types.
74840         [BZ #6420]
74841         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74842         symbol info.  Use it instead of calling _dl_addr locally.
74843         (lock_and_info): New function.
74844         (tr_freehook): Call lock_and_info and pass symbol info as additional
74845         parameter to tr_where.
74846         (tr_mallochook): Likewise.
74847         (tr_reallochook): Likewise.
74848         (tr_memalignhook): Likewise.
74850         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74851         used and couldn't be at all thread-safe.
74853 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74855         * libio/freopen.c (freopen): Don't close old file descriptor
74856         before the new one is opened.  Instead dup the new file descriptor
74857         to the old one after the new stream is created.
74858         * libio/freopen64.c (freopen64): Likewise.
74859         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74860         * libio/fileops.c (_IO_new_file_close_it): Handle new
74861         _IO_FLAGS2_NOCLOSE flag.
74862         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74863         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74864         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74865         _IO_FLAGS2_NOCLOSE flag.
74866         * include/unistd.h: Add hidden_proto for dup3.
74867         Define __have_dup3.
74868         * io/dup3.c: Define hidden symbol.
74869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74871         [BZ #7101]
74872         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74873         when an incomplete long option is used.
74874         * posix/tst-getopt_long1.c: New file.
74875         * posix/Makefile (tests): Add tst-getopt_long1.
74877         [BZ #10138]
74878         * scripts/config.guess: Update from autoconf-2.68.
74879         * scripts/config.sub: Likewise.
74881         [BZ #10157]
74882         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74883         tests into ...
74884         (has_cpuclock): ...this.  New function.
74885         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74886         macro here based on has_cpuclock code.
74888         [BZ #10149]
74889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74890         First byte (not low byte) is now always NUL.
74891         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74894         Use non-cancelable interfaces.
74896         [BZ #9809]
74897         * locale/iso-639.def: Add entry for Sorani.
74899         [BZ #11901]
74900         * include/stdlib.h: Move include protection to the right place.
74901         Define abort_msg_s.  Declare __abort_msg with it.
74902         * stdlib/abort.c (__abort_msg): Adjust type.
74903         * assert/assert.c (__assert_fail_base): New function.  Majority
74904         of code from __assert_fail.  Allocate memory for __abort_msg with
74905         mmap.
74906         (__assert_fail): Now call __assert_fail_base.
74907         * assert/assert-perr.c: Remove bulk of implementation.  Use
74908         __assert_fail_base.
74909         * include/assert.hL Declare __assert_fail_base.
74910         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74911         mmap.
74912         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74914 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74916         [BZ #11952]
74917         [BZ #12453]
74918         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74919         until all modules are registered in the DTV.
74920         * elf/Makefile: Add rules to build and run tst-tls19.
74921         * elf/tst-tls19.c: New file.
74922         * elf/tst-tls19mod1.c: New file.
74923         * elf/tst-tls19mod2.c: New file.
74924         * elf/tst-tls19mod3.c: New file.
74925         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74927         [BZ #12083]
74928         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74929         correctly.
74931         [BZ #12601]
74932         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74933         two-byte sequence errors.
74934         * iconvdata/Makefile (tests): Add bug-iconv8.
74935         * iconvdata/bug-iconv8.c: New file.
74937         [BZ #12626]
74938         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74939         buf2 definition.
74941         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74943         [BZ #12432]
74944         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74945         (dummy_getcfa): New function.
74946         (init): Get _Unwind_GetCFA address, use dummy if not found.
74947         (backtrace_helper): In recursion check, also check whether CFA changes.
74948         (__backtrace): Completely initialize arg.
74950         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74951         storing incomplete byte sequence in state object.  Avoid testing for
74952         guaranteed too small input if we know there is enough data available.
74954 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74956         * Makeconfig (+link-pie): Indent.
74957         * Rules (binaries-pie): Define if $(have-fpie) and
74958         $(build-shared).
74959         (binaries-shared): Also filter out $(binaries-pie).
74960         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74961         * nscd/Makefile (others-pie): Add nscd.
74962         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74963         ($(objpfx)nscd): Remove command override.
74964         * login/Makefile (others-pie): Add pt_chown.
74965         ($(objpfx)pt_chown): Remove command override.
74966         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74967         remove command overrides.
74969 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74971         * libio/tst_putwc.c: Fix error messages.
74973         [BZ #12724]
74974         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74975         currently writing and seek to current position when not.
74976         * libio/Makefile (tests): Add bug-fclose1.
74977         * libio/bug-fclose1.c: New file.
74979 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74981         [BZ #12511]
74982         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74983         don't set DF_1_NODELETE here.
74984         (do_lookup_x): When entering new entry test for copy relocation
74985         and if necessary set DF_1_NODELETE flag.
74986         * elf/tst-unique4.cc: New file.
74987         * elf/tst-unique4.h: New file.
74988         * elf/tst-unique4lib.cc: New file.
74989         * elf/Makefile: Add rules to build and run tst-unique4.
74990         Patch by Piotr Bury <pbury@goahead.com>.
74992 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74994         [BZ #12052]
74995         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74997         [BZ #12625]
74998         * misc/mntent_r.c (addmntent): Flush the stream after the output
75000         [BZ #12393]
75001         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75002         (is_trusted_path_normalize): Skip initial colon.  Append slash
75003         to empty buffer.  Duplicate is_trusted_path code but allow
75004         constructed patch to be prefix.
75005         (is_dst): Allow $ORIGIN followed by /.
75006         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75007         Correct testing of result of is_trusted_path_normalize
75008         (decompose_rpath): Fix warning.
75010 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75012         [BZ #11257]
75013         * grp/initgroups.c (internal_getgrouplist): When we found the service
75014         list through the initgroups entry in nsswitch.conf do not always
75015         continue on a successful lookup.  Don't always use the
75016         __nss_group_database value if it is set.
75017         * nss/nsswitch.conf (initgroups): Change action for successful db
75018         lookup to continue for compatibility.
75020 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75022         [BZ #11532]
75023         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75024         and CP774 modules.
75025         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75026         and CP774 modules.
75027         * iconvdata/tst-tables.sh: Likewise.
75028         * iconvdata/cp770.c: New file.
75029         * iconvdata/cp771.c: New file.
75030         * iconvdata/cp772.c: New file.
75031         * iconvdata/cp773.c: New file.
75032         * iconvdata/cp774.c: New file.
75033         * iconvdata/testdata/CP770: New file.
75034         * iconvdata/testdata/CP770..UTF8: New file.
75035         * iconvdata/testdata/CP771: New file.
75036         * iconvdata/testdata/CP771..UTF8: New file.
75037         * iconvdata/testdata/CP772: New file.
75038         * iconvdata/testdata/CP772..UTF8: New file.
75039         * iconvdata/testdata/CP773: New file.
75040         * iconvdata/testdata/CP773..UTF8: New file.
75041         * iconvdata/testdata/CP774: New file.
75042         * iconvdata/testdata/CP774..UTF8: New file.
75044         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75045         END CHARMAP line.
75046         * iconvdata/gen-8bit-gap.sh: Likewise.
75047         * iconvdata/gen-8bit.sh: Likewise.
75049         * locale/iso-639.def: Add ary entry.
75051         [BZ #11258]
75052         * locale/C-translit.h.in: Add U20A1 transliteration.
75054         [BZ #12178]
75055         * locale/iso-639.def: Add wae entry.
75056         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75058         [BZ #12545]
75059         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75060         for n.
75062         [BZ #12711]
75063         * locale/C-translit.h.in: Add entry for U20B9.
75064         Patch by pravin.d.s@gmail.com.
75066 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75068         [BZ #12713]
75069         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75070         ENAMETOOLONG use generic getcwd.
75071         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75072         in rtld.  Use *stat64.
75073         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75074         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75075         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75076         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75077         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75078         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75079         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75080         __fstatat64 macros.
75081         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75082         * dirent/rewinddir.c: Add libc_hidden_def.
75083         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75084         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75086         * include/dirent.h (__alloc_dir): Add flags parameter.
75087         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75088         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75089         __alloc_dir.
75090         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75091         from fdopendir if O_CLOEXEC is already set.
75093 2011-03-15  Alan Modra  <amodra@gmail.com>
75095         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75096         l_tls_firstbyte_offset non-zero.  Save padding offset in
75097         l_tls_firstbyte_offset for later use.
75098         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75099         freeing static tls block.
75101 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75103         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75104         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75105         being defined by the kernel headers.
75107 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75109         [BZ #12734]
75110         * resolv/resolv.h: Define RES_NOTLDQUERY.
75111         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75112         no-tld-query and set RES_NOTLDQUERY.
75113         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75114         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75115         modern BIND to search name as TLD unless forbidden.
75117 2011-05-07  Petr Baudis  <pasky@suse.cz>
75118             Ulrich Drepper  <drepper@gmail.com>
75120         [BZ #12393]
75121         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75122         (is_trusted_path): ...to here.
75123         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75124         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75125         using is_trusted_path_normalize() in setuid scripts.
75127 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75129         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75130         __BEGIN/__END_DECLS.
75132 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75134         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75135         NSS_STATUS_NOTFOUND if no record was found.
75137 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75139         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75140         (headers-not-in-tirpc): Remove rpc/netdb.h
75141         * resolv/netdb.h: Revert last change.
75143 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75145         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75146         circular dependency between libgcc.a and libc.a.
75148 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75150         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75151         * nis/Makefile: Don't install rpcsvc/*.
75152         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75153         instead of <rpc/types.h>.
75154         (MAXHOSTNAMELEN): Define.
75156 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75158         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75160 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75162         [BZ #12714]
75163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75164         gethostbyname4_r when IPv6 results are possible.
75166 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75168         [BZ #12723]
75169         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75170         _PC_PIPE_BUF handling.
75172 2011-04-30  Bruno Haible  <bruno@clisp.org>
75174         [BZ #12717]
75175         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75176         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75177         to 'int'.
75178         * inet/getnameinfo.c (getnameinfo): Likewise.
75180 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75182         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75183         to groups setting in database lookup.
75184         * nss/nsswitch.conf: Add initgroups entry.
75186 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75188         [BZ #12685]
75189         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75190         mode string.
75191         Patch by Eric Blake <eblake@redhat.com>.
75193 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75195         * sunrpc/Makefile (need-export-routines): Add svc_run.
75196         (routines): Remove svc_run.
75197         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75198         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75199         * sunrpc/svc_run.c (svc_run): Likewise.
75200         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75202 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75205         problem in reallocation in last patch.
75207 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75209         * sunrpc/Makefile: Move inclusion of Rules.
75211 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75213         * nss/nss_files/files-initgroups.c: New file.
75214         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75215         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75216         _nss_files_initgroups_dyn.
75218 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75220         * elf/elf.h (R_ARM_IRELATIVE): Define.
75222 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75224         * po/ru.po: Update from translation team.
75226 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75228         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75229         dependencies.
75231 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75233         [BZ #12653]
75234         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75235         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75238         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75240 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75243         differing bytes.
75244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75245         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75248 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75250         [BZ #12420]
75251         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75252         storing it.
75253         * stdlib/bug-getcontext.c: New file.
75254         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75256 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75258         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75259         instructions into .machine "z9-109".
75260         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75261         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75263 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75265         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75266         between environment variables and auxiliary vector.
75268 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75270         * Makefile: Add rules to build linkobj/libc.so.
75271         * include/libc-symbols.h: Define libc_hidden_nolink.
75272         * include/rpc/auth.h: Mark functions which are to be hidden.
75273         * include/rpc/auth_des.h: Likewise.
75274         * include/rpc/auth_unix.h: Likewise.
75275         * include/rpc/clnt.h: Likewise.
75276         * include/rpc/des_crypt.h: Likewise.
75277         * include/rpc/key_prot.h: Likewise.
75278         * include/rpc/pmap_clnt.h: Likewise.
75279         * include/rpc/pmap_prot.h: Likewise.
75280         * include/rpc/pmap_rmt.h: Likewise.
75281         * include/rpc/rpc_msg.h: Likewise.
75282         * include/rpc/svc.h: Likewise.
75283         * include/rpc/svc_auth.h: Likewise.
75284         * include/rpc/xdr.h: Likewise.
75285         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75286         * nss/Makefile: Likewise.
75287         * sunrpc/Makefile: Don't install headers.  Build library with normal
75288         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75289         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75290         for the compat linking library.  Remove use of INTDEF/INTUSE.
75291         * sunrpc/auth_none.c: Likewise.
75292         * sunrpc/auth_unix.c: Likewise.
75293         * sunrpc/authdes_prot.c: Likewise.
75294         * sunrpc/authuxprot.c: Likewise.
75295         * sunrpc/clnt_gen.c: Likewise.
75296         * sunrpc/clnt_perr.c: Likewise.
75297         * sunrpc/clnt_raw.c: Likewise.
75298         * sunrpc/clnt_simp.c: Likewise.
75299         * sunrpc/clnt_tcp.c: Likewise.
75300         * sunrpc/clnt_udp.c: Likewise.
75301         * sunrpc/clnt_unix.c: Likewise.
75302         * sunrpc/des_crypt.c: Likewise.
75303         * sunrpc/des_soft.c: Likewise.
75304         * sunrpc/get_myaddr.c: Likewise.
75305         * sunrpc/key_call.c: Likewise.
75306         * sunrpc/key_prot.c: Likewise.
75307         * sunrpc/netname.c: Likewise.
75308         * sunrpc/pm_getmaps.c: Likewise.
75309         * sunrpc/pm_getport.c: Likewise.
75310         * sunrpc/pmap_clnt.c: Likewise.
75311         * sunrpc/pmap_prot.c: Likewise.
75312         * sunrpc/pmap_prot2.c: Likewise.
75313         * sunrpc/pmap_rmt.c: Likewise.
75314         * sunrpc/publickey.c: Likewise.
75315         * sunrpc/rpc_cmsg.c: Likewise.
75316         * sunrpc/rpc_common.c: Likewise.
75317         * sunrpc/rpc_dtable.c: Likewise.
75318         * sunrpc/rpc_prot.c: Likewise.
75319         * sunrpc/rpc_thread.c: Likewise.
75320         * sunrpc/rtime.c: Likewise.
75321         * sunrpc/svc.c: Likewise.
75322         * sunrpc/svc_auth.c: Likewise.
75323         * sunrpc/svc_authux.c: Likewise.
75324         * sunrpc/svc_raw.c: Likewise.
75325         * sunrpc/svc_run.c: Likewise.
75326         * sunrpc/svc_simple.c: Likewise.
75327         * sunrpc/svc_tcp.c: Likewise.
75328         * sunrpc/svc_udp.c: Likewise.
75329         * sunrpc/svc_unix.c: Likewise.
75330         * sunrpc/svcauth_des.c: Likewise.
75331         * sunrpc/xcrypt.c: Likewise.
75332         * sunrpc/xdr.c: Likewise.
75333         * sunrpc/xdr_array.c: Likewise.
75334         * sunrpc/xdr_float.c: Likewise.
75335         * sunrpc/xdr_intXX_t.c: Likewise.
75336         * sunrpc/xdr_mem.c: Likewise.
75337         * sunrpc/xdr_rec.c: Likewise.
75338         * sunrpc/xdr_ref.c: Likewise.
75339         * sunrpc/xdr_sizeof.c: Likewise.
75340         * sunrpc/xdr_stdio.c: Likewise.
75342 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75344         [BZ #12650]
75345         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75346         * sysdeps/ia64/dl-tls.h: Likewise.
75347         * sysdeps/powerpc/dl-tls.h: Likewise.
75348         * sysdeps/s390/dl-tls.h: Likewise.
75349         * sysdeps/sh/dl-tls.h: Likewise.
75350         * sysdeps/sparc/dl-tls.h: Likewise.
75351         * sysdeps/x86_64/dl-tls.h: Likewise.
75352         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75354 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75356         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75357         rpath element also skip the following colon.
75358         (expand_dynamic_string_token): Add is_path parameter and pass
75359         down to DL_DST_REQUIRED and _dl_dst_substitute.
75360         (decompose_rpath): Call expand_dynamic_string_token with
75361         non-zero is_path.  Ignore empty rpaths.
75362         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75363         with zero is_path.
75365 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75368         Make cancelable.
75370 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75372         [BZ #12655]
75373         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75374         Patch by Filipe David Manana <fdmanana@apache.org>.
75376 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75379         Maintain aligned stack.
75380         (CHECK_RSP): Remove unused macro.
75382 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75384         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75387 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75389         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75391         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75393 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75395         [BZ #12518]
75396         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75397         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75398         * sysdeps/x86_64/memmove.c: New file.
75399         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75400         (memcpy): Renamed to ...
75401         (__new_memcpy): This.
75402         (memcpy): Provide GLIBC_2_14 memcpy.
75403         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75404         (memcpy): Provide GLIBC_2_2_5 memcpy.
75406 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75408         [BZ #12631]
75409         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75411 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75413         * misc/syncfs.c: New file.
75414         * misc/Makefile (routines): Add syncfs.
75415         * posix/unistd.h: Declare syncfs.
75416         * sysdeps/unix/syscalls.list: Add syncfs.
75418 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75420         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75421         open_by_handle_at.
75422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75423         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75427         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75430 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75434         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75440         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75441         sync_file_range.c with -fexceptions.
75442         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75443         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75444         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75445         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75446         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75447         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75449         sync_file_range as cancellation point
75450         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75451         now a wrapper around __call_sync_file_range with cancellation handling.
75452         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75453         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75454         function name to __call_sync_file_range.
75455         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75456         Add call_sync_file_range.
75458 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75461         bits/timex.h.
75463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75465         * iconv/iconv.h: Fix typo in comment.
75466         * io/fcntl.h: Likewise.
75467         * libio/stdio.h: Likewise.
75468         * posix/spawn.h: Likewise.
75469         * posix/unistd.h: Likewise.
75470         * stdlib/stdlib.h: Likewise.
75471         * time/time.h: Likewise.
75472         * wcsmbs/wchar.h: Likewise.
75474         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75475         open_by_handle): Add.
75476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75477         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75478         Augment a few comments.
75479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75483         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75484         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75485         open_by_handle.
75487         * io/fcntl.h (AT_EMPTY_PATH): Define.
75489 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75491         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75492         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75493         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75494         to...
75495         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75496         * Versions.def: Add GLIBC_2.14.
75497         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75498         Export.
75500 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75502         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75503         round counter.
75504         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75506 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75508         [BZ #12597]
75509         * string/test-strncmp.c (do_page_test): New function.
75510         (check2): Likewise.
75511         (test_main): Call check2.
75512         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75514 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75516         [BZ #12587]
75517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75518         Handle cache information in CPU leaf 4.
75519         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75521 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75523         [BZ #12583]
75524         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75525         character representation.
75526         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75528 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75530         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75531         END(__isnan) to END(__isnanf) to match function entry point/label
75532         EALIGN(__isnanf,...).
75534 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75536         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75538 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75540         [BZ #12510]
75541         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75542         copy from the symbol referenced in the relocation to initialize the
75543         used variable.
75544         Patch by Piotr Bury <pbury@goahead.com>.
75545         * elf/Makefile: Add rules to build and tst-unique3.
75546         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75547         * elf/tst-unique3.cc: New file.
75548         * elf/tst-unique3.h: New file.
75549         * elf/tst-unique3lib.cc: New file.
75550         * elf/tst-unique3lib2.cc: New file.
75552         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75554 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75556         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75557         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75558         to _start.
75560 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75562         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75563         to-be-loaded object along a path to loader is ld.so.
75565 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75566             Ulrich Drepper  <drepper@gmail.com>
75568         * sysdeps/x86_64/memset.S: After aligning destination, code
75569         branches to different locations depending on the value of
75570         misalignment, when multiarch is enabled. Fix this.
75572 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75574         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75575         Set _x86_64_preferred_memory_instruction for AMD processsors.
75576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75577         Set bit_Prefer_SSE_for_memop for AMD processors.
75579 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75581         * libio/fmemopen.c (fmemopen): Optimize a bit.
75583 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75585         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75587 2011-03-03  Roland McGrath  <roland@redhat.com>
75589         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75591 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75593         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75594         __bzero_ultra1 instead of __memset_ultra1.
75596 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75597             Ulrich Drepper  <drepper@gmail.com>
75599         [BZ #12509]
75600         * include/link.h (struct link_map): Add l_orig_initfini.
75601         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75602         returning unsuccessfully.
75603         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75604         close of a file loaded at startup, restore the original l_initfini
75605         list.
75606         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75607         list, store the pointer.
75608         * elf/Makefile ($(objpfx)noload-mem): New rule.
75609         (noload-ENV): Define.
75610         (tests): Add $(objpfx)noload-mem.
75611         * elf/noload.c: Include <memcheck.h>.
75612         (main): Call mtrace.  Close all opened handles.
75614 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75616         [BZ #12454]
75617         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75618         dependencies are missing.
75620 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75622         Fix __if_freereq crash: Unlike the generic version which uses free,
75623         Hurd needs munmap.
75624         * sysdeps/mach/hurd/ifreq.h: New file.
75626 2011-01-27  Petr Baudis  <pasky@suse.cz>
75627             Ulrich Drepper  <drepper@gmail.com>
75629         [BZ 12445]#
75630         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75631         to extend_alloca().
75632         * stdio-common/bug23.c: New file.
75633         * stdio-common/Makefile (tests): Add bug23.
75635 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75636             Ulrich Drepper  <drepper@gmail.com>
75638         [BZ #12489]
75639         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75640         before performing relro protection.  At old place add assertion
75641         to make sure nothing changed.
75643 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75644             Glauber de Oliveira Costa  <glommer@gmail.com>
75646         * elf/elf.h: Add new ARM TLS relocs.
75648 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75651         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75652         cast from r3.
75653         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75654         'tests' variable.
75655         * sysdeps/wordsize-64/tst-writev.c: New file.
75657 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75659         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75660         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75661         insns in _dl_start to prevent a TOC reference before relocs are
75662         resolved.
75664 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75666         [BZ #12469]
75667         * Makeconfig: Remove RANLIB definition.
75668         * Makerules: Don't use RANLIB.
75669         * aclocal.m4: Remove ranlib test.
75670         * configure.in: No need to check for ranlib.
75671         * elf/rtld-Rules: Don't use RANLIB.
75673 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75675         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75676         protection macro.
75677         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75678         inclusion protection macro.
75680         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75681         SIGRTMIN and SIGRTMAX and print information in that case only when
75682         SIGRTMIN is defined.
75684 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75686         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75687         arginfo fn returning -1.
75689         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75690         and thousands string is zero terminated.
75692 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75695         sysdeps/unix/sysv/linux/bits/socket.h.
75697 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75699         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75700         (__CPU_COUNT): Remove old macros.
75701         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75702         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75703         (__CPU_ALLOC, __CPU_FREE): Add macros.
75704         (__sched_cpualloc, __sched_cpufree): Add declarations.
75706 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75708         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75709         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75710         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75711         (readdhstai): Return value of addhstaiX call.
75712         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75713         (addgrbyX): Return value returned by cache_addgr.
75714         (readdgrbyname): Return value returned by addgrbyX.
75715         (readdgrbygid): Likewise.
75716         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75717         (addpwbyX): Return value returned by cache_addpw.
75718         (readdpwbyname): Return value returned by addhstbyX.
75719         (readdpwbyuid): Likewise.
75720         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75721         (addservbyX): Return value returned by cache_addserv.
75722         (readdservbyname): Return value returned by addservbyX:
75723         (readdservbyport): Likewise.
75724         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75725         (addhstbyX): Return value returned by cache_addhst.
75726         (readdhstbyname): Return value returned by addhstbyX.
75727         (readdhstbyaddr): Likewise.
75728         (readdhstbynamev6): Likewise.
75729         (readdhstbyaddrv6): Likewise.
75730         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75731         (readdinitgroups): Return value returned by addinitgroupsX.
75732         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75733         (prune_cache): Keep track of timeout value of re-added entries.
75734         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75735         * nscd/nscd.h: Adjust prototypes of readd* functions.
75737 2011-02-04  Roland McGrath  <roland@redhat.com>
75739         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75740         (nis_stats): Likewise.
75741         * nis/nis_modify.c (nis_modify): Likewise.
75742         * nis/nis_remove.c (nis_remove): Likewise.
75743         * nis/nis_add.c (nis_add): Likewise.
75745         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75747         * posix/fnmatch_loop.c: Add some consts.
75749         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75751 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75753         [BZ #12460]
75754         * config.make.in (config-cflags-novzeroupper): Define.
75755         * configure.in: Substitute libc_cv_cc_novzeroupper.
75756         * elf/Makefile (AVX-CFLAGS): Define.
75757         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75758         (CFLAGS-tst-auditmod4a.c): Likewise.
75759         (CFLAGS-tst-auditmod4b.c): Likewise.
75760         (CFLAGS-tst-auditmod6b.c): Likewise.
75761         (CFLAGS-tst-auditmod6c.c): Likewise.
75762         (CFLAGS-tst-auditmod7b.c): Likewise.
75763         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75765 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75767         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75768         function to the callback.
75769         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75771 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75773         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75774         of errno.
75776 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75778         [BZ #11724]
75779         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75780         of constructors.
75781         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75782         of destructors.
75783         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75785         [BZ #11724]
75786         * elf/Makefile: Add rules to build and run new test.
75787         * elf/tst-initorder.c: New file.
75788         * elf/tst-initorder.exp: New file.
75789         * elf/tst-initordera1.c: New file.
75790         * elf/tst-initordera2.c: New file.
75791         * elf/tst-initordera3.c: New file.
75792         * elf/tst-initordera4.c: New file.
75793         * elf/tst-initorderb1.c: New file.
75794         * elf/tst-initorderb2.c: New file.
75795         * elf/tst-order-a1.c: New file.
75796         * elf/tst-order-a2.c: New file.
75797         * elf/tst-order-a3.c: New file.
75798         * elf/tst-order-a4.c: New file.
75799         * elf/tst-order-b1.c: New file.
75800         * elf/tst-order-b2.c: New file.
75801         * elf/tst-order-main.c: New file.
75802         New test case by George Gensure <werkt0@gmail.com>.
75804 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75807         decoding ACE if AI_CANONIDN.
75809 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75811         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75813 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75815         * version.h (RELEASE): Bump for 2.13 release.
75816         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75818         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75821         MADV_NOHUGEPAGE.
75822         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75827         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75829         * posix/getconf.c: Update copyright year.
75830         * catgets/gencat.c: Likewise.
75831         * csu/version.c: Likewise.
75832         * debug/catchsegv.sh: Likewise.
75833         * debug/xtrace.sh: Likewise.
75834         * elf/ldconfig.c: Likewise.
75835         * elf/ldd.bash.in: Likewise.
75836         * elf/sprof.c (print_version): Likewise.
75837         * iconv/iconv_prog.c: Likewise.
75838         * iconv/iconvconfig.c: Likewise.
75839         * locale/programs/locale.c: Likewise.
75840         * locale/programs/localedef.c: Likewise.
75841         * malloc/memusage.sh: Likewise.
75842         * malloc/mtrace.pl: Likewise.
75843         * nscd/nscd.c (print_version): Likewise.
75844         * nss/getent.c: Likewise.
75846         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75847         PF_CAIF, and PF_ALG.
75848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75850 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75852         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75853         (modules-names): Use them.
75854         (ifunc-test-modules, ifunc-pie-tests): Define.
75855         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75856         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75857         (test-extras): Likewise.
75858         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75859         $(compile-command.c).
75860         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75861         (all-built-dso): Define.
75862         (check-textrel.out, check-execstack.out): Depend on it.
75864         * configure.in: Don't override --enable-multi-arch.
75866 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75868         [BZ #6812]
75869         * nscd/hstcache.c (tryagain): Define.
75870         (cache_addhst): Return tryagain not notfound for temporary errors.
75871         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75872         failed.
75874 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75876         [BZ #10563]
75877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75878         to make the syscall.
75879         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75881         [BZ #12378]
75882         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75883         and fall back to matching as normal character if the string ends before
75884         the matching ']' is found.  This is what POSIX requires.
75885         * posix/testfnm.c: Adjust test result.
75886         * posix/globtest.sh: Adjust test result.  Add new test.
75887         * posix/tst-fnmatch.input: Likewise.
75888         * posix/tst-fnmatch2.c: Add new test.
75890 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75892         * elf/Makefile (check-execstack): Revert last change.  Depend on
75893         check-execstack.h.
75894         (check-execstack.h): New target.
75895         (generated): Add check-execstack.h.
75896         * elf/check-execstack.c: Include "check-execstack.h".
75897         (main): Revert last change.
75898         (handle_file): Return zero if GNU_STACK is absent and
75899         DEFAULT_STACK_PERMS doesn't include PF_X.
75901 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75903         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75904         in child fails because the descriptor is already closed.
75905         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75906         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75907         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75909         [BZ #12397]
75910         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75911         syscall.
75913         [BZ #10484]
75914         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75915         temporary buffer used to handle multi lookups locally.
75916         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75918 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75920         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75921         loader is ld.so.
75923 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75925         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75926         alignment for SSE2.
75928 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75930         [BZ #12394]
75931         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75932         characters.  When rounding increased number of integer digits recompute
75933         number of groups.
75934         * stdio-common/tst-grouping.c: New file.
75935         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75937 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75939         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75940         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75942         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75943         void.
75944         * bits/select.h: Likewise.
75946 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75948         * po/ja.po: Update from translation team.
75950 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75952         [BZ #11155]
75953         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75954         implementation just like for lxstat, fxstatat, et al.
75956 2010-12-27  Jim Meyering  <meyering@redhat.com>
75958         [BZ #12348]
75959         * posix/regexec.c (build_trtable): Return failure indication upon
75960         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75962 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75964         [BZ #12201]
75965         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75966         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75967         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75968         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75970         [BZ #12207]
75971         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75973         [BZ #12204]
75974         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75975         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75977 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75979         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75980         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75981         script has SORT_BY_INIT_PRIORITY.
75982         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75983         NO_CTORS_DTORS_SECTIONS is defined.
75984         * elf/soinit.c: Likewise.
75985         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75986         NO_CTORS_DTORS_SECTIONS is defined.
75987         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75988         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75989         * sysdeps/sh/init-first.c: Likewise.
75990         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75992 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75994         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75995         always use the slow path.
75997 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75999         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76000         similar rule which adds the sysdep directories to the header search in
76001         order to pick up the correct platform stackinfo.h.
76002         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76003         perform test if it is, otherwise return successfully without testing.
76004         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76005         DEFAULT_STACK_PERMS define in stackinfo.h.
76006         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76007         defined in stackinfo.h.
76008         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76009         DEFAULT_STACK_PERMS defined in stackinfo.h.
76010         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76011         * sysdeps/ia64/stackinfo.h: Likewise.
76012         * sysdeps/s390/stackinfo.h: Likewise.
76013         * sysdeps/sh/stackinfo.h: Likewise.
76014         * sysdeps/sparc/stackinfo.h: Likewise.
76015         * sysdeps/x86_64/stackinfo.h: Likewise.
76016         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76017         PF_X for powerpc64.  Retain PF_X for powerpc32.
76019 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76021         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76022         accurately.
76023         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76024         GETDENTS_64BIT_ALIGNED.
76026 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76028         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76030 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76032         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76033         _GNU_SOURCE.
76035         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76036         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76037         Remove __restrict.
76038         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76039         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76041 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76043         [BZ #11655]
76044         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76045         are initialized.
76047 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76049         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76051 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76053         * po/it.po: Update from translation team.
76055 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76058         unused codes.
76060 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76062         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76064 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76066         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76067         specially.
76068         (gaih_getanswer_slice): Likewise.
76070 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76074 2010-05-31  Petr Baudis  <pasky@suse.cz>
76076         [BZ #11149]
76077         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76078         silently even in the chroot mode.
76080 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76082         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76083         last patch a bit.  Pretty printing
76085 2010-05-31  Petr Baudis <pasky@suse.cz>
76087         [BZ #10085]
76088         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76089         initialization of skip_initgroups_dyn.
76091 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76093         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76094         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76096 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76098         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76100 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76102         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76103         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76104         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76105         ($(objpfx)tst-fnmatch-mem): New rule.
76106         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76107         * posix/tst-fnmatch.c (main): Call mtrace.
76109 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76112         Support Intel processor model 6 and model 0x2c.
76114 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76117           signed comparison.
76119 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76121         [BZ #12205]
76122         * string/test-strncasecmp.c (check_result): New function.
76123         (do_one_test): Use it.
76124         (check1): New function.
76125         (test_main): Use it.
76126         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76127         Support strcasecmp and strncasecmp.
76129 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76131         [BZ #12194]
76132         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76133         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76135 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76137         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76138         IFUNC support.
76139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76140         memset-x86-64.
76141         * sysdeps/x86_64/multiarch/bzero.S: New file.
76142         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76143         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76144         * sysdeps/x86_64/multiarch/memset.S: New file.
76145         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76147         Set bit_Prefer_SSE_for_memop for Intel processors.
76148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76149         Define.
76150         (index_Prefer_SSE_for_memop): Define.
76151         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76153 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76155         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76156         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76158 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76160         [BZ #12191]
76161         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76162         (__x86_64_raw_data_cache_size_half): Likewise.
76163         (__x86_64_raw_shared_cache_size): Likewise.
76164         (__x86_64_raw_shared_cache_size_half): Likewise.
76166         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76167         (__x86_64_raw_data_cache_size_half): Likewise.
76168         (__x86_64_raw_shared_cache_size): Likewise.
76169         (__x86_64_raw_shared_cache_size_half): Likewise.
76170         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76171         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76172         and __x86_64_raw_shared_cache_size_half.  Round
76173         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76174         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76175         to multiple of 256 bytes.
76177 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76179         [BZ #12167]
76180         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76181         of inacessible symlinks.  Verify result of symlink before returning it.
76182         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76183         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76185 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76187         * math/math.h (isinf): Fix typo in comment.
76189 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76191         * po/da.po: Update from translation team.
76193 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76195         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76196         is added to the list.
76198 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76199             Ulrich Drepper  <drepper@gmail.com>
76201         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76202         the global list here.  Move code to...
76203         (_dl_add_to_namespace_list): ...here.  New function.
76204         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76205         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76206         * elf/dl-load.c (lose): Don't remove the element from the list.
76207         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76208         (_dl_map_object): Likewise.
76210 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76212         [BZ #12159]
76213         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76214         into all bytes of SSE register.
76215         Patch by Richard Li <richardpku@gmail.com>.
76217 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76219         [BZ #12140]
76220         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76221         perturbing.
76223 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76225         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76226         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76227         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76228         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76230         submachine.
76231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76233 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76235         * include/dlfcn.h (__RTLD_SECURE): Define.
76236         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76237         mode & __RTLD_SECURE instead.
76238         (open_path): Rename preloaded parameter to secure.
76239         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76240         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76241         * elf/dl-deps.c (openaux): Likewise.
76242         * elf/rtld.c (struct map_args): Remove is_preloaded.
76243         (map_doit): Don't use it.
76244         (dl_main): Likewise.
76245         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76246         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76248 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76250         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76251         (sysd-rules-targets): Remove duplicates.
76252         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76253         rtld-%.$o dependency.
76255 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76257         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76258         _dl_map_object do it.
76260 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76262         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76263         fast fma builtins, define the macros in the C99 standard.
76264         (FP_FAST_FMAF): Likewise.
76265         (FP_FAST_FMAL): Likewise.
76266         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76268         * bits/mathdef.h: Update copyright year.
76269         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76271 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76273         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76274         builtins, define the macros in the C99 standard.
76275         (FP_FAST_FMAF): Likewise.
76276         (FP_FAST_FMAL): Likewise.
76277         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76278         multiply/add.
76279         (FP_FAST_FMAF): Likewise.
76281 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76283         [BZ #3268]
76284         * math/libm-test.inc (fma_test): Some new testcases.
76285         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76286         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76287         y and infinite z.  Do multiplication by C already in long double.
76288         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76290         y and infinite z.  Do bitwise or of inexact bit into u.d.
76291         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76292         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76293         * sysdeps/i386/fpu/s_fma.S: Removed.
76294         * sysdeps/i386/fpu/s_fmal.S: Removed.
76296 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76298         [BZ #3268]
76299         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76301         computation is not scheduled after fetestexcept.  Fix value
76302         of minimum denormal long double.
76304 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76306         [BZ #3268]
76307         * math/libm-test.inc (fma_test): Add some more tests.
76308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76309         correctly.
76311 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76313         * scripts/data/localplt-s390-linux-gnu.data: New file.
76314         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76316 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76318         [BZ #3268]
76319         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76320         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76321         instead of dbl-64.
76322         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76323         inlines.
76324         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76326         if one of x and y is very large and the other is subnormal.
76327         * sysdeps/s390/fpu/s_fmaf.c: New file.
76328         * sysdeps/s390/fpu/s_fma.c: New file.
76329         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76330         * sysdeps/powerpc/fpu/s_fma.S: New file.
76331         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76332         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76333         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76335 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76337         [BZ #3268]
76338         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76339         fma tests.
76340         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76341         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76342         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76343         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76344         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76345         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76346         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76348 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76350         [BZ #12078]
76351         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76352         * posix/bug-regex31.input: Add test case.
76354 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76356         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76357         * posix/bug-regex31.input: New file.
76359         [BZ #12078]
76360         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76361         (parse_sub_exp): Fix last change, use postorder.
76363         * posix/bug-regex31.c: New file.
76364         * posix/Makefile: Add rules to build and run bug-regex31.
76366         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76368         [BZ #12078]
76369         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76371         [BZ #12108]
76372         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76373         to have entries in sys_siglist.
76375         [BZ #12093]
76376         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76377         be NULL.
76379 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76381         [BZ #3268]
76382         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76383         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76384         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76385         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76386         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76387         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76388         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76389         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76390         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76391         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76392         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76394         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76395         * math/ftestexcept.c (fetestexcept): Likewise.
76396         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76397         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76398         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76399         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76400         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76401         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76404 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76406         [BZ #12107]
76407         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76408         newline.
76410 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76412         * string/bug-strstr1.c: New file.
76413         * string/Makefile: Add rules to build and run bug-strstr1.
76415 2010-10-05  Eric Blake  <eblake@redhat.com>
76417         [BZ #12092]
76418         * string/str-two-way.h (two_way_long_needle): Always clear memory
76419         when skipping input due to the shift table.
76421 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76423         [BZ #12005]
76424         * malloc/mcheck.c: Handle large requests.
76426         [BZ #12077]
76427         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76428         for strncmp and strncasecmp.
76429         * string/stratcliff.c: Add tests for strcmp and strncmp.
76430         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76432 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76434         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76435         __set_fpscr.
76437 2010-09-30  Andreas Jaeger  <aj@suse.de>
76439         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76440         (CGROUP_SUPER_MAGIC): Define.
76441         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76442         Handle btrfs and cgroup file systems.
76443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76444         Likewise.
76446 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76448         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76449         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76451 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76453         [BZ #12067]
76454         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76455         trying to locate the ELF header.
76457 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76459         [BZ #11611]
76460         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76461         Mask out sign-bit copies when constructing f_fsid.
76463 2010-09-24  Petr Baudis <pasky@suse.cz>
76465         * debug/stack_chk_fail_local.c: Add missing licence exception.
76466         * debug/warning-nop.c: Likewise.
76468 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76471         implementing getdents64 using getdents syscall, set d_type if
76472         __ASSUME_GETDENTS32_D_TYPE.
76474 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76476         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76477         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76479 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76481         [BZ #12037]
76482         * posix/unistd.h: Undo change of feature selection for ftruncate from
76483         2010-01-11.
76485 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76487         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76488         detection.
76490 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76493         fanotify_mark.
76494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76496 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76498         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76499         variables after CHECK_SP call.
76500         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76502 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76503             Ulrich Drepper  <drepper@redhat.com>
76505         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76506         re-relocationg ld.so.
76507         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76508         _dl_init_paths call.
76509         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76510         here anymore.
76512 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76514         * resolv/res_init.c (__res_vinit): Count the default server we added.
76516 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76517             Ulrich Drepper  <drepper@redhat.com>
76519         [BZ #11968]
76520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76521         (____longjmp_chk): Use %ebx for saving value across system call.
76522         Add unwind info.
76524 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76526         * manual/Makefile: Don't mix pattern rules with normal rules.
76528 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76530         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76531         operation.
76532         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76533         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76534         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76535         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76537         Likewise.
76539 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76541         [BZ #11979]
76542         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76543         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76545 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76547         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76548         * sysdeps/x86_64/addmul_1.S: Likewise.
76549         * sysdeps/x86_64/lshift.S: Likewise.
76550         * sysdeps/x86_64/mul_1.S: Likewise.
76551         * sysdeps/x86_64/rshift.S: Likewise.
76552         * sysdeps/x86_64/sub_n.S: Likewise.
76553         * sysdeps/x86_64/submul_1.S: Likewise.
76555 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76557         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76558         Define __sched_param instead of SCHED_* and sched_param when
76559         <bits/sched.h> is included with __need_schedparam defined.
76560         * bits/sched.h [__need_schedparam]
76561         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76562         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76563         (__defined_schedparam): Define to 1.
76564         (__sched_param): New structure, identical to sched_param.
76565         (__need_schedparam): Undefine.
76567 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76570         (epoll_create1): Declare.
76572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76574 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76576         [BZ #7066]
76577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76578         shifting retval into place.
76580 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76582         * nis/rpcsvc/nis.h: Update copyright notice.
76583         * nis/rpcsvc/nis.x: Likewise.
76584         * nis/rpcsvc/nis_callback.h: Likewise.
76585         * nis/rpcsvc/nis_callback.x: Likewise.
76586         * nis/rpcsvc/nis_object.x: Likewise.
76587         * nis/rpcsvc/nis_tags.h: Likewise.
76588         * nis/rpcsvc/yp.h: Likewise.
76589         * nis/rpcsvc/yp.x: Likewise.
76590         * nis/rpcsvc/ypupd.h: Likewise.
76591         * nis/yp_xdr.c: Likewise.
76592         * nis/ypupdate_xdr.c: Likewise.
76594         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76595         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76596         (pmap_getport): Use __libc_rpc_getport.
76597         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76598         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76599         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76601 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76604         fanotify_mark.
76606 2010-08-27  Roland McGrath  <roland@redhat.com>
76608         * sysdeps/i386/i686/multiarch/Makefile
76609         (CFLAGS-varshift.c): New variable.
76611 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76613         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76614         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76618         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76620 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76622         * sysdeps/x86_64/strlen.S: Unroll the loop.
76623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76624         strlen-sse2 strlen-sse2-bsf.
76625         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76626         __strlen_no_bsf if bit_Slow_BSF is set.
76627         (__strlen_sse42): Removed.
76628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76629         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76631 2010-08-25  Roland McGrath  <roland@redhat.com>
76633         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76634         * sysdeps/x86_64/multiarch/varshift.c: New file.
76635         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76636         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76637         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76638         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76640 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76643         strlen-sse2 strlen-sse2-bsf.
76644         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76645         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76646         (__strlen_sse2): Removed.
76647         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76650         bit_Slow_BSF for Atom.
76651         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76652         (index_Slow_BSF): Define.
76653         (HAS_SLOW_BSF): Define.
76655 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76657         [BZ #10851]
76658         * resolv/res_init.c (__res_vinit): When no server address at all
76659         is given default to loopback.
76661 2010-08-24  Roland McGrath  <roland@redhat.com>
76663         * configure.in: Remove config-name.h generation.
76664         * configure: Regenerated.
76665         * config-name.in: File removed.
76666         * scripts/config-uname.sh: New file.
76667         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76668         ($(objdir)config-name.h): New target.
76670         * sunrpc/rpc_parse.h: Avoid nested comment.
76672 2010-08-24  Richard Henderson  <rth@redhat.com>
76673             Ulrich Drepper  <drepper@redhat.com>
76674             H.J. Lu  <hongjiu.lu@intel.com>
76676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76678         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76679         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76680         _mm_alignr_epi8 with _mm_loadu_si128.
76681         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76682         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76683         (__m128i_shift_right): Removed.
76684         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76685         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76686         * sysdeps/x86_64/multiarch/varshift.h: New file.
76687         * sysdeps/x86_64/multiarch/varshift.S: New file.
76689 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76691         * configure.in: Move assembler checks to before sysdep dir checking.
76693 2010-08-20  Petr Baudis  <pasky@suse.cz>
76695         * LICENSES: Sync the sunrpc license.
76697 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76699         * sunrpc/auth_des.c: Update copyright notice once again.
76700         * sunrpc/auth_none.c: Likewise.
76701         * sunrpc/auth_unix.c: Likewise.
76702         * sunrpc/authdes_prot.c: Likewise.
76703         * sunrpc/authuxprot.c: Likewise.
76704         * sunrpc/bindrsvprt.c: Likewise.
76705         * sunrpc/clnt_gen.c: Likewise.
76706         * sunrpc/clnt_perr.c: Likewise.
76707         * sunrpc/clnt_raw.c: Likewise.
76708         * sunrpc/clnt_simp.c: Likewise.
76709         * sunrpc/clnt_tcp.c: Likewise.
76710         * sunrpc/clnt_udp.c: Likewise.
76711         * sunrpc/clnt_unix.c: Likewise.
76712         * sunrpc/des_crypt.c: Likewise.
76713         * sunrpc/des_soft.c: Likewise.
76714         * sunrpc/get_myaddr.c: Likewise.
76715         * sunrpc/getrpcport.c: Likewise.
76716         * sunrpc/key_call.c: Likewise.
76717         * sunrpc/key_prot.c: Likewise.
76718         * sunrpc/openchild.c: Likewise.
76719         * sunrpc/pm_getmaps.c: Likewise.
76720         * sunrpc/pm_getport.c: Likewise.
76721         * sunrpc/pmap_clnt.c: Likewise.
76722         * sunrpc/pmap_prot.c: Likewise.
76723         * sunrpc/pmap_prot2.c: Likewise.
76724         * sunrpc/pmap_rmt.c: Likewise.
76725         * sunrpc/rpc/auth.h: Likewise.
76726         * sunrpc/rpc/auth_unix.h: Likewise.
76727         * sunrpc/rpc/clnt.h: Likewise.
76728         * sunrpc/rpc/des_crypt.h: Likewise.
76729         * sunrpc/rpc/key_prot.h: Likewise.
76730         * sunrpc/rpc/netdb.h: Likewise.
76731         * sunrpc/rpc/pmap_clnt.h: Likewise.
76732         * sunrpc/rpc/pmap_prot.h: Likewise.
76733         * sunrpc/rpc/pmap_rmt.h: Likewise.
76734         * sunrpc/rpc/rpc.h: Likewise.
76735         * sunrpc/rpc/rpc_des.h: Likewise.
76736         * sunrpc/rpc/rpc_msg.h: Likewise.
76737         * sunrpc/rpc/svc.h: Likewise.
76738         * sunrpc/rpc/svc_auth.h: Likewise.
76739         * sunrpc/rpc/types.h: Likewise.
76740         * sunrpc/rpc/xdr.h: Likewise.
76741         * sunrpc/rpc_clntout.c: Likewise.
76742         * sunrpc/rpc_cmsg.c: Likewise.
76743         * sunrpc/rpc_common.c: Likewise.
76744         * sunrpc/rpc_cout.c: Likewise.
76745         * sunrpc/rpc_dtable.c: Likewise.
76746         * sunrpc/rpc_hout.c: Likewise.
76747         * sunrpc/rpc_main.c: Likewise.
76748         * sunrpc/rpc_parse.c: Likewise.
76749         * sunrpc/rpc_parse.h: Likewise.
76750         * sunrpc/rpc_prot.c: Likewise.
76751         * sunrpc/rpc_sample.c: Likewise.
76752         * sunrpc/rpc_scan.c: Likewise.
76753         * sunrpc/rpc_scan.h: Likewise.
76754         * sunrpc/rpc_svcout.c: Likewise.
76755         * sunrpc/rpc_tblout.c: Likewise.
76756         * sunrpc/rpc_util.c: Likewise.
76757         * sunrpc/rpc_util.h: Likewise.
76758         * sunrpc/rpcinfo.c: Likewise.
76759         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76760         * sunrpc/rpcsvc/key_prot.x: Likewise.
76761         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76762         * sunrpc/rpcsvc/mount.x: Likewise.
76763         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76764         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76765         * sunrpc/rpcsvc/rex.x: Likewise.
76766         * sunrpc/rpcsvc/rstat.x: Likewise.
76767         * sunrpc/rpcsvc/rusers.x: Likewise.
76768         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76769         * sunrpc/rpcsvc/spray.x: Likewise.
76770         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76771         * sunrpc/rtime.c: Likewise.
76772         * sunrpc/svc.c: Likewise.
76773         * sunrpc/svc_auth.c: Likewise.
76774         * sunrpc/svc_authux.c: Likewise.
76775         * sunrpc/svc_raw.c: Likewise.
76776         * sunrpc/svc_run.c: Likewise.
76777         * sunrpc/svc_simple.c: Likewise.
76778         * sunrpc/svc_tcp.c: Likewise.
76779         * sunrpc/svc_udp.c: Likewise.
76780         * sunrpc/svc_unix.c: Likewise.
76781         * sunrpc/svcauth_des.c: Likewise.
76782         * sunrpc/xcrypt.c: Likewise.
76783         * sunrpc/xdr.c: Likewise.
76784         * sunrpc/xdr_array.c: Likewise.
76785         * sunrpc/xdr_float.c: Likewise.
76786         * sunrpc/xdr_mem.c: Likewise.
76787         * sunrpc/xdr_rec.c: Likewise.
76788         * sunrpc/xdr_ref.c: Likewise.
76789         * sunrpc/xdr_sizeof.c: Likewise.
76790         * sunrpc/xdr_stdio.c: Likewise.
76792         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76793         handling.
76795 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76797         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76799 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76801         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76802         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76803         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76804         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76805         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76806         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76807         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76808         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76810         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76811         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76812         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76813         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76814         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76816 2010-07-26  Anton Blanchard  <anton@samba.org>
76818         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76819         * malloc/arena.c (heap_trim): Likewise.
76821 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76823         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76824         here.  Not...
76825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76826         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76828 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76830         * sysdeps/i386/elf/Makefile: New file.
76832 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76834         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76835         from fanotify_init.
76836         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76839 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76841         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76842         of strncasecmp_l.
76843         * sysdeps/multiarch/strcmp.S: Likewise.
76845 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76847         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76848         strncase_l-nonascii.
76849         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76850         Add strncase_l-ssse3.
76851         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76852         * sysdeps/x86_64/strcmp.S: Likewise.
76853         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76854         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76855         * sysdeps/x86_64/strncase.S: New file.
76856         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76857         * sysdeps/x86_64/strncase_l.S: New file.
76858         * string/Makefile (strop-tests): Add strncasecmp.
76859         * string/test-strncasecmp.c: New file.
76861         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76862         warning.
76864         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76867 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76869         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76871 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76873         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76875         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76877 2010-05-01  Alan Modra  <amodra@gmail.com>
76879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76880         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76881         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76882         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76883         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76884         tidying.  Don't tail-call __sigjmp_save for static lib.
76885         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76886         save location.
76887         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76888         (CALL_MCOUNT): Add eh info, and nop after bl.
76889         (TAIL_CALL_SYSCALL_ERROR): New macro.
76890         (PSEUDO_RET): Use it.
76891         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76892         Correct save location of integer regs and cr.
76893         (_dl_profile_resolve): Correct cr save location.  Delete nops
76894         after bl when SHARED.  Reduce cfi size a little by better
76895         placement of cfi directives.
76896         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76897         make a stack frame.  Instead use parm save area as a temp.
76898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76899         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76901         Don't make a stack frame for parent, use parm save area.
76902         Increase child stack frame to 112 bytes.  Don't save unused reg,
76903         and adjust reg usage.  Set up cfi on error recovery and
76904         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76906         (__makecontext): Add dummy nop after jump to exit.
76907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76908         Use correct parm save area and cr save, reduce stack frame.
76909         Correct cfi for possible PSEUDO_RET frame setup.
76910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76911         Branch to local label emitted by PSEUDO_RET rather than
76912         __syscall_error.
76914 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76916         [BZ #11904]
76917         * locale/programs/locale.c (print_assignment): New function.
76918         (show_locale_vars): Use it.
76920 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76922         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76923         field.
76924         (struct statfs64): Likewise.
76925         (_STATFS_F_FLAGS): Define.
76926         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76927         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76928         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76929         (ST_VALID): Define locally.
76930         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76931         __statvfs_getflags, use the provided value.
76932         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76933         __ASSUME_STATFS_F_FLAGS.
76935         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76937         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76938         Add sys/fanotify.h.
76939         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76940         fanotify_mask for GLIBC_2.13.
76941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76942         fanotify_init and fanotify_mark.
76943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76944         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76946         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76947         Add prlimit.
76948         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76949         prlimit64 for GLIBC_2.13.
76950         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76951         prlimit64.
76952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76953         syscall.
76954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76956         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76957         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76959         add prlimit alias.
76960         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76962         [BZ #11903]
76963         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76964         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76966         * nss/Makefile: Add rules to build and run tst-nss-test1.
76967         * shlib-versions: Add entry for libnss_test1.
76968         * nss/nss_test1.c: New file.
76969         * nss/tst-nss-test1.c: New file.
76971         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76972         (__nss_configure_lookup): Set appropriate entry in
76973         __nss_configure_lookup to true.
76974         * nss/nsswitch.h: Define enum with indeces of databases in
76975         databases and __nss_database_custom arrays.  Declare
76976         __nss_database_custom.
76977         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76978         to avoid using nscd when custom rules are installed.
76979         * nss/getXXbyYY_r.c: Likewise.
76980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76982         * nss/nss_files/files-parse.c: Whitespace fixes.
76984 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76986         [BZ #11883]
76987         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76988         * posix/fnmatch_loop.c: Likewise.
76990 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76992         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76993         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76994         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76995         * Versions.def [GLIBC_2.13]: Add.
76997 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76999         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77000         Also fail if tpwd after pwuid call is NULL.
77002 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77004         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77005         when converting to ms.
77007 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77009         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77010         EOPNOTSUPP errors with ENOTTY.
77011         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77012         EOPNOTSUPP errors with ENOTTY.
77014 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77016         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77017         Add strcasecmp_l-ssse3.
77018         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77019         strcasecmp.
77020         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77022         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77024 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77026         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77028         * string/Makefile (strop-tests): Add strcasecmp.
77029         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77030         strcasecmp_l-nonascii.
77031         (gen-as-const-headers): Add locale-defines.sym.
77032         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77033         * sysdeps/x86_64/strcasecmp.S: New file.
77034         * sysdeps/x86_64/strcasecmp_l.S: New file.
77035         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77036         * sysdeps/x86_64/locale-defines.sym: New file.
77037         * string/test-strcasecmp.c: New file.
77039         * string/test-strcasestr.c: Test both ends of the range of characters.
77040         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77042 2010-07-29  Roland McGrath  <roland@redhat.com>
77044         [BZ #11856]
77045         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77047 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77049         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77050         for ld.so.
77052 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77054         * manual/memory.texi (Malloc Tunable Parameters): Document
77055         M_PERTURB.
77057 2010-07-26  Roland McGrath  <roland@redhat.com>
77059         [BZ #11840]
77060         * configure.in (-fgnu89-inline check): Set and substitute
77061         gnu89_inline, not libc_cv_gnu89_inline.
77062         * configure: Regenerated.
77063         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77065 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77067         * string/test-strnlen.c: New file.
77068         * string/Makefile (strop-tests): Add strnlen.
77069         * string/tester.c (test_strnlen): Add a few more test cases.
77070         * string/tst-strlen.c: Better error reporting.
77072         * sysdeps/x86_64/strnlen.S: New file.
77074 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77076         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77077         lower-latency instructions.
77079 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77081         * string/test-strcasestr.c: New file.
77082         * string/test-strstr.c: New file.
77083         * string/Makefile (strop-tests): Add strstr and strcasestr.
77084         * string/str-two-way.h: Don't undefine MAX.
77085         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77087 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77090         strcasestr-nonascii.
77091         (CFLAGS-strcasestr-nonascii.c): Define.
77092         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77093         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77094         Remove unused attribute.
77096 2010-07-20  Roland McGrath  <roland@redhat.com>
77098         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77099         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77100         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77101         like LD_HWCAP_MASK can disable hwcaps.
77103 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77105         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77107 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77109         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77110         call in strcasestr.
77111         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77112         __strcasestr_sse42_nonascii.
77113         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77114         strcasestr-nonascii.c.
77115         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77117 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77119         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77120         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77121         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77124 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77127         fcntl.
77129 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77131         [BZ #11577]
77132         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77133         dl_signal_cerror.
77135 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77137         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77138         _PC_PIPE_BUF using F_GETPIPE_SZ.
77140 2010-07-05  Roland McGrath  <roland@redhat.com>
77142         * manual/arith.texi (Rounding Functions): Fix rint description
77143         implicit in round description.
77145 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77147         * elf/Makefile: Fix linking for a few tests to make recent linker
77148         happy.
77150 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77152         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77153         $(common-objpfx)libc_nonshared.a.
77155 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77157         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77158         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77159         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77160         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77161         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77163         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77164         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77179         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77180         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77181         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77182         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77183         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77184         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77185         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77186         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77187         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77188         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77189         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77190         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77206 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77208         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77209         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77210         * string/memmove.c (memmove): Renamed to ...
77211         (MEMMOVE): ...this.  Default to memmove.
77212         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77213         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77214         (END_CHK): Define.
77215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77216         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77217         mempcpy-ssse3-back memmove-ssse3-back.
77218         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77221         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77222         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77223         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77224         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77225         * sysdeps/x86_64/multiarch/memmove.c: New file.
77226         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77227         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77228         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77229         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77232         Define.
77233         (index_Fast_Copy_Backward): Define.
77234         (HAS_ARCH_FEATURE): Define.
77235         (HAS_FAST_REP_STRING): Define.
77236         (HAS_FAST_COPY_BACKWARD): Define.
77238 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77240         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77241         Restore proper fallback handling.
77243 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77245         [BZ #11701]
77246         * posix/group_member.c (__group_member): Correct checking loop.
77248         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77249         OOM in getpwuid_r correctly.  Return error number when the caller
77250         should return, otherwise -1.
77251         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77252         call returning > 0 value.
77253         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77255 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77257         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77258         libc_nonshared.a from targets in modules-names.
77260 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77262         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77263         requires it.
77265 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77270         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77272 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77274         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77276 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77278         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77279         and F_GETPIPE_SZ.
77280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77284         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77287 2010-06-14  Roland McGrath  <roland@redhat.com>
77289         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77291 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77293         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77294         __REDIRECT followed by __THROW.
77295         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77296         * posix/getopt.h (getopt): Likewise.
77298 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77300         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77301         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77302         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77303         in AT_FLAGS.
77304         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77305         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77307 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77311 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77313         [BZ #11640]
77314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77315         Properly check family and model.
77317 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77319         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77321 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77323         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77325 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77327         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77328         symbol reference.
77330 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77332         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77333         symbol reference.
77335 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77337         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77338         and internal_recvmmsg.
77339         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77340         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77341         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77342         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77344         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77345         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77346         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77348 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77350         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77352 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77354         POWER7 optimizations.
77355         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77356         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77358 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77360         * version.h: Update for 2.13 development version.
77362 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77364         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77365         exceptions.  Return 0.
77367 2010-05-07  Roland McGrath  <roland@redhat.com>
77369         * elf/ldconfig.c (main): Add a const.
77371 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77373         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77374         (args_options): Add no-idn option.
77375         (ahosts_keys_int): Add idn_flags to ai_flags.
77376         (parse_option): Handle 'i' option to clear idn_flags.
77378         * malloc/malloc.c (_int_free): Possible race in the most recently
77379         added check.  Only act on the data if no current modification
77380         happened.
77382 See ChangeLog.17 for earlier changes.